Nagios check a jsp file

Thibault GENESSAY tgenessay at aliadis.fr
Tue Jan 17 19:21:55 CET 2006


Marc Powell a écrit :

>Note that check_http has this (and more) functionality using the -e, -s,
>-r or -R parameters without the need to invoke two additional processes
>(python and lynx).
>
>--
>Marc 
>  
>
You are perfecly right; I should have commented a bit this script. Its 
purpose is to check a single site in a deep manner, and not tenth or 
hundreds of them (the process overhead would be annoying in this case). 
The rationale behind using lynx is that it is standards-compliant and 
provides neat features like simulating keystrokes, handling cookies and 
so on. The python script is just a sketch that should be further 
expanded to simulate an actual visit on the site.
If one needs advanced HTTP features to make a deep check of a (few) 
site(s), then one might use lynx/python or bash. If speed matters or the 
number of checks is high, one should go for check_http.

--
Thibault



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list