Build precise queries to find exactly what you need
Press ESC to close
When you haven’t any error in your apache log file, you’ve got this error : Use of uninitialized value in addition (+) at ./check_access_log.pl line 152. Use of uninitialized value in addition (+) at ./check_access_log.pl line 152. Illegal division by zero at ./check_access_log.pl line 152.
You can fix it with this diff : diff /tmp/check_access_log.pl.ori /tmp/check_access_log.pl 152,153c152,156 if ( defined $status_score{’20X’} || defined $status_score{’30X’} ) { > $failure_rate= > sprintf(“%0.2f”, 100 – (($status_score{’20X’} + $status_score{’30X’})/$lines) * 100.0); > }
You also need that nagios can access to apache access file
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!