{% if igor.plugins.exists('actions') %} {% set actionPlugin = igor.plugins._getPluginObject(pluginName="actions", token=callerToken) %} {% set message = "" %} {% if action == "add" %} {% set action = {} %} {% set actionUrl = "/plugin/" + pluginName + "?name=" + name %} {% set actionUrl = actionUrl + (("&service=" + service) if service else "") %} {% set actionUrl = actionUrl + (("&remoteHost=" + remoteHost) if remoteHost else "") %} {% set actionUrl = actionUrl + (("&url=" + url) if url else "") %} {% set actionUrl = actionUrl + (("&ip=" + ip) if ip else "") %} {% set actionUrl = actionUrl + (("&port=" + port) if port else "") %} {% set actionUrl = actionUrl + (("&timeout=" + timeout) if timeout else "") %} {% set description = {'url' : actionUrl, 'aggregate' : True, 'creator' : pluginName, 'interval' : interval} %} {% set result = actionPlugin._post(description, callerToken) %} {% set message = result.message %} {% endif %} {% set myActions = actionPlugin._list(creator=pluginName, callerToken=callerToken) %} {% set message = message or myActions.message %} {% else %} {% set message = "actions plugin must be installed to be able to list and install services to watch" %} {% endif %}

Setup {{pluginName}}

{% if message %}

Note: {{message}}

{% endif %}

Installed {{pluginName}} service actions

{% for xpath, actionDescr in myActions.items() %} {% endfor %}
Interval Command OP
{{actionDescr.interval}} {{actionDescr.url}} Delete this action

Install new {{pluginName}} web service watcher

Install a watcher for a web-based service that will report availability in status/services/name and indirectly in systemHealth. URL can incorporate Igor database entries using Attribute Value Template constructs.

Name: (name of this service)
Report path: (defaults to services/name, change for watching other things like sensors)
URL: (URL to contact)
Interval: (how often to check, in seconds)

Install new {{pluginName}} TCP/IP service watcher

Install a watcher that tries to connect to a given TCP port on a given host. Will report availability in status/services/name and indirectly in systemHealth. This is handy for testing availability of things like printers, ssh servers, etc.

Name: (name of this service)
Report path: (defaults to services/name, change for watching other things like sensors)
Host: (full hostname or IP address)
Port: (TCP port number)
Timeout: (How long to try contacting the service before giving up. Default 5 seconds)
Interval: (how often to check, in seconds)

Suggested standard watchers

Internet Router Health

Name: (name of this service)
Host: (IP address (or full local hostname) of your internet router)
Port: (TCP port number)
Interval: (how often to check, in seconds)

Internet Connection Health

Name: (name of this service)
Host: (full hostname (or IP address) of a machine on the internet that is always up)
Interval: (how often to check, in seconds)

Igor Web Interface Health

Name:
Report path:
URL:
Interval: (how often to check, in seconds)

{% if returnTo %}

Return to {{returnTo}}

{% endif %}

Return to Igor homepage