Build precise queries to find exactly what you need
Press ESC to close
Graphing/performance data was missing from the script, I’ve added it.
Add
my $metric = “|cpu_use=”.$cpu_usage.”%;$o_warning;$o_critical;”;
after the following line (line 99 I think):
$return_str= “CPU Usage $cpu_usage % :”;
And then change: print $return_str,$state,”n”;
to
print $return_str,$state,$metric,”n”;
And Nagios will get performance data which can then be graphed.
We’ve completely redesigned the world’s largest repository of Nagios plugins and monitoring tools. Join thousands of users sharing monitoring solutions for servers, applications, and everything in between.
Due to our redesign, all existing accounts require a password reset to access your account again.
Ready to explore 6,100+ projects and contribute to the community?
Reset Password Create Account
Happy Monitoring!