On Tue, Sep 28, 2010 at 3:35 PM, McGraw, Robert P <span dir="ltr"><<a href="mailto:rmcgraw@purdue.edu">rmcgraw@purdue.edu</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

In my hobbit-alert.cfg I have added the "DURATION>10" and I a get a Failed. See below.<br>
<br>
If I make it DURATION<10, then I do not get an error.<br>
<br>
Should the ">" be escaped? If so what is the escaped character for xymon.<br>
<br>
I have tried DURATION\>10 but it did not seem to like the \ as an escape character.<br>

<br>
Thanks for all your help.<br>
Robert<br>



<br>
[227][root@gauss]:xymon/server/etc# ../bin/bbcmd hobbitd_alert --test <a href="http://galileo.math.purdue.edu" target="_blank">galileo.math.purdue.edu</a> procs<br>
2010-09-28 15:17:54 Using default environment file /local/xymon/server/etc/hobbitserver.cfg<br>
00019860 2010-09-28 15:17:54 send_alert galileo.math.purdue.edu:procs state Paging<br>
00019860 2010-09-28 15:17:54 Matching host:service:page 'galileo.math.purdue.edu:procs:MathNet7' against rule line 120<br>
00019860 2010-09-28 15:17:54 *** Match with 'HOST=<a href="http://galileo.math.purdue.edu" target="_blank">galileo.math.purdue.edu</a>' ***<br>
00019860 2010-09-28 15:17:54 Matching host:service:page 'galileo.math.purdue.edu:procs:MathNet7' against rule line 121<br>
00019860 2010-09-28 15:17:54 Failed 'MAIL <a href="mailto:rmcgraw@math.purdue.edu">rmcgraw@math.purdue.edu</a> SERVICE=procs REPEAT=1h DURATION>10' (min. duration 0<600)<br>
                                                                                                                                                                     [228][root@gauss]:xymon/server/etc# ../bin/bbcmd hobbitd_alert --dump-config <a href="http://galileo.math.purdue.edu" target="_blank">galileo.math.purdue.edu</a> procs<br>


2010-09-28 15:18:03 Using default environment file /local/xymon/server/etc/hobbitserver.cfg<br>
HOST=<a href="http://galileo.math.purdue.edu" target="_blank">galileo.math.purdue.edu</a><br>
        MAIL <a href="mailto:rmcgraw@math.purdue.edu">rmcgraw@math.purdue.edu</a> FORMAT=TEXT REPEAT=60 SERVICE=procs DURATION>10<br>
<br>
_____________________________________________________________________<br>
Robert P. McGraw, Jr.<br>
Manager, Computer System                    EMAIL: <a href="mailto:rmcgraw@purdue.edu">rmcgraw@purdue.edu</a><br>
Purdue University                            ROOM: MATH-807<br>
Department of Mathematics                   PHONE: (765) 494-6055<br>
150 N. University Street<br>
West Lafayette, IN 47907-2067<br>
<br><br></blockquote></div><br clear="all">Robert, no need to escape the '>'.  On your hobbitd_alert --test command add the parameter --duration=601
<div><br></div><div>e.g.</div><div><br></div><div>../bin/bbcmd hobbitd_alert --test <a href="http://galileo.math.purdue.edu/" target="_blank">galileo.math.purdue.edu</a> procs </div><div>--duration=601</div><div><br></div>

<div>(that is all one line, of course :-).</div><div><br></div><div>The 601 makes the test work as if the alert was in effect for 10 minutes and one second which will match on your DURATION>10 spec. </div><div><br></div>

<div>Steve</div><div>ITaP/ITSO/Unix Systems Administration</div><div>Purdue University</div>