Page 1 of 2
Check on IBM Server through IMM
Posted: Mon Feb 20, 2017 6:44 am
by sth_bytelab
HI
We have a couple of IBM servers that we would like to monitor with nagiosXI.
All of the servers have a IMM layer for management is there a way to monitor the servers through it?
I have seen there has been a plugin in for one of the previous-versions of nagios, is there a new plugin or is it not necessary?
Thanks!
Re: Check on IBM Server through IMM
Posted: Mon Feb 20, 2017 1:36 pm
by avandemore
What plugin were you looking at?
Re: Check on IBM Server through IMM
Posted: Mon Feb 20, 2017 1:39 pm
by dwhitfield
Re: Check on IBM Server through IMM
Posted: Mon Feb 20, 2017 4:11 pm
by sth_bytelab
I was actually looking at this one:
https://exchange.nagios.org/directory/P ... sh/details
But i don't think it is working in the XI-version.
Re: Check on IBM Server through IMM
Posted: Mon Feb 20, 2017 5:26 pm
by tgriep
That plugin looks like it should work with Nagios XI. Give it a try and if you have any questions go ahead and post them here.
The "Compatible With" section is what the Author / uploader of the plugin ran it on, it doesn't mean that it will not work with newer versions of Nagios.
Re: Check on IBM Server through IMM
Posted: Tue Feb 21, 2017 3:10 am
by sth_bytelab
I have now tried the plugin but it doesn't seem to work properly.
I have done a simple health-check:
NagiosIMM.PNG
But I get: "Health status: Unknown"
Re: Check on IBM Server through IMM
Posted: Tue Feb 21, 2017 1:51 pm
by tgriep
The plugin looks like it is running but it cannot poll the device.
In the script, the Health status is checked by running the following command.
Code: Select all
snmpwalk -v 1 -c community -On 10.0.2.122 .1.3.6.1.4.1.2.3.51.3.1.4
It is trying to poll the device with that OID using SNMP Version 1. Can you run the above command and post it here?
The unknown can be caused by the device is not setup to be polled using SNMP Version 1, or that the community string is incorrect or that the device is not setup at all to be polled by SNMP.
Check the device and see if it is setup to be polled.
Also, run the following command which uses SNMP Version 2 to poll the device. Most newer devices stopped enabling version 1 of SNMP and switched over to version 2.
Code: Select all
snmpwalk -v 2c -c community -On 10.0.2.122 .1.3.6.1.4.1.2.3.51.3.1.4
If this works, you would have to edit the script and change the -v 1 options to -v 2c and then the plugin should work.
Re: Check on IBM Server through IMM
Posted: Tue Aug 08, 2017 9:23 am
by sth_bytelab
I have tried running snmp -v 1 -c community -On 10.0.2.122 .1.3.6.1.4.2.3.51.3.1.4 and I recieve "Timeout: No Response from 10.0.2.122"
And I get the same response if I am using version 2c.
I have opened all ports in the firewall between the to servers and I have successfully pinged the IMM, so there are a connection between Nagios and the IMM.
Any piece of advise?
Re: Check on IBM Server through IMM
Posted: Tue Aug 08, 2017 2:06 pm
by dwhitfield
Please post your /etc/snmp/snmpd.conf (or whatever the IBM server uses for SNMP management). Even if all the ports are open, SNMP still needs to allow the particular server. You can allow address blocks using a syntax like rocommunity public 10.10.0.0/16
Re: Check on IBM Server through IMM
Posted: Wed Aug 09, 2017 2:51 am
by sth_bytelab
OKay, I have now enabled all SNMP:
Udklip.PNG
And set the community to the IP address of nagios.
I have enabled all SNMP traps.
I have tried both doing af snmpwalk through the terminal and a ibm imm check but without any luck. I still recieve Timeout no reply from 10.0.2.122.