Hello,
can anybody help me to set up an alert?!
If I want to check the SERVICE "disk" on the client "galway" I cannot set the keyword COLOR to "yellow". With the value "red" there's all ok and the mail looks good.
./bbcmd hobbitd_alert --test galway disk Using default environment file /home/hobbit/server/etc/hobbitserver.cfg send_alert galway:disk state Paging Matching host:service:page 'galway:disk:Oberhaching' against rule line 120 *** Match with 'HOST=galway' *** Matching host:service:page 'galway:disk:Oberhaching' against rule line 121 Failed 'MAIL c.rehberger at oclcpica.org SERVICE=disk REPEAT=2 RECOVERED COLOR=yellow' (color)
./hobbitd_alert --test galway disk Using default environment file /home/hobbit/server/etc/hobbitserver.cfg send_alert galway:disk state Paging Matching host:service:page 'galway:disk:Oberhaching' against rule line 120 *** Match with 'HOST=galway' *** Matching host:service:page 'galway:disk:Oberhaching' against rule line 121 *** Match with 'MAIL c.rehberger at oclcpica.org SERVICE=disk REPEAT=2 RECOVERED COLOR=red' *** Mail alert with command 'mail -s "Hobbit [12345] galway:disk CRITICAL (RED)" c.rehberger at oclcpica.org'
Thanks and regards
Chris
-- Dipl. Ing. (FH) Christian Rehberger System Consultant · OCLC PICA GmbH Grünwalder Weg 28g · 82041 Oberhaching · Germany t +49-(0)89-61308 333 · f +49-(0)89-61308 399 e c.rehberger at oclcpica.org · w http://www.oclcpica.org
participants (1)
-
c.rehberger@oclcpica.org