Foglight uses alarm templates to gather alarm rules into a domain-specific template that is easily modified and applied to targets.
For some database cartridges such as SQL Server and Oracle, you can customize how the alarms generated by the default rules are triggered and displayed by assigning alarm templates via the Alarm Template Settings tab.
You can apply an existing template, create a new template using an existing template as a reference, or create a template based on an agent.
All changes to alarm templates apply to the selected agents.
Avoid editing Foglight rules in the Administration | Rules & Notifications | Rule Management dashboard. Default rules may be modified during regular software updates and your edits will be lost. Always use the Alarm Templates dashboard.
Your changes are saved separately and applied over the default rules. This protects you from software upgrades that may change the underlying default rules.
You can override the alarm rules for the selected agents by assigning an alarm template.
You can use the template to enable or disable alarms for all rules or an individual rule, or to change the threshold values of an alarm rule
To assign an existing alarm template:
- In the Alarms view, click the Alarm Template Settings tab.
- Select Assign a template to selected agent(s)
- Do one of the following:
- Select an alarm template from the drop-down
- Click Save and Navigate.
OR - Select Create a new template from the drop-down. This will allow you to create a new template based of an existing template.
- In the Clone from field, select the template to copy.
- Enter a name for the new template.
- Click Save and Navigate.
- The template will be displayed in the Alarm Template dashboard. Refer to Viewing, Creating, and Managing Alarm Templates in the Foglight 6.0 User Guide for more information on editing alarm templates.
The following video details how to assign an existing alarm template to a database agent through the administration dashboard.