Skip to main content
Skip table of contents

Rules - Configuration items

Rules - Configuration items in the CMDB section play a role to automate the management of Configuration Items (CI). These mechanisms trigger predefined actions in response to specific CI events. A variety of actions can be assigned to rules from the CMDB > Actions - Configuration items section.

More about Configuration Items: Go >

More about actions: Go >

It is crucial to design rules that are simple and thoughtful, with unambiguous names indicating their function or application. It's also important to describe each rule in detail to make it easy to understand its purpose and operation, which provides transparency and management efficiency, and makes the IT team's job easier.

New rule

To add a new rule, go to CMDB > Rules - Configuration items, and then click the “New rule” button.

image-20240613-092135.png

Filling in the rule

Next, in the “New rule definition” window, fill in the desired fields and click the “Save” button.

1

Rule activation - Checking the “Active” option activates the rule.

2

Name - This is used to identify the rule.

3

Description - Allows you to understand the purpose of the rule.

4

Trigger event - Select the event that will trigger the rule, for example, “Adding a new configuration item” (Optional).

5

Schedule (tasks) - Specify when the rule should be activated (Optional).

More regarding schedules: Go >

6

Position - Specify the order of rule execution if there are more rules.

7

Starting rule - Optional setting of the rule to be the trigger for the current rule.

image-20240613-092216.png

Specifying the rule action/condition

After creating a rule, the user will be taken to the rule creation window. Rules in Oxari work on an “if-then” basis, where certain conditions (if) trigger certain actions (this). In this case, the triggering event is “Register new service”. To assign an action or condition to the event, click on the tile in question.

image-20240613-092429.png

Assigning a condition

After clicking on the tile, two options will be usable “Assign action on TRUE” and “Assign condition on TRUE”. To add a condition to a rule, click the “Assign condition on TRUE” button.

image-20240613-092534.png

Assigning an action

After clicking on the tile, two options will be possible to use “Assign action for TRUE” and “Assign condition for TRUE”. To add an action to a rule, click the “Assign action for TRUE” button.

image-20240613-092603.png

In the process of defining rules in the Oxari system, the user can proceed to assign an action. There are two options available:

1

New” - Allows you to create a new action that will be executed when the condition is met.

2

Search” - Allows you to select actions that have already been defined in the section Resource Management > Actions.

More about actions: Go >

In the example under discussion, a new action is created. To create a new action, the user should select “New” and proceed to the process of configuring this action.

image-20240613-092626.png

Then, in the “Select action” window, select the desired action and click the “Select” button.

image-20240613-092646.png

In this step, name the action and click the “Save” button.

image-20240613-092732.png

The given action has been added to the rule. It may happen that it is not immediately visible, in which case you should refresh the page.

image-20240613-092806.png

Once a new action is created, it becomes available in the CMDB > Actions - Configuration items section and can be reused in various rules. To use an already existing action, in the “Assign action” window, simply select “Search”, find the desired action in the list and confirm the selection by clicking “Save”. This allows you to effectively use the action in different scenarios without having to create it again.

image-20240613-092945.png


Editing/deleting actions and conditions

To edit or delete actions and conditions, simply go to CMDB > Rules - Configuration items. Then, to see more options for a rule, click the “Details” button next to the selected rule.

image-20240613-093047.png

In the details of the rule, select the desired action/condition by clicking on the tile of the corresponding action/condition. The edit/delete options will be visible in the upper right corner.

image-20240613-093126.png

Editing/deleting a rule

To edit or delete rules, go to CMDB > Rules - Configuration items. Hover over the desired rule. Edit/delete buttons will be displayed.

image-20240613-093027.png

Activating/Deactivating a rule

Each rule can be activated or deactivated. To activate/deactivate a rule, go to CMDB > Rules - Configuration items. Hover over the desired rule and click the edit button.

image-20240613-093239.png

Then, in the edit window, click on the “Active” checkbox (the checked box means that the rule will be Active), finally click the “Save” button.

image-20240613-093301.png

Testing a rule

To test rules, go to CMDB > Rules - Configuration items. Hover over the desired rule. A button to perform the test is displayed.

Only rules with an assigned schedule can be tested.

image-20240613-093323.png

 

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.