[Nagiosplug-help] https problem using check_http

Chase Simms Csimm at pubpress.com
Thu Mar 18 17:30:23 CET 2010


Try this:

/usr/local/nagios/libexec/check_http --ssl -I 150.150.100.44 -u https://sbc-hrs-01:8443/index.html 

example for a commands.cfg file:
/nagios/libexec/check_http -w 5 -c 10 --ssl -I $HOSTADDRESS$  -u $ARG1$



>>> "Scott, Ewan" <EWScott at scotborders.gov.uk> 3/18/2010 11:51 AM >>>
Hi

I'm trying to check a JBoss server by accessing it's home page over https. The link works fine through a browser (https://sbc-hrs-01:8443/index.html ) but not with the nagios check_http plugin.

/usr/local/nagios/libexec/check_http -I 150.150.100.44 -u https://sbc-hrs-01:8443/index.html 
HTTP WARNING: HTTP/1.1 404 /index.html - 1182 bytes in 0.007 second response time |time=0.006620s;;;0.000000 size=1182B;;;0

Any ideas about this from the plugin point of view?

Versions:
Nagios - 3.2.0
Nagios Plugins 1.4.14

Regards
Ewan







**********************************************************************
This email and any files transmitted with it are privileged, confidential and subject to copyright. Any unauthorised use or disclosure of any part of this email is prohibited. If you are not the intended recipient please inform the sender immediately; you should then delete the email and remove any copies from your system.
The views or opinions expressed in this communication may not necessarily be those of Scottish Borders Council.
Please be advised that Scottish Borders Council's incoming and outgoing email is subject to regular monitoring and any email may require to be disclosed by the Council under the provisions of the Freedom of Information (Scotland) Act 2002.

**********************************************************************


------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev 
_______________________________________________
Nagiosplug-help mailing list
Nagiosplug-help at lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/nagiosplug-help 
::: Please include plugins version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null

The information in this email is intended for the sole use of the addressees and may be confidential and subject to protection under the law. If you are not the intended recipient, you are hereby notified that any distribution or copying of this email is strictly prohibited. If you have received this message in error, please reply and delete your copy.





More information about the Help mailing list