Add new Rules
Last updated
Last updated
Before adding new Rule, you should create a new Rule entry.
1. Click to Rules on the left pane.
2. On Rules Management screen, click Add (+) button on the right top section.
3. Select type of Rule.
4. Fields will change based on type.
Refer to the following table to understand the fields of inventory type in the above screen.
Fields | Description |
---|---|
Name | A label or name that is assigned to a Rule. |
Severity | Select a proper severity. · Critical · High · Medium · Low |
Groups | This field is Global by default. It cannot be changed. |
Modules | Select a proper module from dropdown. |
Parent Group | Select a proper parent group from dropdown. |
Filter | Condition of the rule will be defined in this field. Select a proper field and condition. And/or statements Add Rule/Add Group statement can be added. |
Trigger | Select a proper trigger from dropdown. · When condition occurs · If the condition returns no result · If the condition returns x or more results |
Refer to the following table to understand the fields of trigger in the above screen.
Fields | Description |
---|---|
State Changes | Select a proper option from dropdown. · Ignore state change: If selected column is changed don't notify · Notify on state change: If selected column is changed notify |
State Column | Select a proper state column from dropdown. |
Set a reminder for every... | Select a proper time option from dropdown. If condition is not resolved notify every selected time range. |
Resolve Condition | Select a proper module from dropdown. · If the rule does not match the condition. · If the rule match the custom condition. Create a resolve condition. |
Refer to the following table to understand the fields of trigger in the above screen.
Fields | Description |
---|---|
Set a reminder for every... | Select a proper time option from dropdown. If condition is not resolved notify every selected time range. |
Resolve Condition | Select a proper module from dropdown. · If the rule does not match the condition. · If the rule match the custom condition. Create a resolve condition. |
Refer to the following table to understand the fields of trigger in the above screen.
Fields | Description |
---|---|
State Changes | Select a proper option from dropdown. · Ignore state change: If selected column is changed don't notify · Notify on state change: If selected column is changed notify |
State Column | Select a proper state column from dropdown. |
Set a reminder for every... | Select a proper time option from dropdown. If condition is not resolved notify every selected time range. |
Aggregation | Select a proper state column from dropdown · Last · First |
Event Count | Set the count of repetitions before the rule activeness. |
Resolve Condition | Select a proper module from dropdown. · If the rule does not match the condition. · If the rule match the custom condition. Create a resolve condition. |
Counter type mostly using for combining different types of condition.
Refer to the following table to understand the fields of counter type in the above screen.
Fields | Description |
---|---|
Name | A label or name that is assigned to a Rule. |
Severity | Select a proper severity. · Critical · High · Medium · Low |
Groups | Select a proper groups from dropdown. |
Modules | This field is All by default. It cannot be changed. |
Parent Group | Select a proper parent group from dropdown. |
Filter | Condition of the rule will be defined in this field. Select a proper field and condition. And/or statements Add Rule/Add Group statement can be added. Firstly, counter must be selected (1), then value must be assigned (2) |
Trigger | Select a proper trigger from dropdown. · When condition occurs · If the condition persists for · If the condition returns no results |
Refer to the following table to understand the fields of trigger in the above screen.
Fields | Description |
---|---|
Set a reminder for every... | Select a proper time option from dropdown. If condition is not resolved notify every selected time range. |
Notification Delivery | Select a proper option from dropdown. · Per count · Per Incident |
Fix Count | If you want to avoid from too many down/resolved notifications, you can use fix count. If notification rule item is down, you can use fix count option to ignore X times of healthier samples. For example: · If fix count is 0, down down up down down down up -> will set status as resolved for first and second up. · If fix count is 1, down down up down down up down -> will not set any resolved. · If fix count is 1, down down up up down down up down -> will set resolved for up up, but not for down up down. |
When counter matches with the condition, use.. | This field is active when notification delivery is Per Count, Select a proper option from dropdown. · If defined, use Counter Threshold, otherwise use Rule Severity · Counter Threshold · Rule Severity |
Resolve Condition | Select a proper module from dropdown. · If the rule does not match the condition. · If the rule match the custom condition. Create a resolve condition. |
Refer to the following table to understand the fields of trigger in the above screen.
Fields | Description |
---|---|
Time frame | Select a proper time frame |
Set a reminder for every... | Select a proper time option from dropdown. If condition is not resolved notify every selected time range. |
Notification Delivery | Select a proper option from dropdown. · Per count · Per Incident |
Fix Count | If you want to avoid from too many down/resolved notifications, you can use fix count. If notification rule item is down, you can use fix count option to ignore X times of healthier samples. For example: · If fix count is 0, down down up down down down up -> will set status as resolved for first and second up. · If fix count is 1, down down up down down up down -> will not set any resolved. · If fix count is 1, down down up up down down up down -> will set resolved for up up, but not for down up down. |
When counter matches with the condition, use.. | This field is active when notification delivery is Per Count, Select a proper option from dropdown. · If defined, use Counter Threshold, otherwise use Rule Severity · Counter Threshold · Rule Severity |
Resolve Condition | Select a proper module from dropdown. · If the rule does not match the condition. · If the rule match the custom condition. Create a resolve condition. |
Refer to the following table to understand the fields of trigger in the above screen.
Fields | Description |
---|---|
Set a reminder for every... | Select a proper time option from dropdown. If condition is not resolved notify every selected time range. |
Resolve Condition | Select a proper module from dropdown. · If the rule does not match the condition. · If the rule match the custom condition. Create a resolve condition. |
Analytics type mostly using for creating log condition.
Refer to the following table to understand the fields of counter type in the above screen.
Fields | Description |
---|---|
Name | A label or name that is assigned to a Rule. |
Severity | Select a proper severity. · Critical · High · Medium · Low |
Groups | This field is Global by default. It cannot be changed. |
Definitions | Select a proper definitions from dropdown. |
Parent Group | Select a proper parent group from dropdown. |
Filter | Condition of the rule will be defined in this field. Select a proper field and condition. And/or statements Add Rule/Add Group statement can be added. |
Trigger | Select a proper trigger from dropdown. · When condition occurs · If the condition occurs x or more in the last · If the condition returns no results in the last |
Refer to the following table to understand the fields of trigger in the above screen.
Fields | Description |
---|---|
Resolve the issue if there no event for | This field only active when resolve condition is if the rule remains active for the specified period of time. Select a proper time option from dropdown. If condition is not matching for selected time period then resolve the event |
When a new event arrives | This field only active when resolve condition is if the rule remains active for the specified period of time. Select a proper option from dropdown. · Do not notify · Notify |
Resolve Condition | Select a proper module from dropdown. · If the rule remains active for the specified period of time. · If the rule match the custom condition. Create a resolve condition. |
Refer to the following table to understand the fields of trigger in the above screen.
Fields | Description |
---|---|
Time frame | Select a proper time frame |
Set a reminder for every... | Select a proper time option from dropdown. If condition is not resolved notify every selected time range. |
Event Count | Set the count of repetitions before the rule activeness. |
Aggregation | Select a proper state column from dropdown · Last · First |
Resolve the issue if there no event for | This field only active when resolve condition is if the rule remains active for the specified period of time. Select a proper time option from dropdown. If condition is not matching for selected time period then resolve the event |
When a new event arrives | This field only active when resolve condition is if the rule remains active for the specified period of time. Select a proper option from dropdown. · Do not notify · Notify |
Resolve Condition | Select a proper module from dropdown. · If the rule remains active for the specified period of time. · If the rule match the custom condition. Create a resolve condition. |
Refer to the following table to understand the fields of trigger in the above screen.
Fields | Description |
---|---|
Time frame | Select a proper time frame |
Set a reminder for every... | Select a proper time option from dropdown. If condition is not resolved notify every selected time range. |
Resolve the issue if there no event for | This field only active when resolve condition is if the rule remains active for the specified period of time. Select a proper time option from dropdown. If condition is not matching for selected time period then resolve the event |
When a new event arrives | This field only active when resolve condition is if the rule remains active for the specified period of time. Select a proper option from dropdown. · Do not notify · Notify |
Resolve Condition | Select a proper module from dropdown. · If the rule remains active for the specified period of time. · If the rule match the custom condition. Create a resolve condition. |
SQL Content type mostly using for creating conditions by query.
Refer to the following table to understand the fields of counter type in the above screen.
Fields | Description |
---|---|
Name | A label or name that is assigned to a Rule. |
Severity | Select a proper severity. · Critical · High · Medium · Low |
Groups | This field is Global by default. It cannot be changed. |
Definitions | Select a proper definitions from dropdown. |
Parent Group | Select a proper parent group from dropdown. |
Query | Write your condition by query |
Trigger | Select a proper trigger from dropdown. · When condition occurs · If the condition occurs x or more in the last · If the condition returns no results in the last |
Refer to the following table to understand the fields of trigger in the above screen.
Fields | Description |
---|---|
Resolve the issue if there no event for | This field only active when resolve condition is if the rule remains active for the specified period of time. Select a proper time option from dropdown. If condition is not matching for selected time period then resolve the event |
When a new event arrives | This field only active when resolve condition is if the rule remains active for the specified period of time. Select a proper option from dropdown. · Do not notify · Notify |
Resolve Condition | Select a proper module from dropdown. · If the rule remains active for the specified period of time. · If the rule match the custom condition. Create a resolve condition. |
Refer to the following table to understand the fields of trigger in the above screen.
Fields | Description |
---|---|
Time frame | Select a proper time frame |
Set a reminder for every... | Select a proper time option from dropdown. If condition is not resolved notify every selected time range. |
Event Count | Set the count of repetitions before the rule activeness. |
Aggregation | Select a proper state column from dropdown · Last · First |
Resolve the issue if there no event for | This field only active when resolve condition is if the rule remains active for the specified period of time. Select a proper time option from dropdown. If condition is not matching for selected time period then resolve the event |
When a new event arrives | This field only active when resolve condition is if the rule remains active for the specified period of time. Select a proper option from dropdown. · Do not notify · Notify |
Resolve Condition | Select a proper module from dropdown. · If the rule remains active for the specified period of time. · If the rule match the custom condition. Create a resolve condition. |
Refer to the following table to understand the fields of trigger in the above screen.
Fields | Description |
---|---|
Time frame | Select a proper time frame |
Set a reminder for every... | Select a proper time option from dropdown. If condition is not resolved notify every selected time range. |
Resolve the issue if there no event for | This field only active when resolve condition is if the rule remains active for the specified period of time. Select a proper time option from dropdown. If condition is not matching for selected time period then resolve the event |
When a new event arrives | This field only active when resolve condition is if the rule remains active for the specified period of time. Select a proper option from dropdown. · Do not notify · Notify |
Resolve Condition | Select a proper module from dropdown. · If the rule remains active for the specified period of time. · If the rule match the custom condition. Create a resolve condition. |
SQL Content type mostly using for creating conditions by query.
Refer to the following table to understand the fields of counter type in the above screen.
Fields | Description |
---|---|
Name | A label or name that is assigned to a Rule. |
Severity | Select a proper severity. · Critical · High · Medium · Low |
Groups | This field is Global by default. It cannot be changed. |
Definitions | Select a proper definitions from dropdown. |
Parent Group | Select a proper parent group from dropdown. |
Query | Condition of the rule will be defined in this field. Select a proper field and condition. And/or statements Add Rule/Add Group statement can be added. |
Trigger | Select a proper trigger from dropdown. · When condition occurs · If the condition occurs x or more in the last · If the condition returns no results in the last |
Refer to the following table to understand the fields of trigger in the above screen.
Fields | Description |
---|---|
Resolve the issue if there no event for | This field only active when resolve condition is if the rule remains active for the specified period of time. Select a proper time option from dropdown. If condition is not matching for selected time period then resolve the event |
When a new event arrives | This field only active when resolve condition is if the rule remains active for the specified period of time. Select a proper option from dropdown. · Do not notify · Notify |
Resolve Condition | Select a proper module from dropdown. · If the rule remains active for the specified period of time. · If the rule match the custom condition. Create a resolve condition. |
Refer to the following table to understand the fields of trigger in the above screen.
Fields | Description |
---|---|
Time frame | Select a proper time frame |
Set a reminder for every... | Select a proper time option from dropdown. If condition is not resolved notify every selected time range. |
Event Count | Set the count of repetitions before the rule activeness. |
Aggregation | Select a proper state column from dropdown · Last · First |
Resolve the issue if there no event for | This field only active when resolve condition is if the rule remains active for the specified period of time. Select a proper time option from dropdown. If condition is not matching for selected time period then resolve the event |
When a new event arrives | This field only active when resolve condition is if the rule remains active for the specified period of time. Select a proper option from dropdown. · Do not notify · Notify |
Resolve Condition | Select a proper module from dropdown. · If the rule remains active for the specified period of time. · If the rule match the custom condition. Create a resolve condition. |
Refer to the following table to understand the fields of trigger in the above screen.
Fields | Description |
---|---|
Time frame | Select a proper time frame |
Set a reminder for every... | Select a proper time option from dropdown. If condition is not resolved notify every selected time range. |
Resolve the issue if there no event for | This field only active when resolve condition is if the rule remains active for the specified period of time. Select a proper time option from dropdown. If condition is not matching for selected time period then resolve the event |
When a new event arrives | This field only active when resolve condition is if the rule remains active for the specified period of time. Select a proper option from dropdown. · Do not notify · Notify |
Resolve Condition | Select a proper module from dropdown. · If the rule remains active for the specified period of time. · If the rule match the custom condition. Create a resolve condition. |
4. After creating the condition of the rule, additional informations and actions can be added from advanced setting. That way rule can be understood better.
Refer to the following table to understand the fields of advanced settings in the above screen.
Fields | Description |
---|---|
Knowledge Base | Templete of additional information about rule. Knowledge Base can be created under Notifications. |
Source | Select a proper source option from dropdown. |
Affects | Select a proper affect option from dropdown. |
Applies to | Select a proper applies to option from dropdown. |
Urgency | Select a proper urgency option from dropdown. |
Notifications | Select a proper notification rule option from dropdown. |
Custom String | You can add custom string into the notification messages. If you are using an orchestration software, you can defines rules based on your custom string. Custom String is only available in the mail actions. |
Template | Mail action template for the notification rule. If you want to do white labeling, you can change default template or add more templates. [In Development] Changing default mail template or adding more templates is currently not supported by VirtualMetric. |
Custom Category | You can add custom category into the notification messages. |
Custom Subcategory | You can add custom subcategory into the notification messages. |
Enable Active Hours | You can set the timeperiod of notifications |
Has Priority | Priority option for the notification rule. This feature is only available for "Email" actions. If you enable it, you will receive emails with the "High Priority" mark. |
Status | Rule can be enabled/disabled from status field. |
5. After entering all the required info, click the button SUBMIT.