salt.states.uptime

Monitor Web Server with Uptime

Uptime is an open source remote monitoring application using Node.js, MongoDB, and Twitter Bootstrap.

警告

This state module is beta. It might be changed later to include more or less automation.

注解

This state module requires a pillar to specify the location of your uptime install

uptime:
  application_url: "http://uptime-url.example.org"

Example:

url:
  uptime.monitored
url/sitemap.xml:
  uptime.monitored:
     - polling: 600 # every hour
salt.states.uptime.monitored(name, **params)

Makes sure an URL is monitored by uptime. Checks if URL is already monitored, and if not, adds it.