<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:10px"><div dir="ltr" id="yui_3_16_0_1_1425564194799_11546">is there  a way to mix a --test page check between alert colours?<br><br>I can use eg<br></div><div dir="ltr" id="yui_3_16_0_1_1425564194799_11669"><br></div><div dir="ltr" id="yui_3_16_0_1_1425564194799_11668">server/bin/xymond_alert --test TESTBOX  http --color=yellow --duration=120 --time=1425224089  </div><div dir="ltr" id="yui_3_16_0_1_1425564194799_11648">server/bin/xymond_alert --test TESTBOX  http --color=red --duration=2 --time=1425224089 </div><div dir="ltr" id="yui_3_16_0_1_1425564194799_11649"> </div><div dir="ltr" id="yui_3_16_0_1_1425564194799_11650"><br></div><div dir="ltr" id="yui_3_16_0_1_1425564194799_11682"><br></div><div dir="ltr" id="yui_3_16_0_1_1425564194799_11684">but I want to check a combination of the two - when the two hour yellow alert (set to not page) is followed by the tow minute red alert (which shoud not page for 30 minutes)</div><div dir="ltr" id="yui_3_16_0_1_1425564194799_11727"><br></div><div dir="ltr" id="yui_3_16_0_1_1425564194799_11729">The context of this is that we are being paged for the red alert which in itself has not reached the 30 minute duration configured and we belive its because the red iummediately follows the yellow and the COMBINED alert duration exceeds 30 minutes.</div><div dir="ltr" id="yui_3_16_0_1_1425564194799_11826"><br></div><div dir="ltr" id="yui_3_16_0_1_1425564194799_11823">the alerts.cfg entry is</div><div dir="ltr" id="yui_3_16_0_1_1425564194799_11734"><br></div><div dir="ltr" id="yui_3_16_0_1_1425564194799_11615">HOST=TESTBOX SERVICE=http TIME=w:0000:0759,w:1830:2359,06:0000:2359 COLOR=red<br class="">  MAIL check@xxx.co.uk DURATION>30m REPEAT=15<br class=""><br class=""></div><div dir="ltr" id="yui_3_16_0_1_1425564194799_11613">the --test paging check works as expected and correctly  for color=red and testing with durations of 29 and 31 minutes The http check itself is an external script which has worked fine for years and years and years.  it is purely this combination of yellow and red alerts that we suspect is the reason for our otherwise unexpected paging (unexpected throughout naivety I hasten to add :-)</div><div dir="ltr" id="yui_3_16_0_1_1425564194799_11845"><br></div><div dir="ltr" id="yui_3_16_0_1_1425564194799_11856">cheers</div><div dir="ltr" id="yui_3_16_0_1_1425564194799_11854"><br></div><div dir="ltr" id="yui_3_16_0_1_1425564194799_11847">ian</div></div></body></html>