SNMP service template for switches
-
EttiennePRossouw
- Posts: 5
- Joined: Mon Oct 12, 2015 5:33 am
SNMP service template for switches
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.
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.
-
jdalrymple
- Skynet Drone
- Posts: 2620
- Joined: Wed Feb 11, 2015 1:56 pm
Re: SNMP service template for switches
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.
Start at the Nagios Exchange and see if there is anything that suits your application.
-
EttiennePRossouw
- Posts: 5
- Joined: Mon Oct 12, 2015 5:33 am
Re: SNMP service template for switches
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.
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.
-
EttiennePRossouw
- Posts: 5
- Joined: Mon Oct 12, 2015 5:33 am
Re: SNMP service template for switches
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
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:
OR
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:161Code: Select all
snmpwalk -v 2c -c community 192.168.5.232:161 -On-
jdalrymple
- Skynet Drone
- Posts: 2620
- Joined: Wed Feb 11, 2015 1:56 pm
Re: SNMP service template for switches
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 
-
EttiennePRossouw
- Posts: 5
- Joined: Mon Oct 12, 2015 5:33 am
Re: SNMP service template for switches
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
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
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.
Otherwise if there's nothing more you need from us, let me know and I'll close the thread.
Former Nagios employee
-
EttiennePRossouw
- Posts: 5
- Joined: Mon Oct 12, 2015 5:33 am
Re: SNMP service template for switches
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
I found this link on Cisco's site for downloading the MIBs for your switch.
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.
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-downloadsLet us know if that helps you out.
Be sure to check out our Knowledgebase for helpful articles and solutions!