[Nagiosplug-devel] [ nagiosplug-Feature Requests-647623 ] check_http content

SourceForge.net noreply at sourceforge.net
Tue Mar 4 16:25:13 CET 2003


Feature Requests item #647623, was opened at 2002-12-03 07:10
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=397600&aid=647623&group_id=29880

Category: None
Group: None
Status: Open
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
>Assigned to: Ton Voon (tonvoon)
Summary: check_http content 

Initial Comment:
Hi All,

I know that you can check to see if a certain string 
apears on a page using the check_http module and 
regex expressions, but when you have multiple 
databases that are in use, you never know which on will 
die and cause a problem. 

Writing a regex expression that caters for all cases can 
be a real pain. 

My solution is as follows : 

Allow two additional parameters --maxcontent and --
mincontent which specifies that the pages size returned 
from the web server should fall between these two 
ranges.

That way if you start getting DB connectin problems 
etc .. it is easy to spot because that page size does not 
fall within the threshhold. 

Thanks
Warrick FitzGerald

----------------------------------------------------------------------

>Comment By: Ton Voon (tonvoon)
Date: 2003-03-05 00:32

Message:
Logged In: YES 
user_id=664364

check_http v1.25 has a --min option to check for minimum amount of content (although I think --mincontent might be a better name...). Is this sufficient? I guess you shouldn't get a failure situation where the content exceeds a maximum value?

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=397600&aid=647623&group_id=29880




More information about the Devel mailing list