Page 1 of 1

SNMP walk / MIBs

Posted: Thu Aug 09, 2018 8:08 pm
by airforcemiller
When I try to do an snmp walk in nagios, the only info I get is the interface name and link state, and the description I entered, plus throughput. It seems that all of the info from the snmp walk is coming from 1 maybe 2 MIBs that seem to be on nagios already. I started reading the nagios documention about the snmp walk and MIBs. Am I correct in saying that for nagios to show the other info ie chassis temp, fans, power, cpu that I need to load the Cisco MIBs that I got for my specific ios / switch. I downloaded all the v1 and v2 MIBs, but they are not in a txt format like the ones in nagios already. They are in .cd, .my and I forget the other extension. If I do need to import these for the snmp walk to get the info I want in the walk, which extension do I need to upload? Pardon my questions, as I am new to snmp / oid / MIBs. I am trying to understand it as fast as I can.

Thanks

Re: SNMP walk / MIBs

Posted: Fri Aug 10, 2018 7:18 am
by scottwilkerson
If you are using the SNMP Walk Wizard, you likely want to change the OID: to be either . or the start of the OID you want to walk.

By default the walk starts at mib-2.interfaces and only shows the items under there.

You can monitor ANY SNMP OID that is available on your equipment with Nagios

Re: SNMP walk / MIBs

Posted: Fri Aug 10, 2018 10:42 am
by airforcemiller
Which MIBs file extensions should I load so Nagios can read the Cisco info when I walk my switch? .cd / .my and I can’t remember the other. I found where to upload them or Linux wise to copy them. Thanks for explaining how it does the walk

Re: SNMP walk / MIBs

Posted: Fri Aug 10, 2018 11:54 am
by scottwilkerson
You can add MIBs through the UI under Admin -> Manage MIBs

Re: SNMP walk / MIBs

Posted: Fri Aug 10, 2018 12:13 pm
by airforcemiller
scottwilkerson wrote:You can add MIBs through the UI under Admin -> Manage MIBs
Hey Scott, do they need to be txt files or can they stay in the .cd and .my files. I see the ones nagios has preloaded are txt files

Re: SNMP walk / MIBs

Posted: Fri Aug 10, 2018 12:15 pm
by scottwilkerson
airforcemiller wrote:
scottwilkerson wrote:You can add MIBs through the UI under Admin -> Manage MIBs
Hey Scott, do they need to be txt files or can they stay in the .cd and .my files. I see the ones nagios has preloaded are txt files
The file extension doesn't matter.

Re: SNMP walk / MIBs

Posted: Fri Aug 10, 2018 12:38 pm
by airforcemiller
scottwilkerson wrote:
airforcemiller wrote:
scottwilkerson wrote:You can add MIBs through the UI under Admin -> Manage MIBs
Hey Scott, do they need to be txt files or can they stay in the .cd and .my files. I see the ones nagios has preloaded are txt files
The file extension doesn't matter.
Thanks

Re: SNMP walk / MIBs

Posted: Fri Aug 10, 2018 2:10 pm
by scottwilkerson
airforcemiller wrote:
Thanks
CLosing