Hi,
We are using Nagios to monitor our environment. One of the things we want to monitor is the status of the services in use by xenapp.
In the commands.cfg i made the following command definition:
Code:
# 'check_local_service' command definition
define command{
command_name check_local_service
command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -c CheckServiceState -a ShowAll $ARG1$
}
Inside the cfg file for the xenapp servers the following entry is made for each xenapp service to be monitored:
Code:
define service{
use generic-service
host_name servername
service_description Citrix-Active-Sync
check_command check_local_service!ctxactivesync
}
Nagios is showing no errors after restarting it, but when i open the Nagios webpage and select services, the status information for all xenapp services states that the xenapp services could not be found (
Citrix-Active-Sync CRITICAL 07-14-2010 14:17:00 0d 0h 20m 38s 3/3 CRITICAL: ctxactivesync: not found (critical))
When i run the command defined in de command definition by hand everything works.
./check_nrpe -H servername -c CheckServiceState -a ShowAll ctxactivesync
OK: ctxactivesync: started
I looked over the configuration many times, but i fail to see why the xenapp services are not found.
Any help will be appreciated.
BTW: the same method is used without any problem to monitor backupexec services.