Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
Monitoring Interface Bandwidth Utilization Using Cacti Data
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!
In order for this plug-in to work you need to map Cacti Graph ID's to the SNMP IfIndex value of the device you are monitoring. Instructions and a script for easily generating this map can be found on my website.
Plugin Usage:
check_port_saturation.py -H HOST -g GRAPH_ID [-s CACTI_SERVER] [-c CRIT] [-w WARN] [-V {1,2,3}] [-C SNMP_COM] -i IF_INDEX
('-H', '--host', required=True,
help='Host we are checking')
('-C', '--snmp_com', default='public', required=True,
help='SNMP community')
('-V', '--snmp_ver', type=int, default=2, choices=[1, 2, 3],
help='SNMP version')
('-g', '--graph_id', required=True,
help='Cacti graph id')
('-s', '--cacti_server', required=True,
help='Cacti server hostname')
('-c', '--crit', default=90, type=int,
help='critical saturation level in %')
('-w', '--warn', default=80, type=int,
help='warning saturation level in %')
('-i', '--if_index', required=True,
help='ifIndex value for snmp')
Example of running from command line:
porter@nagios:~$ ./check_port_saturation.py -g 23822 -s netprobe -H dist1 -i 369098807 -C public
SUCCESS: Avg_In= 1405.02 Mbps and Avg_Out= 777.29 Mbps
Reviews (0)
Be the first to review this listing!