This script monitors the memory 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
-w <WARNLEVEL>the % of free mem that triggers a warning
-c <CRITLEVEL>the % of free mem that triggers a critical message
-T <TIMEOUT>optionally provide a timeout in seconds. This timeout defaults to the value configured in
/usr/lib/nagios/plugins/utils.pm(usually something around 15 seconds).
-hshow 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
Please consider to take a look at my general setup notes.
Download: Perl: check_catalyst_fans.pl (Please take a look at the man-page. Browse bugs and feature requests.)
Leave a comment
There are multiple options to leave a comment: