Build precise queries to find exactly what you need
Press ESC to close
Join our next live webinar: “Advanced Nagios Monitoring Techniques” – Register Now
@thundercost
Favorites0
Views
Projects0
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!
Reviewed 13 years ago