Page 1 of 1
SNMP service template for switches
Posted: Tue Oct 13, 2015 9:25 am
by EttiennePRossouw
I have added my switch to monitoring and can check certain parameters such as uptime, ping etc but am looking for a way to check system health such as fan status, cpu etc. Can you please assist. Feeling stumped!
I have imported the MIBs, set up the switch for snmp but not sure how to go about adding the correct command and service template so that I can add it to the host.
Re: SNMP service template for switches
Posted: Tue Oct 13, 2015 5:07 pm
by jdalrymple
This depends very much on the switch manufacturer/model/OS
Start at the
Nagios Exchange and see if there is anything that suits your application.
Re: SNMP service template for switches
Posted: Wed Oct 14, 2015 3:57 am
by EttiennePRossouw
Thanks, the models we have are Cisco SG500x 48P, (re-branded Linksys device from my understanding) Dell PowerConnectP 3524 and 3424P as well as a HP J4819A ProCurve 5308xl
The one i am really battling with is the Cisco SG500x. Seems easy enough to get port status, bandwidth and up time but the health check is eluding me.
Re: SNMP service template for switches
Posted: Wed Oct 14, 2015 8:03 am
by EttiennePRossouw
I turned my focus towards the dell and found a superb plugin. The linksys cisco sg500x is giving me grey hairs!
Re: SNMP service template for switches
Posted: Wed Oct 14, 2015 5:10 pm
by ssax
If you've found an awesome plugin that suits your needs, please post a link to it here so others can use it when they read this.
You might try SNMP walking the device to see what OIDs are available to see if we can get the data you need:
Code: Select all
snmpwalk -v 2c -c community 192.168.5.232:161
OR
Code: Select all
snmpwalk -v 2c -c community 192.168.5.232:161 -On
Re: SNMP service template for switches
Posted: Wed Oct 14, 2015 5:11 pm
by jdalrymple
Quite often those non IOS Ciscos just don't offer any metrics. The absolute best place to go would be Cisco - ask them for a MIB for the device. If the person you talk to says "what's SNMP" you are probably in for a rough journey

Re: SNMP service template for switches
Posted: Thu Oct 15, 2015 3:18 am
by EttiennePRossouw
Hi there
The Dell plugin i used is
https://exchange.nagios.org/directory/P ... ch/details
check_snmp_powerconnect.pl
Thanks for the advice with the Cisco, i will try that and get back to you
Re: SNMP service template for switches
Posted: Thu Oct 15, 2015 2:51 pm
by tmcdonald
Thanks for the link, and let us know how that conversation goes!
Otherwise if there's nothing more you need from us, let me know and I'll close the thread.
Re: SNMP service template for switches
Posted: Fri Oct 16, 2015 3:36 am
by EttiennePRossouw
I have the mib they recommend, but have no OID's that i see available. I hope its ok for me to post the mib here. Sorry for sounding like a rookie but i have imported this mib, but it gives no traps. How do i use the mib to get the data i need for environmental health?
Re: SNMP service template for switches
Posted: Fri Oct 16, 2015 1:34 pm
by tgriep
I found this link on Cisco's site for downloading the MIBs for your switch.
Code: Select all
http://www.cisco.com/c/en/us/support/switches/sg500x-48-48-port-gigabit-4-port-10-gigabit-stackable-managed-switch/model.html#~tab-downloads
It that zip file is a MIB file called CISCOSBenv_mib.mib for the fan status, power supplies, etc.
Let us know if that helps you out.