Hi,
I have configured some health configuration as attached and below. My
aim was to get a alert if there is a hung event/ time taking event in
the ques.But this configuration shows green state in dev even though
there is no events. but when i use same in prod and if there is no
events gives me a red state.
Please suggest where i am missing.


<?xml version="1.0" encoding="UTF-8"?><manifest>
<health-config>
<green>
<and>
<and>
<driver-state state="running"/>
<in-cache-overflow state="false"/>
<unprocessed-size op="lt" value="2000000"/>
</and>
<and>
<transactions op="gt" over-last="10"
source="subscriber-reported-events" transaction="total" value="0"/>
<sample-history minutes="10" op="lt"/>
</and>
<and>
<transactions op="gt" over-last="10"
source="publisher-reported-events" transaction="total" value="0"/>
<sample-history minutes="10" op="lt"/>
</and>
<and>
<oldest ms="600000" op="newer"/>
<newest ms="300000" op="newer"/>
</and>
</and>
<actions>
<generate-event id="1001" level="log-alert">
<event-arguments>
<event-argument name="Driver in green State" value="1"/>
</event-arguments>
</generate-event>
</actions>
</green>
<yellow>
<and>
<and>
<in-cache-overflow state="true"/>
<unprocessed-size op="lt" value="5000000"/>
</and>
<and>
<transactions op="gt" over-last="20"
source="publisher-reported-events" transaction="total" value="0"/>
<sample-history minutes="20" op="lt"/>
</and>
<and>
<transactions op="gt" over-last="20"
source="subscriber-reported-events" transaction="total" value="0"/>
<sample-history minutes="20" op="lt"/>
</and>
<and>
<oldest ms="1200000" op="newer"/>
</and>
</and>
<actions>
<generate-event id="1001" level="log-warning">
<event-arguments>
<event-argument name="Driver in Yellow State" value="1"/>
</event-arguments>
</generate-event>
</actions>
</yellow>
<red>
<actions>
<generate-event id="1001" level="log-critical">
<event-arguments>
<event-argument name="Driver is in Red State" value="1"/>
</event-arguments>487
</generate-event>
</actions>
</red>
</health-config>
</manifest>

Thanks
Suprit


+----------------------------------------------------------------------+
|Filename: DriverInDev.PNG |
|Download: https://forums.netiq.com/attachment....tachmentid=487 |
+----------------------------------------------------------------------+

--
suprit89
------------------------------------------------------------------------
suprit89's Profile: https://forums.netiq.com/member.php?userid=10981
View this thread: https://forums.netiq.com/showthread.php?t=56652