[Xymon] http content tests

Martin Flemming martin.flemming at desy.de
Tue Jan 17 17:40:38 CET 2012


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


More information about the Xymon mailing list