Xymon Mailing List Archive search

questions on cont test

2 messages in this thread

list Marco Avvisano · Mon, 21 Feb 2005 11:48:38 +0100 ·
Someone know if is possible, using cont test, to check the content of the
header?

In bb i use curl -i to get the http header.

It's possible also to add others http code status ?

there is the way to add an option, to not show the url and the output of the
cont test ( i use it to check intranet applications, or admin test
applications)

thanks for help


Marco
list Henrik Størner · Mon, 21 Feb 2005 15:58:56 +0100 ·
quoted from Marco Avvisano
On Mon, Feb 21, 2005 at 11:48:38AM +0100, Marco Avvisano wrote:
Someone know if is possible, using cont test, to check the content of the
header?
You can check the content-type header with the "type" check, see
the bb-hosts man-page. But there's not a general mechanism to look at
any random header-value.
It's possible also to add others http code status ?
No.
quoted from Marco Avvisano
there is the way to add an option, to not show the url and the output of the
cont test ( i use it to check intranet applications, or admin test
applications)
No. My best advice is to put them on a separate page in BB and control
access to that page via .htaccess files or such.


Henrik