Files
community-plugins/link-ip-monitor/plugin.toml
T
NilsonlinuxandGitHub af32a36f1c Add nilsonlinux/link-ip-monitor v1.0.0 (#320)
* Add nilsonlinux/link-ip-monitor v1.0.0

* Add nilsonlinux/link-ip-monitor v1.0.0

* Update plugin ID in README.md

* Rename project to link-ip-monitor and update ID

Updated the project name and ID in the README.

* Update plugin ID and command syntax in README
2026-08-09 13:50:32 -04:00

77 lines
2.5 KiB
TOML

id = "nilsonlinux/link-ip-monitor"
name = "Link/IP Monitor"
version = "1.0.0"
plugin_api = 14
author = "Nilsonlinux"
license = "MIT"
icon = "activity"
description = "It pings a list of IPs, hosts, or links at intervals and notifies you when one goes down (or comes back up)."
tags = ["network", "indicator", "bar", "panel", "service"]
dependencies = ["ping"]
# ---------------------------------------------------------------------------
# Plugin settings: shared by ALL entries (service + widget). Edited in
# Settings -> Plugins.
# ---------------------------------------------------------------------------
[[setting]]
key = "interval_seconds"
type = "int"
label_key = "settings.interval_seconds.label"
description_key = "settings.interval_seconds.description"
default = 30
min = 5
max = 3600
[[setting]]
key = "timeout_seconds"
type = "int"
label_key = "settings.timeout_seconds.label"
description_key = "settings.timeout_seconds.description"
default = 1
min = 1
max = 10
[[setting]]
key = "notify_on_recovery"
type = "bool"
label_key = "settings.notify_on_recovery.label"
description_key = "settings.notify_on_recovery.description"
default = true
# ---------------------------------------------------------------------------
# Service: runs in the background, pings hosts, and publishes state
# ---------------------------------------------------------------------------
[[service]]
id = "monitor"
entry = "service.luau"
# ---------------------------------------------------------------------------
# Bar widget: icon with a badge for the number of hosts that are down
# ---------------------------------------------------------------------------
[[widget]]
id = "status"
entry = "widget.luau"
[[widget.setting]]
key = "glyph"
type = "glyph"
label_key = "settings.glyph.label"
description_key = "settings.glyph.description"
default = "activity"
# ---------------------------------------------------------------------------
# Panel: list of hosts with a status pill, opened by clicking the widget
# ---------------------------------------------------------------------------
[[panel]]
id = "panel"
entry = "panel.luau"
width = 320
height = 400
placement = "attached"
position = "auto"
open_near_click = true