[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Alert and keyword COLOR
- To: hobbit (at) hswn.dk
- Subject: Alert and keyword COLOR
- From: Christian Rehberger <c.rehberger (at) oclcpica.org>
- Date: Fri, 29 Sep 2006 15:40:43 +0200
- Organization: OCLC PICA GmbH
- User-agent: KMail/1.8
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