|
From: Subhendu G. <sg...@sg...> - 2002-09-02 16:16:23
|
On Mon, 2 Sep 2002, Rick . wrote: > Hi, > > I want to check for a string of text in a html page, if the string exists I > want to make netsaint send an alert email. > > The current command im using: > service[www.something.com]=check_for_error1;0;24x7;10;60;4;contactgroup1;60;24x7;1;1;1;;check_http!service[www.something.com$-I > www.something.com -p 80 -w 5 -c 10 -f follow -s temporarily unavailable > > This is the opposite to what I want, it raises an alert when this DOESN'T > exist, but I want to send an alert when this DOES exist in the html file. > > Can anyone help? The regex assumes ok if match. Is there something unique on the page when you do want to send an alert? -sg -- |