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
Network Monitoring Software - Download Nagios XI
Log Management Software - Nagios Log Server - Download
Netflow Analysis Software - Nagios Network Analyzer - Download
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...