check_apachestatus - Can it alert on "Sending_Reply"

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
ecarrasq
Posts: 244
Joined: Tue Feb 22, 2011 5:58 pm

check_apachestatus - Can it alert on "Sending_Reply"

Post by ecarrasq »

Linux Distribution and version? CentOS, 2.6.18-308.8.2.el5PAE
32 or 64bit? 32bit
VMware Image or Manual Install of XI? VMware Image
Are there specials configurations on your system, ie; is Gnome installed? No
Are you using a proxy? No
Are you using SSL? Yes
Nagios Version? Nagios XI 2012R1.6

Can the check_apachestatus alert on "Sending_Reply". It has the option to list the info in perfdata, but how can we get alerts if the numbers of Sending_Reply's go up?

http://exchange.nagios.org/directory/Pl ... us/details

Apache Monitor for Nagios version 1.1
GPL licence, (c)2006-2007 De Bodt Lieven

Usage: /usr/local/nagios/libexec/check_apachestatus.pl -H -p -t -w -c -V
-h, --help
print this help message
-H, --hostname=HOST
name or IP address of host to check
-p, --port=PORT
Http port
-t, --timeout=INTEGER
timeout in seconds (Default: 15)
-w, --warn=MIN
number of available slots that will cause a warning
-1 for no warning
-c, --critical=MIN
number of available slots that will cause an error
-V, --version
prints version number
Note :
The script will return

* Without warn and critical options:

OK if we are able to connect to the apache server's status page,
CRITICAL if we aren't able to connect to the apache server's status page,,

* With warn and critical options:

OK if we are able to connect to the apache server's status page and #available slots > ,
WARNING if we are able to connect to the apache server's status page and #available slots


Thanks,
Eddie
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: check_apachestatus - Can it alert on "Sending_Reply"

Post by lmiltchev »

It don't believe this is possible the way this plugin is written, without making mods to it. I would recommend contacting the developer of the plugin. You can post your question on the Nagios Exchange:

http://exchange.nagios.org/directory/Pl ... us/details

or if you have a perl developer, you may make some mods yourself. Here's the plugin development guidelines documentation:

http://nagiosplug.sourceforge.net/devel ... lines.html

Hope this helps.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked