Home Directory Plugins Web Servers Apache Check Status Code Apache

Check Status Code Apache

Bookmark and Share

Current Version
1.0
Last Release Date
2012-05-30
Compatible With
  • Nagios 1.x
  • Nagios 2.x
  • Nagios 3.x
Owner
E-mail
License
GPL
Hits
28820
Files:
FileDescription
check_apache_status.plcheck_apache_status.pl
quick perl script to scrape http access logs for a specific error code and report them back to nagios with running totals, output for pnp4nagios included also
quick perl script to scrape http access logs for an error code and report them back to nagios with running totals

I used a handy little script called LogTail which allows you to only tail the file since the last time you looked at it so you only get the running totals since your last nagios check

Log tail can be found here:
http://www.adamsinfoserv.com/twiki/pub/AIX/AdminTools/logtail.pl

Also I have presumed logtail will be saved at ‘/usr/sbin/logtail’

I will provide an rpm for this shortly