salt.modules.uptime.
check_exists
(name)¶Check if a given URL is in being monitored by uptime
CLI Example:
salt '*' uptime.check_exists http://example.org
salt.modules.uptime.
checks_list
()¶List URL checked by uptime
CLI Example:
salt '*' uptime.checks_list
salt.modules.uptime.
create
(name, **params)¶Create a check on a given URL.
Additional parameters can be used and are passed to API (for example interval, maxTime, etc). See the documentation https://github.com/fzaninotto/uptime for a full list of the parameters.
CLI Example:
salt '*' uptime.create http://example.org
salt.modules.uptime.
delete
(name)¶Delete a check on a given URL
CLI Example:
salt '*' uptime.delete http://example.org