This article describes how to work with Office Hours events, and includes the following:
- What are Office Hour Events?
- How to use Office Hour Events
- Other things to consider
- Common questions
What are Office Hour Events?
Office Hour events enable you to pause alert triggers during a specified period. Anodot continues to learn the metrics during this period.
Like Suppress events, the events need to include a "startTime" and “endTime” with the relevant values, either in the same event, or by using a closing event. Once the event takes place, no triggers are sent (as in a "do not disturb" scenario for the defined hours).
In addition, you can define multiple office hour conditions for an alert (see Defining Advanced Alert Conditions).
Use case example of Office Hour Events
You may have limited personnel during certain hours, or have certain periods of the week (such as the weekend or night-time) when you know that any triggered alerts will not require immediate attention. In this case, you can turn off alerts for the relevant period using Office Hours events.
Note that when using Office Hours events, the entire alert is paused for the duration stated in the event.
How to use Office Hour Events
There are several steps needed to get up and running with Office Hour events:
- Inject the events as soon as you know them with the most accurate "startTime" and "endTime" indication. Remember to set the type as "Office hours" and the action as "start" or "stop".
- Select the Office Hours event condition for the relevant alert.
- Add the same condition to the display condition, so you will be able to get the events included with the triggers you get from Anodot.
Other things to consider
- The same functionality of "pausing" alert triggers for a defined period can be achieved using suppress events. However, suppress events stop the alerts and Anodot's metric learning capability.
- The pause/resume is done at the alert configuration level; when creating or editing an alert, define the Office Hours events as required. See Creating New Alerts and Defining Advanced Alert Conditions for more details.
- Office Hours events can also be used in a display and influencing events conditions. For more information, see here
Common questions
This section includes some common questions (and their answers) you might have regarding Office Hour events.
- If an Office Hour event pauses an alert trigger, is it possible to review the reason for not getting the alert?
- Is it possible to "pause" all the metrics except for one?
- How do I get this to work in an on-prem environment?
If an Office Hour event pauses an alert trigger, is it possible to review the reason for not getting the alert?
The Office Hours condition is yet another condition included in the alert and is not recorded as an unsent trigger. However, if some of the alert metrics were triggered and sent, and the event was included in the display condition, it will be shown in such triggers.
Is it possible to "pause" all the metrics except for one?
The current solution is to exclude the exceptional metrics and put them in a different alert, without the Office Hours events linked to it. The "pause" impacts the entire alert, so you need to exclude those metrics that you don't want to pause.
How do I get this to work in an On Prem environment?
Office Hours events will be supported in future On Prem versions.