Page 1 of 1

hardware health of servers running OpenManage Server Ad

Posted: Thu Jan 28, 2016 7:33 am
by Beena_Jogin
Hi,

Wanted to know if the Hardware alerts can be configured In Nagios.
Is there any license to be obtained for the same?

Thanks,
Beena

Re: hardware health of servers running OpenManage Server Ad

Posted: Thu Jan 28, 2016 10:05 am
by hsmith
Have you looked at this plugin? https://exchange.nagios.org/directory/P ... ge/details

You can find a lot of plugins that fill various roles on the Nagios Exchange, located at https://exchange.nagios.org.
Beena_Jogin wrote:Is there any license to be obtained for the same?
You won't need any additional licensing on our end.

Re: hardware health of servers running OpenManage Server Ad

Posted: Thu Jan 28, 2016 12:58 pm
by bsivavani
Yes. We have looked at the plugin. This is for Dell windows server.

Please confirm if we have to install NSClient++ on this windows server.

Re: hardware health of servers running OpenManage Server Ad

Posted: Thu Jan 28, 2016 3:16 pm
by lmiltchev
Please confirm if we have to install NSClient++ on this windows server.
You could, but you shouldn't need to...
...The plugin can be used remotely with SNMP or locally with NRPE, check_by_ssh or similar, whichever suits your needs and particular taste...
Basically, you could run the check locally on the Windows machine (check_openmanage.exe) and use NSClient++ and check_nrpe:
http://folk.uio.no/trondham/software/ch ... on-windows

or you could use the "check_openmanage" perl script and run the check "remotely", from your Nagios XI box (SNMP check):
http://folk.uio.no/trondham/software/ch ... mote-check

Re: hardware health of servers running OpenManage Server Ad

Posted: Fri Jan 29, 2016 9:33 am
by bsivavani
We have installed NSClient++ in windows 2008 Dell server and placed check_openmanage.exe on C:\Program Files\NSClient++\ and modified nsclient.ini file as attached.


When we check the below command we are getting below error

COMMAND: /usr/local/nagios/libexec/check_openmanage -H 10.X.X.X -C Nagios -p --only memory
OUTPUT: SNMP CRITICAL: No response from remote host '10.X.X.X'

Please let us know how to proceed on this.

Re: hardware health of servers running OpenManage Server Ad

Posted: Fri Jan 29, 2016 11:13 am
by hsmith
You're trying to call it via SNMP. You'll have to use NRPE to call the script that you put in the NSClient INI.

Re: hardware health of servers running OpenManage Server Ad

Posted: Fri Jan 29, 2016 11:51 am
by bsivavani
Please let us know what actions that we need to take next. We are using NRPE and below output from Nagios XI server

[root@auscrpmonprd00 libexec]# pwd
/usr/local/nagios/libexec
[root@auscrpmonprd00 libexec]# ./check_nrpe -H 10.X.X.X
I (0.4.3.143 2015-04-29) seem to be doing fine...
[root@auscrpmonprd00 libexec]#

Here 10.X.X.X is Dell windows server.

We are not using SNMP, from where you get to know that we are using SNMP.

Re: hardware health of servers running OpenManage Server Ad

Posted: Fri Jan 29, 2016 11:59 am
by hsmith
bsivavani wrote:We are not using SNMP, from where you get to know that we are using SNMP.
bsivavani wrote: COMMAND: /usr/local/nagios/libexec/check_openmanage -H 10.X.X.X -C Nagios -p --only memory
OUTPUT: SNMP CRITICAL: No response from remote host '10.X.X.X'
Try a command like this:

Code: Select all

./check_nrpe -H x.x.x.x -c check_openmanage

Re: hardware health of servers running OpenManage Server Ad

Posted: Fri Jan 29, 2016 12:15 pm
by bsivavani
Please find below output.

[root@ausXXX libexec]# ./check_nrpe -H 10.X.X.X -c check_openmanage
Unknown command(s): check_openmanage
[root@ausXXX libexec]#

Re: hardware health of servers running OpenManage Server Ad

Posted: Fri Jan 29, 2016 12:19 pm
by hsmith
Has the NSClient service been started and stopped since adding that file to the .ini?

Code: Select all

net stop nscp
net start nscp