|
|
@ -0,0 +1,43 @@ |
|
|
|
## osem_notify watch all |
|
|
|
|
|
|
|
watch all boxes registered on the map |
|
|
|
|
|
|
|
### Synopsis |
|
|
|
|
|
|
|
watch all boxes registered on the map |
|
|
|
|
|
|
|
``` |
|
|
|
osem_notify watch all [flags] |
|
|
|
``` |
|
|
|
|
|
|
|
### Options |
|
|
|
|
|
|
|
``` |
|
|
|
-h, --help help for all |
|
|
|
``` |
|
|
|
|
|
|
|
### Options inherited from parent commands |
|
|
|
|
|
|
|
``` |
|
|
|
-a, --api string openSenseMap API to query against (default "https://api.opensensemap.org") |
|
|
|
-c, --config string path to config file (default $HOME/.osem_notify.yml) |
|
|
|
-d, --debug enable verbose logging |
|
|
|
-i, --interval int interval to run checks in minutes (default 30) |
|
|
|
-l, --logformat string log format, can be plain or json (default "plain") |
|
|
|
--no-cache send all notifications, ignoring results from previous runs. also don't update the cache. |
|
|
|
-n, --notify string If set, will send out notifications for the specified type of check result, |
|
|
|
otherwise results are printed to stdout only. |
|
|
|
Allowed values are "all", "error", "ok". |
|
|
|
You might want to run 'osem_notify debug notifications' first to verify everything works. |
|
|
|
|
|
|
|
Notifications for failing checks are sent only once, and then cached until the issue got |
|
|
|
resolved, unless --no-cache is set. |
|
|
|
To clear the cache, run 'osem_notify debug cache --clear'. |
|
|
|
|
|
|
|
``` |
|
|
|
|
|
|
|
### SEE ALSO |
|
|
|
|
|
|
|
* [osem_notify watch](osem_notify_watch.md) - Watch boxes for events at an interval |
|
|
|
|
|
|
|
###### Auto generated by spf13/cobra on 10-Feb-2019 |