Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me

Directory Tree

PHP check_traffic

Rating
1 vote
Favoured:
0
Nagios CSP

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!
script to check interface status and traffic on the interface by PHP cli
+++++ DESCRIPTION
I wrote this script based on the idea of //**tiochan** get_snmp// (you can find it in this repository).
Actually the script is almost completely different, it use full duplex algorithym and snmpv2 by default; and it implements temporany files logic like check_iftraffic.pl

More information can be find on the script itself. It lacks of some usability information, but its use is pretty simple.


+++++ usage example:

/usr/nagios/libexec/check_traffic.php -H=host -C=community -I=Ethernet0/0 -n=3 -w=30,80 -c=40,90

-H= host
-C= community
-I= name of the interface like description
-n= oid of the interface (last identification number only)
-w= in,out % warning threshold
-c= in,out % critical threshold


+++++ contact me
Feel free to send me ideas, suggestions or bugfix reports: **matteo //(at)// progettomio //(dot)// net**
Reviews (1)
Please check your links...