[Nagiosplug-help] check_apache woes

Ian Rarity Ian.Rarity at espc.com
Tue Jul 10 17:52:46 CEST 2007


Hi,

I'm trying to use check_apache to monitor the load on one of our Apache servers.  I'm having trouble getting any kind of useful information out of the plugin, though; some example responses are:

# ./check_apache.pl -H 172.16.1.5
HTTPD CRITICAL: average response time 147967637

# ./check_apache.pl -H 172.16.1.5 -w 70 -c 90
HTTPD ok: average response time 0 milliseconds

# ./check_apache.pl -H 172.16.1.5 -l -w 70 -c 90
Unknown Status

# ./check_apache.pl -H 172.16.1.5 -w 70 -c 90 -u /server-status?auto
Illegal division by zero at ./check_apache.pl line 208.

#./check_apache.pl -H 172.16.1.5 -l -u /server-status?auto
Unknown Status

Can anyone tell what I might be doing wrong?  The apache install definitely has mod_status configured correctly, as the status page is visible at the URL in example 4 above.  Some other information:

Nagios version: 1.2 (yes, I know.)
Perl version (on the Nagios box): 5.8.5
Plugins version: 1.4.2
Apache version: 2.2.3 (on the server I'm trying to monitor)
Linux version: 2.6.8-24.18 (also on the server I'm trying to monitor)

Thanks,
Ian.

*********************************
Ian Rarity
Technical Engineer
ESPC (UK) Ltd.
T: (44)131 624 8000
F: (44)131 624 8509
http://www.espc.com


*******************************************************************
Private and Confidential:  This e-mail transmission is strictly 
confidential and intended solely for the addressee.  It may contain
privileged and confidential information and if you are not the 
intended recipient, you must not copy, disclose, distribute or 
take any action in reliance on it. If you have received this 
e-mail in error, please delete it and notify our E-mail Systems 
Administrator on +44 (0) 131 624 8000. ESPC (UK) Ltd does not 
accept any liability for any harm that may be caused to the 
recipient's system or data by this message or any attachment. 

ESPC (UK) Ltd is a company registered under the Companies 
Acts in Scotland (Registered Number SC203535), and having its
registered office at 90A George Street, Edinburgh, Midlothian 
EH2 3DF.

ESPC (UK) Limited is authorised and regulated by the Financial 
Services Authority.

______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
______________________________________________________________________




More information about the Help mailing list