Hey.
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.
=G=
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
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 <henrik at hswn.dk> 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
Xymon mailing list Xymon at xymon.com http://lists.xymon.com/mailman/listinfo/xymon
Den 03-02-2014 22:22, Galen Johnson skrev:
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?\
just by itself. Like
0.0.0.0 www.example.com # noconn headermatch
"post=login;https://example.com/login;user=myid&password=mypass&locale=en_US;could
not log on to the server"
But note my other mail to you with a fix for the xymonnet crash. Didn't quite get it right the first time.
Regards, Henrik
Until you mentioned it, I did not see it since Outlook is the opposite of useful...I dug it up and applied it. No core dumps so far. Tests appear to be working. Likely unrelated but I did notice some files in my tmp folder that didn't look quite right (http..status and frequenttest.) that I've not noticed before.
=G=
From: Henrik Størner <henrik at hswn.dk> Sent: Monday, February 3, 2014 4:26 PM To: Galen Johnson; xymon at xymon.com Subject: Re: [Xymon] headercheck tag?
Den 03-02-2014 22:22, Galen Johnson skrev:
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?\
just by itself. Like
0.0.0.0 www.example.com # noconn headermatch \
"post=login;https://example.com/login;user=myid&password=mypass&locale=en_US;could not log on to the server"
But note my other mail to you with a fix for the xymonnet crash. Didn't quite get it right the first time.
Regards, Henrik
participants (2)
-
Galen.Johnson@sas.com
-
henrik@hswn.dk