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
Generated on August 05, 2021 at 04:04:00 UTC.
You are viewing docs for the previous stable release, 3000.9. Switch to docs for the latest stable release, 3003.1, or to a recent doc build from the master branch.
© 2021 SaltStack. All Rights Reserved, SaltStack Inc. | Privacy Policy