Add two new nagios checks for the FMN "Producers"

This commit is contained in:
Ralph Bean 2014-10-02 13:42:27 +00:00
parent ad9673cbae
commit b3a97a1c91
5 changed files with 91 additions and 0 deletions

View file

@ -410,3 +410,18 @@ define service {
check_command check_by_nrpe!check_fedmsg_cbacklog_bugzilla2fedmsg
use defaulttemplate
}
define service {
host_name notifs-backend01
service_description Did the FMN digest producer run?
check_command check_by_nrpe!check_fedmsg_fmn_digest_last_ran
use defaulttemplate
}
define service {
host_name notifs-backend01
service_description Did the FMN confirmation producer run?
check_command check_by_nrpe!check_fedmsg_fmn_confirm_last_ran
use defaulttemplate
}

View file

@ -308,6 +308,9 @@ command[check_fedmsg_cbacklog_badges_backend]=/usr/lib64/nagios/plugins/check_fe
command[check_fedmsg_cbacklog_notifs_backend]=/usr/lib64/nagios/plugins/check_fedmsg_consumer_backlog.py fedmsg-hub FMNConsumer 10 50
command[check_fedmsg_cbacklog_bugzilla2fedmsg]=/usr/lib64/nagios/plugins/check_fedmsg_consumer_backlog.py moksha-hub BugzillaConsumer 10 100
command[check_fedmsg_fmn_digest_last_ran]={{libdir}}/nagios/plugins/check_fedmsg_producer_last_ran.py fedmsg-hub DigestProducer 30 300
command[check_fedmsg_fmn_confirm_last_ran]={{libdir}}/nagios/plugins/check_fedmsg_producer_last_ran.py fedmsg-hub ConfirmationProducer 30 300
# The following are 'action commands' where by an actual action is performed
# like restarting httpd