Nagios Plugin to check interface traffic over snmp (Linux/Windows) |
You need to install php-snmp
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) |
-l label |
Would you like to support me?
Then donate to PayPal...