getting DURATION error in hobbitd_alert

McGraw, Robert P rmcgraw at purdue.edu
Tue Sep 28 21:35:27 CEST 2010


In my hobbit-alert.cfg I have added the "DURATION>10" and I a get a Failed. See below.

If I make it DURATION<10, then I do not get an error.

Should the ">" be escaped? If so what is the escaped character for xymon.

I have tried DURATION\>10 but it did not seem to like the \ as an escape character.


Thanks for all your help.

Robert




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

_____________________________________________________________________
Robert P. McGraw, Jr.
Manager, Computer System                    EMAIL: rmcgraw at purdue.edu
Purdue University                            ROOM: MATH-807
Department of Mathematics                   PHONE: (765) 494-6055
150 N. University Street                      
West Lafayette, IN 47907-2067            
 




More information about the Xymon mailing list