Content check, exact match
list Johan Sjöberg
Mon, 31 Oct 2011 10:03:03 +0000
Message-Id: <user-c147c1e59c15@xymon.invalid>
Hi.
Found out that I could use the digest check for this.
/Johan
From: xymon-bounces at xymon.com [mailto:xymon-bounces at xymon.com] On Behalf Of Johan Sjöberg
Sent: den 31 oktober 2011 10:46
To: xymon at xymon.com
Subject: [Xymon] Content check, exact match
Hi.
I want to setup a content check that alerts if a web page does not contain exactly "OK" and nothing more. It should alert if it shows "OK_MASTEROFFLINE" for example. I tried setting the content to ^OK$, but that did not work.
Has anyone done this? Are there other characters I can use to specify start and end of the string?
/Johan