Page 1 of 1

check_ilo2_health - Status Information: (null)

Posted: Fri Jul 20, 2012 4:02 am
by spaxx2000
Hi,

I use the nagios plugin check_ilo2_health.pl to monitor the ILO2 status of our HP servers.

The plugin worked great with FAN 2.1. After a new installation of the whole nagios server with FAN 2.3, I can't get the plugin to work again.

When I use the plugin with commandline it shows me the ILO2 Status.

In nagios it shows me (null) in Status Information (see attached screenshot).

Any help appreciated!!!


Additional Info:

Plugin check - works:

Code: Select all

# /usr/lib/nagios/plugins/check_ilo2_health.pl -n -H SERVERIP -u USERNAME -p PASSWORD
ILO2_HEALTH OK - No faults detected
commands.cfg:

Code: Select all

define command{
command_name  check_ilo2_health
command_line  /usr/lib/nagios/plugins/check_ilo2_health.pl -n -H $_HOSTILO_ADDRESS$ -u USERNAME -p PASSWORD
}
windows.cfg - sample host:

Code: Select all

define host{
use windows-server
host_name SERVERNAME
alias SERVERNAME
address 192.168.0.1
_ILO_ADDRESS 192.168.0.2
register 1
}
windows.cfg - service def:

Code: Select all

define service{
use generic-service
host_name SERVERNAME
service_description ILO2 Health Status
check_command check_ilo2_health
register 1
}

Re: check_ilo2_health - Status Information: (null)

Posted: Tue Jul 24, 2012 4:12 am
by spaxx2000
Ok, I fixed it. The problem was caused by a security issue.

The Plugin is executed by the nagios user which wasn't allowed to do so. After giving the nagios user the rights it worked!

Re: check_ilo2_health - Status Information: (null)

Posted: Tue Jul 24, 2012 10:06 am
by nscott
Thanks for letting us know what the issue was!

Re: check_ilo2_health - Status Information: (null)

Posted: Thu Apr 06, 2017 2:37 pm
by Nagios_Admin_M
Hi,

What kind of permission did you set up for check_ilo2_health ?

Currently my configuration is:

define host{
use template
host_name host
address 192.168.0.1
contact_group admins
_ILO_ADDRESS 192.168.0.2
register 1
}

define service{
use template
host_name host
service_description check_ilo2_health
check_command check_ilo2_health!-c -3
}

and it gets me into Status Information as follow:

State: CRITICAL
Status Information: ( Service check did not exit properly )

Thanks in advance.