{% if igor.plugins.exists('actions') %} {% set actionPlugin = igor.plugins._getPluginObject(pluginName="actions", token=callerToken) %} {% set message = "" %} {% if action == "add" %} {% set action = {} %} {% set url = "/plugin/" + pluginName + "/script/get?name=" + name %} {% set url = url + (("&remoteHost=" + remoteHost) if remoteHost else "") %} {% set description = {'url' : url, 'representing' : 'services/' + name, '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 %}
Service name Interval Command OP
{{actionDescr.representing}} {{actionDescr.interval}} {{actionDescr.url}} Delete this action

Install new {{pluginName}} service watcher

Install a watcher for Apple Time Machine backups (using the tmutil utility). Will report last backup time in status/services/name and indirectly in systemHealth.

Service name: (how you call this backup service. letters/digits/hyphen/dot only)
Host: (leave empty for Igor host. If non-empty must be accessible with ssh from Igor machine)
Interval: (how often to check, in seconds)

{% if returnTo %}

Return to {{returnTo}}

{% endif %}

Return to Igor homepage