Limit nagios check_procs process names to 16 chars

Top utility truncates long process names (eg. koschei-scheduler is
displayed as "koschei-schedul") and I think Nagios expects this too.
This commit is contained in:
Mikolaj Izdebski 2015-07-09 22:51:58 +00:00
parent 23f3174810
commit 2ca1f29c58
3 changed files with 4 additions and 4 deletions

View file

@ -1 +1 @@
command[check_koschei_resolver_proc]={{ libdir }}/nagios/plugins/check_procs -s RSD -u koschei -C koschei-resolver -c 1:1
command[check_koschei_resolver_proc]={{ libdir }}/nagios/plugins/check_procs -s RSD -u koschei -C koschei-resolve -c 1:1

View file

@ -1 +1 @@
command[check_koschei_scheduler_proc]={{ libdir }}/nagios/plugins/check_procs -s RSD -u koschei -C koschei-scheduler -c 1:1
command[check_koschei_scheduler_proc]={{ libdir }}/nagios/plugins/check_procs -s RSD -u koschei -C koschei-schedul -c 1:1

View file

@ -240,8 +240,8 @@ command[check_openvpn_link]=/usr/lib64/nagios/plugins/check_ping -H 192.168.1.58
command[check_memcache]=/usr/lib64/nagios/plugins/check_procs -c 1:1 -a '/usr/bin/memcached' -u memcached
command[check_memcache_connect]=/usr/lib64/nagios/plugins/check_memcache_connect
command[check_koschei_polling_proc]=/usr/lib64/nagios/plugins/check_procs -s RSD -u koschei -C koschei-polling -c 1:1
command[check_koschei_resolver_proc]=/usr/lib64/nagios/plugins/check_procs -s RSD -u koschei -C koschei-resolver -c 1:1
command[check_koschei_scheduler_proc]=/usr/lib64/nagios/plugins/check_procs -s RSD -u koschei -C koschei-scheduler -c 1:1
command[check_koschei_resolver_proc]=/usr/lib64/nagios/plugins/check_procs -s RSD -u koschei -C koschei-resolve -c 1:1
command[check_koschei_scheduler_proc]=/usr/lib64/nagios/plugins/check_procs -s RSD -u koschei -C koschei-schedul -c 1:1
command[check_koschei_watcher_proc]=/usr/lib64/nagios/plugins/check_procs -s RSD -u koschei -C koschei-watcher -c 1:1
# The following are fedmsg/datanommer checks to be run on busgateway01.