Quantcast
Viewing all articles
Browse latest Browse all 20598

Re: is it possible to route a incoming alert to a group based on the current time ?

i thought i had a solution  , in orions alert manager -> alert sharing  , i added the two following variables:

 

day: ${AbbreviatedDayOfWeek}

hour: ${Hour}

 

so every alert has this two tags.

 

now to the alert routing ,this doesnt work as supposed :/

 

i have two groups "office hours" and "on call"

 

the background is that my "on call" group doesnt want any alerts during office hours ( 0800-1700) and the group "office hours" ONLY wants alerts during office hours ...make sence ?

 

so we have the following route to group:

 

by default "assignt the alert to "on call" , UNLESS

if ALL child rules match then assign the alert to "office hours"

--> if ANY child rule matches

-->-->if the text in ORION FIELD "day:" is "08"

-->-->if the text in ORION FIELD "day:" is "09"

-->-->if the text in ORION FIELD "day:" is "10"

-->-->if the text in ORION FIELD "day:" is "11"

-->-->if the text in ORION FIELD "day:" is "12"

-->-->if the text in ORION FIELD "day:" is "14"

-->-->if the text in ORION FIELD "day:" is "15"

-->-->if the text in ORION FIELD "day:" is "16"

--> if ANY child rule matches

-->-->if the text in Orion Field"hour:" is "mo"

-->-->if the text in Orion Field"hour:" is "tu"

-->-->if the text in Orion Field"hour:" is "we"

-->-->if the text in Orion Field"hour:" is "th"

-->-->if the text in Orion Field"hour:" is "fr"

 

 

----

 

so in a perfect world an alert saturday at 14:00 should route to "on call" group,  it doesnt ..it goes to the "office hour" group ...

 

 

does anyone else experienced a crappy route to group funcions?

 

/Peter


Viewing all articles
Browse latest Browse all 20598

Trending Articles