Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
check_cpu.php
Meet The New Nagios Core Services Platform
Built on over 25 years of monitoring experience, the Nagios Core Services Platform provides insightful monitoring dashboards, time-saving monitoring wizards, and unmatched ease of use. Use it for free indefinitely.
Monitoring Made Magically Better
- Nagios Core on Overdrive
- Powerful Monitoring Dashboards
- Time-Saving Configuration Wizards
- Open Source Powered Monitoring On Steroids
- And So Much More!
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_cpu.php -H 192.168.2.211 -m linux -w 80 -c 90
OK - 29% (User: 19% System: 10% I/O Wait: 13% Idle: 58%)|Cpu=29%;80;90;; User=19% System=10% IOWait=13% Idle=58%
/usr/bin/php ./check_cpu.php -H 192.168.2.211 -m load -w 1,1,1 -c 2,2,2
CRITICAL - load average: 1.57, 2.94, 3.01 | load=1.57;1;2;; load5=2.94;1;2;; load15=3.01;1;2;;
/usr/bin/php ./check_cpu.php -H 192.168.2.11 -m windows -w 80 -c 90
OK - 17.00% | CPU=17.00%,80;90;;
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_cpu.php -H 192.168.2.211 -m linux -w 80 -c 90
OK - 29% (User: 19% System: 10% I/O Wait: 13% Idle: 58%)|Cpu=29%;80;90;; User=19% System=10% IOWait=13% Idle=58%
/usr/bin/php ./check_cpu.php -H 192.168.2.211 -m load -w 1,1,1 -c 2,2,2
CRITICAL - load average: 1.57, 2.94, 3.01 | load=1.57;1;2;; load5=2.94;1;2;; load15=3.01;1;2;;
/usr/bin/php ./check_cpu.php -H 192.168.2.11 -m windows -w 80 -c 90
OK - 17.00% | CPU=17.00%,80;90;;
Reviews (0)
Be the first to review this listing!