Hi all, 

I am trying to change the color of an alarm once it has been acknowledged.

I have copied the enumarated-severity-color-config.xml to custom/common/config 
directory and I have the following code in it

<case>
    <expression>
       attrInt(0x11f56) == 3 &amp;&amp; 
       attrInt(0x11f4d) == 1
    </expression>
    <yield>criticalack</yield>
</case>

<case>
    <expression>
       attrInt(0x11f56) == 3 &amp;&amp; 
       attrInt(0x11f4d) == 0
    </expression>
    <yield>critical</yield>
</case>        

 <scheme id="criticalack">
           <background>blue_cond_background</background>
           <foreground>white</foreground>
        </scheme>

        <scheme id="critical">
           <background>light_red_cond_background</background>
           <foreground>white</foreground>
        </scheme>

my first though was that attrib 0x11f4d is boolean hence I first put 
attrBoolean == true or attrBoolean == false but that didn't work. I could only 
load OneClick if I do an attrInt instead or attBoolean. Anyway after having the 
above code in enumarated-severity-color-config.xml the Alarms show with a white 
background and the one I acknowledged don't change background colors. Is there 
any way to change the color for an alarm once it has been acknowledged?

---
To unsubscribe from spectrum, send email to [email protected] with the body: 
unsubscribe spectrum [email protected]

Reply via email to