Query SNMP

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
alex3105
Posts: 103
Joined: Sat Jul 28, 2018 10:54 am

Query SNMP

Post by alex3105 »

Dear colleagues of the forum,

I have a query, I want to monitor some Cisco MDS9148 swiches (status of power sources, fans, interfaces) since I have not been able to get the corresponding plugins, which is why I am trying to get the information with the plugin check_snmp but I do not achieve to get the definition of the commands ... I have obtained information from the equipment previously configured the snmp protocol but I am still not sure if it is possible .. I would appreciate it if you could guide me.

Regards
Attachments
9148.txt
(287.04 KiB) Downloaded 196 times
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Query SNMP

Post by ssax »

This looks like it may work for the MDS port status:

https://exchange.nagios.org/directory/P ... us/details

Your best option would be to search the exchange and test out any cisco plugins to see if they will work against your device, some of them may work.

The snmpwalk of your device is also incomplete, you would need to download all your cisco MIBs and then perform the snmpwalk with the "-m +ALL" so that it would walk the cisco specific OIDs.

There's not a whole lot we can do from a walk file unless you just want to check those specific OIDs, you'd need to write a plugin yourself to actually query the proper tables to get the proper OIDs to get the proper values because of the way that the SNMP data is setup. Please see here for more of an explanation:

https://www.cisco.com/c/en/us/support/d ... 40700.html
Locked