17 Jan
2012
17 Jan
'12
4:40 p.m.
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