Build precise queries to find exactly what you need
Press ESC to close
Your review has been submitted and is pending approval.
Checks apache logs using logrep (http://code.google.com/p/wtop/) and returns basic visitor stats
Current Version
1
Last Release Date
2011-10-27
Owner
Andrey Padiy
Compatible With
check_logrep
Analyses apache logs using logrep (http://code.google.com/p/wtop/).
Requires : wtop/logrep (http://code.google.com/p/wtop/) installed and configured.
Returns :
* Percentage of >399 responses in the last X minutes * Percentage of slow (>1000msec) responses in the last X minutes * Number of bots for the last X minutes. * Average response time for the last X minutes.
Will go CRITICAL / WARNING only for the first 2
Returns perfdata for all.
Usage: check_logrep -w -c -W -C -G -R -M -L
OPTIONS: -w Percentage of >399 responces WARNING threashold (%) -c Percentage of >399 responces CRITICAL threashold (%) -W Percentage of slow (>1000msec) responces WARNING threashold (%) -C Percentage of slow (>1000mses) responces CRITICAL threashold (%) -G Average responce time WARNING threashold (msec) -R Average responce time CRITICAL threashold (msec) -M Number of -M last minutes to report on -L Number of lines to parse (starting from the end) This setting overrides -M. So if -L lines covers 1 minute and -M is 5, only 1 min will be reported -h Usage, prints this message EXAMPLE : check_logrep -w 15 -c 20 -W 15 -C 20 -G 300 -R 500 -M 5 -L 35000
Note : You will need to do some tuning to find a suitable time (M)/no of lines(L) balance. If your -L and -M values are large and the log file is "busy" logrep will take a long time to run.
You must be logged in to submit a review.
To:
From:
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!