Nagios: monitoring xenapp services
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 Code:
define service{ 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. |
You don't mention setup of nrpe.cfg on the target servername but since it works from command line it seems you did configure that?
In looking at your command definition and your command line I notice in the former you use $HOSTADDRESS$ whereas in the latter you use servername which I assume to mean you're using the hostname rather than the IP? If so it may be that your issue is in your hosts.cfg - perhaps you have the wrong IP assigned? What happens at command line if you use the IP seen in hosts.cfg for the target server? |
You were right about a wrong IP-address. We use a seperate host.cfg file for each server. I copied one and used it as a templete for the citrix server. I changed everything (hostname, services, etc) but forgot to change the IP-address. Thanks for your help.
|
hi,
What else xenapps things (and how) do you monitor in nagios? thanks for your help cheers franek |
The Xenapp services are the only things we monitor.
|
All times are GMT -5. The time now is 10:31 AM. |