[Nagiosplug-help] Checking URL for Content that requries password

Holger Weiss holger at CIS.FU-Berlin.DE
Wed Oct 3 20:32:50 CEST 2007


* Jason Martin <jhmartin at toger.us> [2007-10-03 11:26]:
> On Wed, Oct 03, 2007 at 07:19:11PM +0100, tom.welsh at bt.com wrote:
> > Take a look at check_http I think that will do exactly what you want out
> > off the box.
> >
> > Here is an example off some stuff I do.
> >
> > ./check_http -H someurl.com  --authorization=username:password
> > --url=/wiki/index.php/Main_Page --string='Welcome to' -w 5 -c 7
>
> This uses HTTP authentication, but I believe the OP needed to
> essentially 'post' a name/password *form* from a page, not HTTP
> auth. Think hotmail.com, for example.

"check_http -P 'foo' ..." should do the trick, see "check_http --help".

Holger




More information about the Help mailing list