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

dsteiner

Reviews(1)
bydsteiner, June 24, 2012
The script is working fine with nagios 3.x respective icinga 1.7.1. But I had to change following line:
print "|time="+sprintf("%.2f", totalTime)+"s, size="+"#{reports['totalSize']/1000}"+"KB;#{timeWarn};#{timeCritical};0;#{REQUEST_TIMEOUT}"
to
print "|time="+sprintf("%.2f", totalTime)+"s;#{timeWarn};#{timeCritical};0;#{REQUEST_TIMEOUT}, size="+"#{reports['totalSize']/1000}"+"KB"
The performance was not showing the warning values on the proper location.