Check on IBM Server through IMM

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
sth_bytelab
Posts: 25
Joined: Thu Aug 25, 2016 1:58 am

Check on IBM Server through IMM

Post 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!
avandemore
Posts: 1597
Joined: Tue Sep 27, 2016 4:57 pm

Re: Check on IBM Server through IMM

Post by avandemore »

What plugin were you looking at?
Previous Nagios employee
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: Check on IBM Server through IMM

Post by dwhitfield »

suspect it's https://exchange.nagios.org//directory/ ... rb/details but let us know if I'm wrong!
sth_bytelab
Posts: 25
Joined: Thu Aug 25, 2016 1:58 am

Re: Check on IBM Server through IMM

Post 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.
User avatar
tgriep
Madmin
Posts: 9177
Joined: Thu Oct 30, 2014 9:02 am

Re: Check on IBM Server through IMM

Post 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.
Be sure to check out our Knowledgebase for helpful articles and solutions!
sth_bytelab
Posts: 25
Joined: Thu Aug 25, 2016 1:58 am

Re: Check on IBM Server through IMM

Post 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"
You do not have the required permissions to view the files attached to this post.
User avatar
tgriep
Madmin
Posts: 9177
Joined: Thu Oct 30, 2014 9:02 am

Re: Check on IBM Server through IMM

Post 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.
Be sure to check out our Knowledgebase for helpful articles and solutions!
sth_bytelab
Posts: 25
Joined: Thu Aug 25, 2016 1:58 am

Re: Check on IBM Server through IMM

Post 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?
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: Check on IBM Server through IMM

Post 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
sth_bytelab
Posts: 25
Joined: Thu Aug 25, 2016 1:58 am

Re: Check on IBM Server through IMM

Post 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.
You do not have the required permissions to view the files attached to this post.
Locked