check_http -s

Sean McAfee smcafee at collaborativefusion.com
Fri May 8 17:15:15 CEST 2009


Proskurin Kirill wrote:
> Hello all.
> 
> I try to add a check_http with expecting some word in a body.
> But:
> 
> 
> ./check_http -v -H example.com -u /some.jsp -P -s=ERROR
> 
> BUT it must be ERROR - not ok.
> What I do wrong?

The "-s=ERROR" is being POSTed because you're missing an argument for 
-P, making Nagios interpret the rest as the required string for -P.


-- 
Sean McAfee
System Engineer

Collaborative Fusion, Inc.
  smcafee at collaborativefusion.com
  412-422-3463 x 4025

5849 Forbes Avenue
Pittsburgh, PA 15217

****************************************************************
IMPORTANT: This message contains confidential information
and is intended only for the individual named. If the reader of
this message is not an intended recipient (or the individual
responsible for the delivery of this message to an intended
recipient), please be advised that any re-use, dissemination,
distribution or copying of this message is prohibited. Please
notify the sender immediately by e-mail if you have received
this e-mail by mistake and delete this e-mail from your system.
E-mail transmission cannot be guaranteed to be secure or
error-free as information could be intercepted, corrupted, lost,
destroyed, arrive late or incomplete, or contain viruses. The
sender therefore does not accept liability for any errors or
omissions in the contents of this message, which arise as a
result of e-mail transmission.
****************************************************************

------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
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