check_network.php

Category: nagios
Downloaded: 1214

 

Nagios Plugin to check interface traffic over snmp (Linux/Windows)

You need to install php-snmp

If you find a bug or have a request, write me.

 


Usage:

/usr/bin/php check_network.php -H [HOST] -P [snmp_version] -n [node] -i [interface_name] ( -l [label] -s [seconds (default=5, max=60)] -o [output/perfdata] -w [Warning] -c [Critical] -d (debug) -V (debug interfaces) -I (debug input interfaces) -O (debug output interfaces) -S (debug interfaces status)) 

 

snmp_version 2 -C [community string] (default -C public)
             3 -u [user] -p [password] -a [auth. prot. (MD5/SHA] ( -x [priv. proto. (DES/AES)] -X [priv. password])

-n node network node or
-i interface  network interface name
-s seconds check period (default=5, max=60)
-o output/perfdata

%=percent and KByte/MByte (default)
b=bit
Kb=Kbit
Mb=Mbit
B=Byte
KB=KByte
MB=MByte

-l label  

MIT-Lizenz


 

Would you like to support me?
Then donate to PayPal...