diff options
author | Christian Hesse <mail@eworm.de> | 2020-07-18 00:01:51 +0200 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2020-07-18 00:01:51 +0200 |
commit | 1bac1b4d3d91c366842437cc477274b7c7d40d3f (patch) | |
tree | bb9f0894646081841b5890ab3f413c8d5a096413 /netwatch-notify | |
parent | b27d875111271743be939368935ab28d93eae042 (diff) |
netwatch-notify: ignore disabled hosts
Diffstat (limited to 'netwatch-notify')
-rw-r--r-- | netwatch-notify | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/netwatch-notify b/netwatch-notify index 0f464a9..898ca99 100644 --- a/netwatch-notify +++ b/netwatch-notify @@ -17,7 +17,7 @@ :set NetwatchNotify [ :toarray "" ]; } -:foreach Host in=[ / tool netwatch find where comment~"^notify," ] do={ +:foreach Host in=[ / tool netwatch find where comment~"^notify," disabled=no ] do={ :local HostVal [ / tool netwatch get $Host ]; :local HostInfo [ $ParseKeyValueStore ($HostVal->"comment") ]; :local HostName ($HostInfo->"hostname"); |