~cjwatson/charms/trusty/turnip/allow-rsync

« back to all changes in this revision

Viewing changes to templates/turnip-nrpe.j2

  • Committer: Colin Watson
  • Date: 2015-04-27 01:59:44 UTC
  • Revision ID: cjwatson@canonical.com-20150427015944-1bk7c21nxo9ncue2
Add simple end-to-end Nagios checks: for now, these just check for a master reference in a list of configured repositories.

Show diffs side-by-side

added added

removed removed

Lines of Context:
8
8
command[check_turnip_pack_frontend]=/usr/lib/nagios/plugins/check_tcp -H localhost -p {{ port_pack_frontend }}
9
9
command[check_turnip_smart_http]=/usr/lib/nagios/plugins/check_http -H localhost -p {{ port_smart_http }} -j OPTIONS
10
10
command[check_turnip_smart_ssh]=/usr/lib/nagios/plugins/check_ssh -H localhost {{ port_smart_ssh }}
 
11
 
 
12
# end-to-end checks
 
13
{% for url in nagios_e2e_urls.split() %}
 
14
command[check_turnip_git_refs_{{ loop.index }}]=/usr/local/lib/nagios/plugins/check_git_refs {{ url }}
 
15
{% endfor %}