Xymon Mailing List Archive search

headercheck tag?

list Galen Johnson
Mon, 3 Feb 2014 21:22:52 +0000
Message-Id: <user-779c13c59ce7@xymon.invalid>

It's amazing how much better looking for the correct thing helps :-).  Don't know why this isn't sinking in...is there an example for using this with, say. post?

"post=newcolname;https://example.com/login;user=myid&password=mypass&locale=en_US;could not log on to the server"

where exactly would "headermatch" live?\

again...my brain is mush and not firing on all synapses ...

thx

=G=

From: Xymon <xymon-bounces at xymon.com> on behalf of Henrik Størner <user-ce4a2c883f75@xymon.invalid>
Sent: Monday, February 3, 2014 4:12 PM
To: xymon at xymon.com
Subject: Re: [Xymon] headercheck tag?
The 4.3.14 announcement mentioned a new headercheck tag was
added...however, I can't find any doc on how to use it.  I've grepped
the entire source for "headercheck" in 4.3.15 and it comes back empty.
I suspect this may be related to my xymonnet core dumps.
It is called "headermatch". If you put this on the entry in hosts.cfg,
then HTTP content checks will also look at the HTTP headers.

The hosts.cfg(5) man-page has it.


Regards,
Henrik