1 Reply Latest reply on Sep 18, 2014 3:45 AM by v34

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

    v34

      anyone done this ? is it possible ?

       

      /P

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

          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

          1 of 1 people found this helpful