This will add minimal monitoring for repospanner on pkgs01.stg. This only says it is running or not.

This commit is contained in:
Stephen Smoogen 2018-12-17 15:44:31 +00:00
parent ae5ab55b20
commit 3bbc0031f4
3 changed files with 9 additions and 0 deletions

View file

@ -129,6 +129,7 @@
- check_fedmsg_gateway_proc.cfg - check_fedmsg_gateway_proc.cfg
- check_fedmsg_composer_proc.cfg - check_fedmsg_composer_proc.cfg
- check_redis_proc.cfg - check_redis_proc.cfg
- check_repospanner.cfg
- check_autocloud_proc.cfg - check_autocloud_proc.cfg
- check_fedmsg_consumers.cfg - check_fedmsg_consumers.cfg
- check_supybot_fedmsg_plugin.cfg - check_supybot_fedmsg_plugin.cfg

View file

@ -0,0 +1 @@
command[check_repospanner_proc]={{ libdir }}/nagios/plugins/check_procs -c 1:1 -C 'repospanner' -u root

View file

@ -0,0 +1,7 @@
# BEGIN, check for the existance of processes
define service {
host_name pkgs01.stg.phx2.fedoraproject.org
service_description Check that repospanner is running
check_command check_by_nrpe!check_repospanner_proc
use defaulttemplate
}