Hi guys<br><br>I've been searching forums/lists for some causes of the following error that are not related to duplicate nagios instances. However, I'm stuck. All cases where a resolution was reported were caused by multiple processes running but this is not the case here.<br>
<br>I'm using <a href="http://check_vmware.pl">check_vmware.pl</a> to check the status of my vSphere controller and the ESX hosts it manages. It runs fine on the CLI as the user nagios, and prints information in the proper nagios format. However, the service check in the CGI is always 'PENDING'. I force a check and it does nothing. Further more, I modified the .pl to log to a file when it's executed and nagios is not even trying to execute the script. All other service checks operate normally.<br>
<br>Thanks in advance.<br><br>nagios -V ==><br>Nagios 2.12<br>Copyright (c) 1999-2007 Ethan Galstad (<a href="http://www.nagios.org">http://www.nagios.org</a>)<br>Last Modified: 05-19-2008<br>License: GPL<br><br>nagios.log ==><br>
[1299591548] Warning: The check of service 'VMware Host Current Datastore Usage' on host '<a href="http://vds-controller.xxx.com">vds-controller.xxx.com</a>' looks like it was orphaned (results never came back). I'm scheduling an immediate check of the service...<br>
[1299591548] Warning: The check of service 'VMware Host Current Memory Usage' on host '<a href="http://vds-controller.xxx.com">vds-controller.xxx.com</a>' looks like it was orphaned (results never came back). I'm scheduling an immediate check of the service...<br>
[1299591548] Warning: The check of service 'VMware vCenter Cluster Status' on host '<a href="http://vds-controller.xxx.com">vds-controller.xxx.com</a>' looks like it was orphaned (results never came back). I'm scheduling an immediate check of the service...<br>
[1299591668] Warning: The check of service 'VMware Host Current CPU Usage' on host '<a href="http://vds-controller.xxx.com">vds-controller.xxx.com</a>' looks like it was orphaned (results never came back). I'm scheduling an immediate check of the service...<br>
<br>command definition ==><br># 'check_vmware_host' command definition<br>define command {<br> command_name check_vmware_host<br> command_line $USER1$/<a href="http://check_vmware.pl">check_vmware.pl</a> --config=$USER1$/$ARG1$ --host=$HOSTADDRESS$ --report=$ARG2$ --mode=nagios --warn=$ARG3$ --crit=$ARG4$ $ARG5$ $ARG6$ $ARG7$ $ARG8$<br>
}<br><br>service definition ==><br># Configuration file for <a href="http://vds-controller.xxx.com">vds-controller.xxx.com</a><br><br>define host {<br> use generic-host <br> host_name <a href="http://vds-controller.xxx.com">vds-controller.xxx.com</a><br>
alias <a href="http://vds-controller.xxx.com">vds-controller.xxx.com</a><br> address x.x.x.x<br> check_command check-host-alive<br> max_check_attempts 10 <br>
notification_interval 120 <br> notification_period 24x7 <br> notification_options d,r <br> contact_groups admins <br>}<br><br>define service {<br>
use generic-service<br> host_name <a href="http://vds-controller.xxx.com">vds-controller.xxx.com</a><br> service_description PING<br> is_volatile 0<br>
check_period 24x7<br> max_check_attempts 4<br> normal_check_interval 5<br> retry_check_interval 1<br> contact_groups admins<br>
notification_options w,u,c,r<br> notification_interval 300<br> notification_period 24x7<br> check_command check_ping!200.0,20%!500.0,60%<br>}<br>
<br>define service {<br> host_name <a href="http://vds-controller.xxx.com">vds-controller.xxx.com</a><br> service_description VMware Host Current CPU Usage<br> is_volatile 0<br>
check_period 24x7<br> max_check_attempts 4 <br> normal_check_interval 5 <br> retry_check_interval 1 <br> contact_groups admins <br>
notification_options w,u,c,r<br> notification_interval 300<br> notification_period 24x7<br> check_command check_vmware_host!check_vmware_config_vcenter01!cpu!85!95<br>
register 1<br>}<br><br>define service {<br> host_name <a href="http://vds-controller.xxx.com">vds-controller.xxx.com</a><br> service_description VMware Host Current Datastore Usage<br>
is_volatile 0<br> check_period 24x7<br> max_check_attempts 4 <br> normal_check_interval 5 <br> retry_check_interval 1 <br>
contact_groups admins <br> notification_options w,u,c,r<br> notification_interval 300<br> notification_period 24x7<br> check_command check_vmware_host!check_vmware_config_vcenter01!disk!75!85<br>
register 0<br>}<br><br>define service {<br> host_name <a href="http://vds-controller.xxx.com">vds-controller.xxx.com</a><br> service_description VMware Host Current Memory Usage<br>
is_volatile 0<br> check_period 24x7<br> max_check_attempts 4 <br> normal_check_interval 5 <br> retry_check_interval 1 <br>
contact_groups admins <br> notification_options w,u,c,r<br> notification_interval 300<br> notification_period 24x7<br> check_command check_vmware_host!check_vmware_config_vcenter01!memory!85!95<br>
register 0<br>}<br><br>define service {<br> host_name <a href="http://vds-controller.xxx.com">vds-controller.xxx.com</a><br> service_description VMware vCenter Cluster Status<br>
is_volatile 0<br> check_period 24x7<br> max_check_attempts 4 <br> normal_check_interval 5 <br> retry_check_interval 1 <br>
contact_groups admins <br> notification_options w,u,c,r<br> notification_interval 300<br> notification_period 24x7<br> check_command check_vmware_host!check_vmware_config_vcenter01!state!85!95<br>
register 0<br>}<br><br>