This script monitors the fan status of an Extreme Networks device via SNMP.

It accepts the following arguments:

  • -s <SWITCH> the switch’s hostname or ip address
  • -C <COMMUNITY-STRING> the community string as configured on the switch
  • -T <TIMEOUT> optionally provide a timeout in seconds. This timeout defaults to the value configured in /usr/lib/nagios/plugins/ (usually something around 15 seconds).
  • -h show the help.

Tested with different XOS versions and SNMP protocol version 2c. If you want to use a different SNMP protocol version, just modify the Net::SNMP->session(...) call.

Here is the code.


Please consider to take a look at my general setup notes.

Download: Perl: (Please take a look at the man-page. Browse bugs and feature requests.)

Martin Scharm

stuff. just for the records.

Do you like this page?
You can actively support me!

Leave a comment

There are multiple options to leave a comment: