check_disk.php

Category: nagios
Downloaded: 915

 

Nagios Plugin to check disk 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_disk.php -H [host] -P [snmp_version] -D [name] (-n [number])(-w [Warning] -c [Critical] -l [label] -d (debug) -V (snmp debug))

 

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])

-D disk (linux example '/boot',
windows example 'c:')
or  
-n number get number from -V
-o output/perfdata B=Byte (default)
KB=KByte
MB=MByte
GB=GByte
TB=TByte
-l label   

MIT-Lizenz


 

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