Build precise queries to find exactly what you need
Press ESC to close
Your review has been submitted and is pending approval.
Plugin removed and no longer supported !
Current Version
1.0
Last Release Date
2015-05-09
Owner
Zika
Website
http://www.mcart.ru
License
GPL
Compatible With
USAGE: /check_slowrequests.sh normal_hit_is_below_sec access_log warn crit Nagios script to get the value of slow Apache hits from acess log which are executed longer then normal_hit_is_below_sec
REQUIREMENTS: Make sure that the last word of each request in your access_log is "The time taken to serve the request, in seconds." Here is my LogFormat in httpd.conf LogFormat "%h %l %u %t "%r" %>s %b "%{Referer}i" "%{User-Agent}i" %T" combined
IMPORTANT: Probably, you may have to let nagios run this script as root or another user, which has read permission to apache access log This is how the sudoers file looks in Debian or CentOS system: nagios ALL=(root) NOPASSWD:/usr/lib or lib64/nagios/plugins/check_slowrequests.sh
do not forget to comment 'Defaults requiretty' in sudoers conf if necessary
You must be logged in to submit a review.
To:
From: