mirror of
https://github.com/eworm-de/routeros-scripts.git
synced 2024-05-11 05:55:19 +00:00
doc/netwatch-notify: tips & tricks: one of several hosts
This commit is contained in:
@ -54,6 +54,18 @@ threshould by one.
|
|||||||
|
|
||||||
Also notification settings are required for e-mail and telegram.
|
Also notification settings are required for e-mail and telegram.
|
||||||
|
|
||||||
|
Tips & Tricks
|
||||||
|
-------------
|
||||||
|
|
||||||
|
### One of several hosts
|
||||||
|
|
||||||
|
Sometimes it is sufficient if one of a number of hosts is available. You can
|
||||||
|
make `netwatch-notify` check for that by adding several items with same
|
||||||
|
`hostname`. Note that `count` has to be multiplied to keep the actual time.
|
||||||
|
|
||||||
|
/ tool netwatch add comment="notify, hostname=service, count=10" host=10.0.0.10;
|
||||||
|
/ tool netwatch add comment="notify, hostname=service, count=10" host=10.0.0.20;
|
||||||
|
|
||||||
---
|
---
|
||||||
[◀ Go back to main README](../README.md)
|
[◀ Go back to main README](../README.md)
|
||||||
[▲ Go back to top](#top)
|
[▲ Go back to top](#top)
|
||||||
|
Reference in New Issue
Block a user