processes probe exclude rule enhancement request

Idea created by David_Kim Employee on Apr 5, 2018
    Not planned
    Score1
    • David_Kim

    If you have exclude rule for a day, processes probe does not monitor for remaining days.

     

    Example:

    There is exclude time range rule, for Sunday 12:59 to 13:15, alert is triggered on Sunday if process is down but alert will not be generated on Monday - Saturday.

     

    The workaround is as follow.

    Customer can manually append a rule in cfg if customer is using exclude functionality.

          Customer can append |EXRULE:BYDAY=SU,MO,TU,WE,TH,FR,SA;BYHOUR=1;BYMINUTE=0;BYSECOND=0 in key "recurrent_event_spec" in cfg.

    <schedules>
       <name of schedule>
            recurrent_event_spec = /* you need to append the highlighted exclude rule here  */
       </name of schedule>
    </schedules>
    note:-
    "EXRULE:BYDAY=SU,MO,TU,WE,TH,FR,SA;BYHOUR=1;BYMINUTE=0;BYSECOND=0" this exclude rule excludes the time for just one second everyday at 01:00:00. 
    Just add |EXRULE:BYDAY=SU,MO,TU,WE,TH,FR,SA;BYHOUR=1;BYMINUTE=0;BYSECOND=0 in middle:-
    Example:
    recurrent_event_spec = RRULE:FREQ=MINUTELY;INTERVAL=1|EXRULE:BYDAY=SU;BYHOUR=3|EXRULE:BYDAY=SU,MO,TU,WE,TH,FR,SA;BYHOUR=1;BYMINUTE=0;BYSECOND=0|EXRULE:BYDAY=SU;BYHOUR=4;BYMINUTE=0
    However, if you change the exclude time in the probe GUI after appending a rule in the processes.cfg, you have to again perform the same.
    Please fix this defect.