Build precise queries to find exactly what you need
Press ESC to close
Nagios World Conference 2026: Sept. 14-17 in St. Paul, MN | Learn More
Your review has been submitted and is pending approval.
check_apcupsd v1.2 is now v1.3 (performance data output added)
Current Version
Last Release Date
February 1, 2010
Owner
Nagios Exchange
Download URL
https://exchange.nagios.org/wp-content/uploads/project-files/2010/02/check_apcupsd_v1_3
Using pnp4nagios there is the need to get performance data. So I added some output for the performance data to the script. It works fine but further improvement is welcome.
line 206, missing "R", says "WANVAL", should say "WARNVAL".
I have a better value rounding meth?d to suggest. I changed the line: ROUNDED=`echo $VALUE | sed 's/..*//'` with: ROUNDED=`echo $VALUE | awk '{printf("%dn",$1 + 0.5)}'` I faced a problem when the '.7' value for Input voltage (power failure) appeared to be 'OK'. Thank you!
You must be logged in to submit a review.
To:
From: