Try monitoring memcached proc with nagios.
This commit is contained in:
parent
24702b7569
commit
92d3d822ba
2 changed files with 13 additions and 0 deletions
12
roles/nagios_server/files/nagios/services/memcached.cfg
Normal file
12
roles/nagios_server/files/nagios/services/memcached.cfg
Normal file
|
@ -0,0 +1,12 @@
|
|||
define service {
|
||||
host_name memcached01
|
||||
service_description Check memcached daemon
|
||||
check_command check_by_nrpe!check_memcache
|
||||
use defaulttemplate
|
||||
}
|
||||
define service {
|
||||
host_name memcached02
|
||||
service_description Check memcached daemon
|
||||
check_command check_by_nrpe!check_memcache
|
||||
use defaulttemplate
|
||||
}
|
|
@ -237,6 +237,7 @@ command[check_fcomm_cache_worker_proc]=/usr/lib64/nagios/plugins/check_procs -c
|
|||
command[check_fcomm_queue]=/usr/lib64/nagios/plugins/check_fcomm_queue
|
||||
command[check_redis_proc]=/usr/lib64/nagios/plugins/check_procs -c 1:1 -C 'redis-server' -u redis
|
||||
command[check_openvpn_link]=/usr/lib64/nagios/plugins/check_ping -H 192.168.1.58 -w 375.0,20% -c 500,60%
|
||||
command[check_memcache]=/usr/lib64/nagios/plugins/check_procs -c 1:1 -a '/usr/bin/memcached' -u memcached
|
||||
|
||||
# The following are fedmsg/datanommer checks to be run on busgateway01.
|
||||
# They check for the time since the latest message in any particular category.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue