Xymon Mailing List Archive search

http content tests

list Martin Flemming
Tue, 17 Jan 2012 17:40:38 +0100 (CET)
Message-Id: <user-9751629973b3@xymon.invalid>

On Tue, 17 Jan 2012, Neil Simmonds wrote:
I’m trying to do a content test on a webpage. Looking at www.xymon.com I find the following in the hosts.cfg,

 

cont=webmail;https://webmail.hswn.dk/squirrelmail/src/login.php;HSWN

 

however I have the following in my hosts.cfg

 

cont;http://ukxxxxxx01/xx/test.jsp?number=22;23

 

As far as I can see this should return red as the content does not contain 23 but it stays green.

 

The page source that comes back from this jsp is just 22 (or whatever number you put in the test.
Maybe you try

cont=http://ukxxxxxx01/xx/test.jsp?number=22;23

cheers,

        Martin