cont check regex problems

Kimberly McKinnis kmckinnis at
Wed Aug 27 01:25:06 CEST 2008

I'm not clear what I'm doing wrong in my cont check in bb-hosts, and I
was hoping someone could help me out. My regular expression works fine
in perl: perl -e '$text = join "", <>; if ($text =~
/assetID="[0-9A-Fa-f]{8}"/) { print "OK\n"; } else { print "NotOK\n"; }'
< /tmp/vodbrowser.php


However, bb-hosts line fails on the regex check:
seachange-vod   # testip


It *is* a webpage I'm trying to match... so the page starts with:

<title>VOD Interface</title>
<body bgcolor=white>
<h3 align=center>Vod Interface</h3>



However, I really only care if the assetID is being displayed.  Any











-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Xymon mailing list