On May 8, 2009, at 12:41 PM, Proskurin Kirill wrote:
> But last strange thing - check returns OK if I expect ANY letter of
> "OKAY" word.
>
> ./check_http -v -H example.com -u /some.jsp -s K -- returns OK and so
> on. Bug?
No, not a bug. You're searching for 'K' and it is present in the word
Holger Weiss пишет:
> * Proskurin Kirill [2009-05-08 19:52]:
>> ./check_http -v -H example.com -u /some.jsp -s=OKAY
>
> Try "-s OKAY" or "--string=OKAY".
Thank you - it is works.
But last strange thing - check returns OK if I expect ANY letter of
"OKAY" word.
./check_http -v -H example.com -u
* Proskurin Kirill [2009-05-08 19:52]:
> ./check_http -v -H example.com -u /some.jsp -s=OKAY
Try "-s OKAY" or "--string=OKAY".
Holger
--
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
productio
Proskurin Kirill wrote:
> Sean McAfee wrote:
>> 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?
>> Th
Holger Weiss wrote:
> * Proskurin Kirill [2009-05-08 18:44]:
>> 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
>
> In this command line, "-s=ERROR" will be interpreted as an argument to
> the "-P" option, see the
Sean McAfee wrote:
> 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 becaus
* Proskurin Kirill [2009-05-08 18:44]:
> 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
In this command line, "-s=ERROR" will be interpreted as an argument to
the "-P" option, see the "--help" output:
$ check_http
HTTP reply 200 means that the webserver found the page you requested .
if you want to get an ERROR you should either point to a non existing page ,
which will give you
the 404 error ,
in the example you provide it seem you are trying to submit some string to the
jsp and expecting it
to retu
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 fo
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
POST /some.jsp HTTP/1.0
User-Agent: check_http/v2053 (nagios-plugins 1.4.13)
Connection: close
Host: example.com
Content-Type: application/x-www-form-urlencoded
I use webinject on the nagios monitoring server, you will need to create
one or two config xml files for it for each login. Get it to parse the
redirect result and test you got the right page returned. Also make sure
that the report type is set to nagios to supply the correct exit codes
and sin
Robertstad [mailto:[EMAIL PROTECTED]
Skickat: den 15 september 2006 02:24
Till: Kvam Lennart
Ämne: Re: [Nagios-users] check_http -S
Ahhh, now see that's different. :) What is it you get exactly as the output?
More then likely the website doesn't use the ssl login, maybe it's javascrip
02:15
Till: Kvam Lennart
Ämne: Re: SV: SV: SV: [Nagios-users] check_http -S
the -a is the authentication. Again, it's working fine, everything is "OK".
What more do you want from it? You have requested a url (-u), from a host (-H),
and have logged in with a username and password (-a
and the problem is...i can
> writ what I want in the user/passwd...still replyes OK
>
> //Lelle
>
> -Ursprungligt meddelande-
> Från: Eirik Robertstad [mailto:[EMAIL PROTECTED]
> Skickat: den 15 september 2006 01:53
> Till: Kvam Lennart
> Ämne: Re: SV: [Nagios-user
--onredirect=follow
--
The sender of this email subscribes to Perimeter Internetworking's email
anti-virus service. This email has been scanned for malicious code and is
believed to be virus free. For more information on email security please visit:
http://www.perimeterusa.com/malicious_code_def
Hello all you
gurus!
I´m struggling with
check_http...
i have a webbpage
(https) that i want to check and log in to! First, is it possible with
check_http?
Iv tested and read
but dont seems to figure it out!
This is what i run
from commandline!
./check_http -H www.xnterxxx.com -u
16 matches
Mail list logo