Service check orphaned, no duplicate nagios processes running

Mr X xproject128 at gmail.com
Tue Mar 8 15:12:31 CET 2011


Hi guys

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.

I'm using check_vmware.pl 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.

Thanks in advance.

nagios -V ==>
Nagios 2.12
Copyright (c) 1999-2007 Ethan Galstad (http://www.nagios.org)
Last Modified: 05-19-2008
License: GPL

nagios.log ==>
[1299591548] Warning: The check of service 'VMware Host Current Datastore
Usage' on host 'vds-controller.xxx.com' looks like it was orphaned (results
never came back).  I'm scheduling an immediate check of the service...
[1299591548] Warning: The check of service 'VMware Host Current Memory
Usage' on host 'vds-controller.xxx.com' looks like it was orphaned (results
never came back).  I'm scheduling an immediate check of the service...
[1299591548] Warning: The check of service 'VMware vCenter Cluster Status'
on host 'vds-controller.xxx.com' looks like it was orphaned (results never
came back).  I'm scheduling an immediate check of the service...
[1299591668] Warning: The check of service 'VMware Host Current CPU Usage'
on host 'vds-controller.xxx.com' looks like it was orphaned (results never
came back).  I'm scheduling an immediate check of the service...

command definition ==>
# 'check_vmware_host' command definition
define command {
        command_name check_vmware_host
        command_line $USER1$/check_vmware.pl --config=$USER1$/$ARG1$
--host=$HOSTADDRESS$ --report=$ARG2$ --mode=nagios --warn=$ARG3$
--crit=$ARG4$ $ARG5$ $ARG6$ $ARG7$ $ARG8$
}

service definition ==>
# Configuration file for vds-controller.xxx.com

define host {
        use                     generic-host
        host_name               vds-controller.xxx.com
        alias                   vds-controller.xxx.com
        address                 x.x.x.x
        check_command           check-host-alive
        max_check_attempts      10
        notification_interval   120
        notification_period     24x7
        notification_options    d,r
        contact_groups  admins
}

define service {
        use                             generic-service
        host_name                       vds-controller.xxx.com
        service_description             PING
        is_volatile                     0
        check_period                    24x7
        max_check_attempts              4
        normal_check_interval           5
        retry_check_interval            1
        contact_groups                  admins
        notification_options            w,u,c,r
        notification_interval           300
        notification_period             24x7
        check_command                   check_ping!200.0,20%!500.0,60%
}

define service {
        host_name                       vds-controller.xxx.com
        service_description             VMware Host Current CPU Usage
        is_volatile                     0
        check_period                    24x7
        max_check_attempts              4
        normal_check_interval           5
        retry_check_interval            1
        contact_groups                  admins
        notification_options            w,u,c,r
        notification_interval           300
        notification_period             24x7
        check_command
check_vmware_host!check_vmware_config_vcenter01!cpu!85!95
        register                        1
}

define service {
        host_name                       vds-controller.xxx.com
        service_description             VMware Host Current Datastore Usage
        is_volatile                     0
        check_period                    24x7
        max_check_attempts              4
        normal_check_interval           5
        retry_check_interval            1
        contact_groups                  admins
        notification_options            w,u,c,r
        notification_interval           300
        notification_period             24x7
        check_command
check_vmware_host!check_vmware_config_vcenter01!disk!75!85
        register                        0
}

define service {
        host_name                       vds-controller.xxx.com
        service_description             VMware Host Current Memory Usage
        is_volatile                     0
        check_period                    24x7
        max_check_attempts              4
        normal_check_interval           5
        retry_check_interval            1
        contact_groups                  admins
        notification_options            w,u,c,r
        notification_interval           300
        notification_period             24x7
        check_command
check_vmware_host!check_vmware_config_vcenter01!memory!85!95
        register                        0
}

define service {
        host_name                       vds-controller.xxx.com
        service_description             VMware vCenter Cluster Status
        is_volatile                     0
        check_period                    24x7
        max_check_attempts              4
        normal_check_interval           5
        retry_check_interval            1
        contact_groups                  admins
        notification_options            w,u,c,r
        notification_interval           300
        notification_period             24x7
        check_command
check_vmware_host!check_vmware_config_vcenter01!state!85!95
        register                        0
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20110308/f6a89c40/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
What You Don't Know About Data Connectivity CAN Hurt You
This paper provides an overview of data connectivity, details
its effect on application quality, and explores various alternative
solutions. http://p.sf.net/sfu/progress-d2d
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null


More information about the Users mailing list