Home Directory

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

Directory

patrickz

Reviews(2)
bypatrickz, February 5, 2013
1 of 2 people found this review helpful
CPU core usage
Can not download the check.
$ret_string="";
$perfvalue="";
# Getting Individual CPU Load
$i=0;
foreach ( @pourcentage ) {
s/HOST-RESOURCES-MIB::hrProcessorLoad.d+ = INTEGER://g;
$cpuuse=$_;
$ret_string .= "CPU-$i:$cpuuse%, ";
$perfvalue .= "CPU-$i=$cpuuse%;$warning;$critical;0;100 ";
$i++;
}
print $ret_string." | ".$perfvalue."
";