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,
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
* Proskurin Kirill proskurin...@fxclub.org [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:
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 because you're missing an
Holger Weiss wrote:
* Proskurin Kirill proskurin...@fxclub.org [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,
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?
The -s=ERROR is being POSTed because
* Proskurin Kirill proskurin...@fxclub.org [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
Holger Weiss пишет:
* Proskurin Kirill proskurin...@fxclub.org [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
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
'OKAY'
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
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
--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:
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-users] check_http -S
K... I'm not sure what the problem is here? Your results came back
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 user:pass), and have
:[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 javascript
or such. In that case you
15 matches
Mail list logo