This will attempt to call the daemon's stats command which, if broken, might hung and cause nrpe to time out. We want that, as it will give us a clue to what might be causing some other app to fail.
24 lines
892 B
INI
24 lines
892 B
INI
define service {
|
|
host_name memcached01
|
|
service_description Check for the presence of the memcached daemon
|
|
check_command check_by_nrpe!check_memcache
|
|
use defaulttemplate
|
|
}
|
|
define service {
|
|
host_name memcached02
|
|
service_description Check for the presence of the memcached daemon
|
|
check_command check_by_nrpe!check_memcache
|
|
use defaulttemplate
|
|
}
|
|
define service {
|
|
host_name memcached01
|
|
service_description Check for connectivity to the memcached daemon
|
|
check_command check_by_nrpe!check_memcache_connect
|
|
use defaulttemplate
|
|
}
|
|
define service {
|
|
host_name memcached02
|
|
service_description Check for connectivity to the memcached daemon
|
|
check_command check_by_nrpe!check_memcache_connect
|
|
use defaulttemplate
|
|
}
|