Cast Iron SNMP monitoring not showing up on Nagios ?

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
Eva Li
Posts: 3
Joined: Wed Apr 27, 2016 1:35 pm

Cast Iron SNMP monitoring not showing up on Nagios ?

Post by Eva Li »

Cast Iron SNMP monitoring not showing up on Nagios ?

Nagios XI on Linux on VM

Here is my setup
1. on Cast Iron - enable Cast Iron appliance for SNMP, SNMP host = Nagios server ip, trap community = public

2. on Nagios - add Cast Iron MIB (CastIron-IA-MIB and all other Cast Iron MIB), given all read/write/execute permission

3. on Nagios - run snmpwalk - snmpwalk -On -v 2c -c public -M "+/tmp" -m +CASTIRON-IA-MIB <Cast Iron Mmt IP>
according to this Cast Iron instruction
http://www.ibm.com/support/knowledgecen ... health.htm

4. on Nagios - on service detail - I cannot see any monitoring added for RAM, Disk, etc.

Have I missed out anything, doing it in the right approach ? Please help.
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: Cast Iron SNMP monitoring not showing up on Nagios ?

Post by tgriep »

In the Nagios XI GUI, did you go to Configure > Configuration Wizards and run the SNMP Wizard to add the checks to Nagios XI?
Try doing that to add the SNMP checks for your device to the XI system.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Eva Li
Posts: 3
Joined: Wed Apr 27, 2016 1:35 pm

Re: Cast Iron SNMP monitoring not showing up on Nagios ?

Post by Eva Li »

we did that already, it asked for Cast Iron SNMP port, do you know what is the port # ?
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: Cast Iron SNMP monitoring not showing up on Nagios ?

Post by tgriep »

The default SNMP port is 161 for polling a device and port 162 for sending a SNMP trap.
Are you trying to send a SNMP Trap from your device to the Nagios XI server or are you trying to poll the device from the Nagios XI server?

If you are trying to send a trap to the XI system, you will need to set it up by following this guide.
https://assets.nagios.com/downloads/nag ... ios_XI.pdf
Be sure to check out our Knowledgebase for helpful articles and solutions!
Eva Li
Posts: 3
Joined: Wed Apr 27, 2016 1:35 pm

Re: Cast Iron SNMP monitoring not showing up on Nagios ?

Post by Eva Li »

1. SNMP wizard setup

2. put in OID no. as
CASTIRON-IA-MIB::ciIaResNbrGarbageCollects .1.3.6.1.4.1.13436.2.2.2.1.1.2.1.0
CASTIRON-IA-MIB::ciIaResPctMemoryUsed .1.3.6.1.4.1.13436.2.2.2.1.1.2.2.0
CASTIRON-IA-MIB::ciIaResPctWipFull .1.3.6.1.4.1.13436.2.2.2.1.1.2.3.0

3. SNMP trap wizard setup according to your link

4. Manually using command line to run these again
snmpwalk -On -v 2c -c public -M "+/tmp" -m +CASTIRON-IA-MIB 10.114.77.132 CASTIRON-IA-MIB::ciIaResNbrGarbageCollects
.1.3.6.1.4.1.13436.2.2.2.1.1.2.1.0 = Counter32: 149
snmpwalk -On -v 2c -c public -M "+/tmp" -m +CASTIRON-IA-MIB 10.114.77.132 CASTIRON-IA-MIB::ciIaResPctMemoryUsed
.1.3.6.1.4.1.13436.2.2.2.1.1.2.2.0 = Gauge32: 1.84
snmpwalk -On -v 2c -c public -M "+/tmp" -m +CASTIRON-IA-MIB 10.114.77.132 CASTIRON-IA-MIB::ciIaResPctWipFull
.1.3.6.1.4.1.13436.2.2.2.1.1.2.3.0 = Gauge32: 6.00


5. in report - still don't see any data captured by nagios ?
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: Cast Iron SNMP monitoring not showing up on Nagios ?

Post by tgriep »

First thing, create this file /etc/snmp/snmp.conf, and put into it:
mibs +ALL
This tells the snmp commands that they should load ALL of the mibs when they are ran so you don't have to specify the MIB file in the commands.

Next, login to the Nagios XI GUI and run the SNMPWalk Wizard. Do you see the information you are looking for?
when you run the wizard, clear out the OID: field, increase the Max Results and set Force Scan to yes then run the wizard.

Is the device is setup to send traps to the XI server?
The first time a trap is received on the XI server, it has to be configured in XI.
If you go to Admin > Unconfigured Objects in the XI GUI, do the Traps show up there?
If so, click on the Blue arrow to configure it and then the XI server will be able to receive traps.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked