Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
check_extreme_fdb.pl
1.0
2016-12-15
- Nagios 1.x
- Nagios 2.x
- Nagios 3.x
- Nagios 4.x
5475
Meet The New Nagios Core Services Platform
Built on over 25 years of monitoring experience, the Nagios Core Services Platform provides insightful monitoring dashboards, time-saving monitoring wizards, and unmatched ease of use. Use it for free indefinitely.
Monitoring Made Magically Better
- Nagios Core on Overdrive
- Powerful Monitoring Dashboards
- Time-Saving Configuration Wizards
- Open Source Powered Monitoring On Steroids
- And So Much More!
There is an extra article dedicated to this script: https://binfalse.de/2016/02/05/monitoring-of-xos-devices
It accepts the following arguments:
-s the switch’s hostname or ip address
-C the community string as configured on the switch
-T 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).
-e expected entries: if those mac addresses appear they are expected to be in that vlan and on that port
-P or --print displays fdb, you can use this as a template for the file
-W or --warn warn if an expected entry wasn’t found
-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.
It accepts the following arguments:
-s
-C
-T
-e
-P or --print displays fdb, you can use this as a template for the
-W or --warn warn if an expected entry wasn’t found
-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.