hi friends, I hope you are well
for 3 weeks I'm looking for a nagios script that can give me the number of cisco switches fan rotation, which I can use in CES center.
I try to search on google, nagios web site and all forums of nagios and centreon, but I have just found scripts that give me the state of the fans of a cisco switch but I want the state and the speed of fans , to control the warning state and critical
if you like, I really need this script
fan speed (cisco switch) help please
- tacolover101
- Posts: 432
- Joined: Mon Apr 10, 2017 11:55 am
Re: fan speed (cisco switch) help please
have you looked at https://exchange.nagios.org?
when you have looked high and low, the solutions usually becomes to not be dependent on other people, but write your own plugin rather.
you need to find the OID or MIB that reciprocates to the fan speed, and use that to monitor it. something like check_snmp should work fine once you have that information.
to get an entire list of what's available use something like this - snmpwalk -v 2c -c public <ipofyourciscoswitch> - which will produce a full output of your available OIDs. it may not show here if you have to use an enterprise MIB.
when you have looked high and low, the solutions usually becomes to not be dependent on other people, but write your own plugin rather.
you need to find the OID or MIB that reciprocates to the fan speed, and use that to monitor it. something like check_snmp should work fine once you have that information.
to get an entire list of what's available use something like this - snmpwalk -v 2c -c public <ipofyourciscoswitch> - which will produce a full output of your available OIDs. it may not show here if you have to use an enterprise MIB.
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: fan speed (cisco switch) help please
@tacolover101 is right, however being you are using Nagios XI you do also have another option once you know the SNMP OID of the fan, you can use the SNMP Wizard to monitor that OID
Re: fan speed (cisco switch) help please
what it is the OID of the mib who concern the fan speed in those switches :
Cisco Catalyst 2960X-48TS-L Switch
Cisco Catalyst 2960X-24TS-L Switch
Cisco Catalyst 3850-24XS-S Switch
Cisco Catalyst 2960X-48TS-L Switch
Cisco Catalyst 2960X-24TS-L Switch
Cisco Catalyst 3850-24XS-S Switch
-
dwhitfield
- Former Nagios Staff
- Posts: 4583
- Joined: Wed Sep 21, 2016 10:29 am
- Location: NoLo, Minneapolis, MN
- Contact:
Re: fan speed (cisco switch) help please
Best thing to do is just provide the output of snmpwalk -v 2c -c public <ipofyourciscoswitch>. Cisco may be able to tell you the exact OIDs.
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: fan speed (cisco switch) help please
Digging into this equipment a little deeper, it doesn't appear that Cisco has a SNMP OID for fan speed, so there isn't a way to create a plugin for how fast it is going.