Monitor ostree summary on proxies

Signed-off-by: Patrick Uiterwijk <patrick@puiterwijk.org>
This commit is contained in:
Patrick Uiterwijk 2019-01-21 16:57:26 +01:00
parent d1de311ca5
commit 18b0acc8f3
2 changed files with 10 additions and 0 deletions

View file

@ -1 +1,2 @@
command[check_ticketkey_age]={{ libdir }}/nagios/plugins/check_file_age -w 3600 -c 7200 -f /etc/httpd/ticketkey_{{env}}.tkey
command[check_ostree_summary_file_age]=/usr/lib64/nagios/plugins/check_file_age -w 1800 -c 3600 /srv/web/ostree/summary

View file

@ -25,6 +25,15 @@ define service {
notification_interval 130
}
define service {
hostgroup_name proxies
service_description Check ostree summary age
check_command check_by_nrpe!check_ostree_summary_file_age
use defaulttemplate
check_interval 120
notification_interval 130
}
define service {
host_name log01.phx2.fedoraproject.org
service_description Check Merged Log