Xymon Mailing List Archive search

configuration of alerting

list Martin Flemming
Thu, 19 Nov 2009 21:48:46 +0100 (CET)
Message-Id: <user-a3bfc232ee37@xymon.invalid>

Hi !

.. only for debugging ...

You can check alerts with

/usr/lib/hobbit/server/bin/bbcmd hobbitd_alert --debug --test HOST SERVICE --cifs

and you can see why/what does('nt) trigger the alert


cheers,

 	martin


On Thu, 19 Nov 2009, Kevin Kelly wrote:
Does anyone have a suggestion for this?


I want to be able to send only certain disk and proc alerts to specific
groups. So in the example configuration below, I want to send alerts on
/appfilesystem to the server1 group, but when the file system turns red,
it goes the admin group only, instead of the server1 group.


The other is with procs. I wish to only have alerts defined(test) go to
server1 group with the exception of the time on Sunday mornings. But the
way I have it, they would also get alerts when sendmail goes red.


Hobbit-clients.cfg

HOST=server1

       PROC    test

       DISK    /appfilesystem  75 85 group=server1


DEFAULT

               DISK       *  85 95

               PROC     sendmail


Hobbit-alerts.cfg

HOST=server1 COLOR=yellow EXTIME=0:0255:0335

#       MAIL user-2a94730ebdd3@xymon.invalid FORMAT=PLAIN SERVICE=procs DURATION>5


HOST=* COLOR=red

     MAIL user-b8d5edc5c44f@xymon.invalid FORMAT=PLAIN SERVICE=disk,proc DURATION>5


GROUP=server1

       MAIL user-2a94730ebdd3@xymon.invalid REPEAT=60 FORMAT=PLAIN DURATION>5