Hi there!
I configured a setup to control the availability of Exchange Database, Replication Health of the database and If the Public Folders are mounted or not…
from command line everything works fine as you can see:
[quote] ./check_nrpe -t 20 -c check_replication_health -H 172.20.1.11 OK: All replication tests passed.
./check_nrpe -t 20 -c check_publicfolders_mounted -H 172.20.1.11
OK: Public folders are mounted.
./check_nrpe -t 20 -c check_mailbox_health -H 172.20.1.11
OK: All Mailbox Databases are mounted and healthy.
[/quote]
However in my WebUI it shows:
**UNKNOWN: No handler for that command **
http://img695.imageshack.us/i/xchox.jpg/
My command in commands.cfg looks like this:
# ‘check_nrpe’ command definition
define command {
command_name check_nrpe
command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -c ARG1$
}
My service definitions look like this:
**define service{
use generic-service
host_name s-xch-01
service_description MailBoxHealth
check_command check_nrpe!-t 20 -c check_mailbox_health
}
define service{
use generic-service
host_name s-xch-01
service_description Public Folders Mounted
check_command check_nrpe! -t 20 -c check_publicfolders_mounted
}
define service{
use generic-service
host_name s-xch-01
service_description Replication Health
check_command check_nrpe!-t 20 -c check_replication_health
}**
Any help would be highly appreciated!
Thanks in advance!
Grtz,
Goldie