Only error if the twoweek compose didn't happen for two weeks

Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
This commit is contained in:
Patrick Uiterwijk 2016-02-19 09:40:22 +00:00
parent 016f04c30d
commit 9daab76bc6
2 changed files with 2 additions and 2 deletions

View file

@ -40,7 +40,7 @@ command[check_datanommer_hotness]={{libdir}}/nagios/plugins/check_datanommer_tim
command[check_datanommer_faf]={{libdir}}/nagios/plugins/check_datanommer_timesince.py faf 86400 259200 command[check_datanommer_faf]={{libdir}}/nagios/plugins/check_datanommer_timesince.py faf 86400 259200
command[check_datanommer_koschei]={{libdir}}/nagios/plugins/check_datanommer_timesince.py koschei 86400 604800 command[check_datanommer_koschei]={{libdir}}/nagios/plugins/check_datanommer_timesince.py koschei 86400 604800
command[check_datanommer_autocloud]={{libdir}}/nagios/plugins/check_datanommer_timesince.py autocloud 259200 1814400 command[check_datanommer_autocloud]={{libdir}}/nagios/plugins/check_datanommer_timesince.py autocloud 259200 1814400
command[check_datanommer_twoweekatomic]=/usr/lib64/nagios/plugins/check_datanommer_timesince.py org.fedoraproject.prod.releng.atomic.twoweek.complete 172800 345600 command[check_datanommer_twoweekatomic]=/usr/lib64/nagios/plugins/check_datanommer_timesince.py org.fedoraproject.prod.releng.atomic.twoweek.complete 1296000 1382400
# This one is retired since it times out all the time. Too few messages. # This one is retired since it times out all the time. Too few messages.
#command[check_datanommer_nuancier]={{libdir}}/nagios/plugins/check_datanommer_timesince.py nuancier 23652000 31536000 #command[check_datanommer_nuancier]={{libdir}}/nagios/plugins/check_datanommer_timesince.py nuancier 23652000 31536000

View file

@ -318,7 +318,7 @@ define service {
} }
define service { define service {
host_name busgateway01 host_name busgateway01
service_description Check datanommer for recent compose service_description Check datanommer for recent atomic compose
check_command check_by_nrpe!check_datanommer_twoweekatomic check_command check_by_nrpe!check_datanommer_twoweekatomic
use defaulttemplate use defaulttemplate
} }