<div dir="ltr"><div><div><div><div><div><div>I'm working on metrics to track our response time to yellow alerts. <br><br></div>I can get the current state of the yellows on the board with  <br><br>/usr/local/xymon/server/bin/xymon localhost "xymondboard color=yellow fields=hostname,testname<br>
,color,lastchange,acktime<br><br></div>This will tell me f I have an un-acked yellow, and I know how long it's been yellow. <br>Now I want to sort these out by which group gets the alerts. <br>One way to find out is:<br>
<br>/usr/local/xymon/server/bin/xymond_alert --test $hostname $testname  --color=$color --duration=$duration  |grep "Mail alert" <br><br></div>and then parse the result for the destination group. But is there a way I can get that information directly from xymon? Or is it stored in some deep memory structure?<br>
<br></div>Just curious, it'd be cleaner code if the info can come from a query<br><br>thanks Betsy<br><br></div><div>(wishing it were easier to correlate ack info with color change info, the acklogs are in a separate space and format from the colors)<br>
</div></div></div>