From 3d5296bb4f65c5a0620e5508d868b13ef7314430 Mon Sep 17 00:00:00 2001 From: Ralph Bean Date: Thu, 7 May 2015 19:01:37 +0000 Subject: [PATCH] Add a datanommer+nagios check for the new faf/abrt messages. --- .../nagios_client/templates/check_datanommer_history.cfg.j2 | 1 + roles/nagios_server/files/nagios/services/fedmsg.cfg | 6 ++++++ 2 files changed, 7 insertions(+) diff --git a/roles/nagios_client/templates/check_datanommer_history.cfg.j2 b/roles/nagios_client/templates/check_datanommer_history.cfg.j2 index ca7acd0610..8ce845b48c 100644 --- a/roles/nagios_client/templates/check_datanommer_history.cfg.j2 +++ b/roles/nagios_client/templates/check_datanommer_history.cfg.j2 @@ -37,6 +37,7 @@ command[check_datanommer_fmn]={{libdir}}/nagios/plugins/check_datanommer_timesin command[check_datanommer_anitya]={{libdir}}/nagios/plugins/check_datanommer_timesince.py anitya 604800 1814400 command[check_datanommer_fedimg]={{libdir}}/nagios/plugins/check_datanommer_timesince.py fedimg 259200 604800 command[check_datanommer_hotness]={{libdir}}/nagios/plugins/check_datanommer_timesince.py hotness 604800 1814400 +command[check_datanommer_faf]={{libdir}}/nagios/plugins/check_datanommer_timesince.py faf 86400 259200 # 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 diff --git a/roles/nagios_server/files/nagios/services/fedmsg.cfg b/roles/nagios_server/files/nagios/services/fedmsg.cfg index feedd0e348..4cddece00b 100644 --- a/roles/nagios_server/files/nagios/services/fedmsg.cfg +++ b/roles/nagios_server/files/nagios/services/fedmsg.cfg @@ -212,6 +212,12 @@ define service { check_command check_by_nrpe!check_datanommer_hotness use defaulttemplate } +define service { + host_name busgateway01 + service_description Check datanommer for recent faf messages + check_command check_by_nrpe!check_datanommer_faf + use defaulttemplate +} # This one is retired since it times out all the time. Too few messages. #define service {