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

check_disk.php

Rating
0 votes
Favoured:
0
Current Version
1.20220328
Last Release Date
2022-03-28
Compatible With
  • Nagios 3.x
  • Nagios 4.x
License
MIT
Hits
3507
Network Monitoring Software - Download Nagios XI
Log Management Software - Nagios Log Server - Download
Netflow Analysis Software - Nagios Network Analyzer - Download
Nagios Plugin to check disk over snmp (Linux/Windows)
If you find a bug or have a request, write me an email: nagios@jhoerter.com

You need to install php-snmp

NEW

Version 1.20220328
correct debug mode

Version 1.20211206
help added version and contact


/usr/bin/php ./check_disk.php -H 192.168.2.212 -P 2 -C public -D / -o GB -w 80 -c 90
OK - / 72.7% (33.289GB/45.781 GB) | /=33.289GB;36.625;41.203;0;45.781

/usr/bin/php ./check_disk.php -H 192.168.2.11 -P 2 -C public -D c: -o GB -w 80 -c 90
OK - C: 35.2% (81.735GB/231.873 GB) | C:=81.735GB;185.498;208.686;0;231.873

/usr/bin/php ./check_disk.php -H 192.168.2.11 -D c: -l 'C: local Disk' -o GB
OK - C: local Disk 36.7% (85.184 GB/231.873 GB) | C:=85.184GB;0.000;0.000;0;231.873