Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
check_cisco_ports_bandwidth
0.4.0
2012-11-23
- Nagios 3.x
GPL
66944
File | Description |
---|---|
check_snmp_cisco_ports_bandwidth | check_snmp_cisco_ports_bandwidth |
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!
2) Measure average bitrate from last measurement for all ports or one interface
3) Display peak bitrate and the port associated with it with warning and critical thresholds
4) Produce performance data for all or one interface
Expands on the SNMP commands used in "Check SNMP Cisco Traffic" plugin to discover the ports of a Cisco Device and record performance data for them.
Usage: check_snmp_cisco_ports_bandwidth -h -s -o
Usage: check_snmp_cisco_ports_bandwidth -h
Reviews (3)
bybroerman, January 17, 2016
--- /usr/local/nagios/libexec-external/check_snmp_cisco_ports_bandwidth.orig 2016-01-18 11:19:52.471432283 +0100
+++ /usr/local/nagios/libexec-external/check_snmp_cisco_ports_bandwidth 2016-01-18 11:20:54.836569707 +0100
@@ -135,8 +135,8 @@
continue
fi
- inBitRate=$( echo "$line" | awk '{print $5}' )
- outBitRate=$( echo "$line" | awk '{print $6}' )
+ inBitRate=$( echo "$line" | awk '{print $6}' )
+ outBitRate=$( echo "$line" | awk '{print $7}' )
echo -n "Interface $interfaceNumber In=$( apply_units $inBitRate $pUnits );$( apply_units $warn $pUnits );"
echo -n "$( apply_units $crit $pUnits );0;0
+++ /usr/local/nagios/libexec-external/check_snmp_cisco_ports_bandwidth 2016-01-18 11:20:54.836569707 +0100
@@ -135,8 +135,8 @@
continue
fi
- inBitRate=$( echo "$line" | awk '{print $5}' )
- outBitRate=$( echo "$line" | awk '{print $6}' )
+ inBitRate=$( echo "$line" | awk '{print $6}' )
+ outBitRate=$( echo "$line" | awk '{print $7}' )
echo -n "Interface $interfaceNumber In=$( apply_units $inBitRate $pUnits );$( apply_units $warn $pUnits );"
echo -n "$( apply_units $crit $pUnits );0;0
byMajed, August 13, 2015
how about make it support snmpv3 instead of just the previous versions?
Nice plugin however can you make an option for the output to be in Mb or MB instead of octets?