Nagios check a jsp file

Pantke, Cale Pantke.C at insightcom.com
Tue Jan 17 17:42:13 CET 2006


I have a link that looks like this http://hostnae:8080/login.jsp (I edited
the actual link on purpose) and I need to monitor that it is sending data
correctly when looking at it. I used the check_http command like this. 
status:/var/www# /opt/nagios/libexec/check_http -H 10.3.8.41 -u
http://hostnae:8080/login.jsp
HTTP CRITICAL: HTTP/1.1 500 Internal Server Error

However I know that when I go to that in a browser it pops up fine. Anyone
know of a solution to this? Is there a special plugin or command I can do
for a .jsp file? I looked for a plugin and I could only find "webinject"
which doesn't seem to work with Nagios.

-Cale


-------------------------------------------------------
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&kid=103432&bid=230486&dat=121642
_______________________________________________
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