Dynamic Organization of Hosts and Services
You can organize hosts and services dynamically into host and service groups, as well as into host and service categories. To understand the concept of organizing your monitoring system, please refer to the concept pages for groups and categories.
The i-Vertix Monitoring system offers you dedicated pages to define rulesets, which are used to categorize your hosts and services into such groups. The rulesets are be executed periodically and update the targeted groups and categories.
Organizing hosts and services dynamically
You can organize your hosts dynamically into:
- Hostgroups
- Host categories
and your services into:
- Servicegroups
- Service categories
Create rulesets
- Hostgroups
- Host categories
- Servicegroups
- Service categories
Assign hosts to hostgroups
To add a new ruleset for assigning hosts dynamically to hostgroups, open your i-Vertix Monitoring web interface and navigate to Configuration -> Hosts -> Dynamic Hostgroups
.
- 1 list of all current rulesets
- 2 possibilities to filter the list:
- filter by rule name
- filter by targeted hostgroups
- filter by status (enabled/disabled)
- filter by access groups (for admin)
- 3 paginate the list
- 4 add a new ruleset
- 5 simulate all rulesets to analyze, which hosts will be assigned to which hostgroup
- 6 apply all rulesets manually
To add a new ruleset, click 4 + Add Rule
.
Add a new hostgroup ruleset
- 1 insert a descriptive name for the ruleset
- 2 (optional) insert a description for the ruleset
- 3 choose the access groups for the rule, only hosts which are accessible by the selected access groups will be affected and only users with access to all selected access groups are able to interact with the rule
- 4 choose the targeted hostgroups to which all matched hosts will be assigned to
- 5 define conditions which are used to match the hosts you want to have assigned to the selected hostgroups (at least one condition is required)
- 6 add a new condition
- 7 edit an existing condition
- 8 remove an existing condition
Assign hosts to host categories
To add a new ruleset for assigning hosts dynamically to host categories, open your i-Vertix Monitoring web interface and navigate to Configuration -> Hosts -> Dynamic Categories
.
- 1 list of all current rulesets
- 2 possibilities to filter the list:
- filter by rule name
- filter by targeted host categories
- filter by status (enabled/disabled)
- filter by access groups (for admin)
- 3 paginate the list
- 4 add a new ruleset
- 5 simulate all rulesets to analyze which hosts will be assigned to which category
- 6 apply all rulesets manually
To add a new ruleset, click 4 + Add Rule
.
Add a new host category ruleset
- 1 insert a descriptive name for the ruleset
- 2 (optional) insert a description for the ruleset
- 3 choose the access groups for the rule, only hosts which are accessible by the selected access groups will be affected and only users with access to all selected access groups are able to interact with the rule
- 4 choose the targeted host categories to which all matched hosts will be assigned
- 5 define conditions which are used to match the hosts you want to have assigned to the selected host categories (at least one condition is required)
- 6 add a new condition
- 7 edit an existing condition
- 8 remove an existing condition
Assign services to servicegroups
To add a new ruleset for assigning services dynamically to servicegroups, open your i-Vertix Monitoring web interface and navigate to Configuration -> Services -> Dynamic Servicegroups
.
- 1 list of all current rulesets
- 2 possibilities to filter the list:
- filter by rule name
- filter by targeted servicegroups
- filter by status (enabled/disabled)
- filter by access groups (for admin)
- 3 paginate the list
- 4 add a new ruleset
- 5 simulate all rulesets to analyze, which services will be assigned to which servicegroup
- 6 apply all rulesets manually
To add a new ruleset, click 4 + Add Rule
.
Add a new servicegroup ruleset
- 1 insert a descriptive name for the ruleset
- 2 (optional) insert a description for the ruleset
- 3 choose the access groups for the rule, only services which are accessible by the selected access groups will be affected and only users with access to all selected access groups are able to interact with the rule
- 4 choose the targeted servicegroups to which all matched services will be assigned to
- 5 define conditions which are used to match the services you want to have assigned to the selected servicegroups (at least one condition is required)
- 6 add a new condition
- 7 edit an existing condition
- 8 remove an existing condition
Assign services to service categories
To add a new ruleset for assigning services dynamically to service categories, open your i-Vertix Monitoring web interface and navigate to Configuration -> Services -> Dynamic Service categories
.
- 1 list of all current rulesets
- 2 possibilities to filter the list:
- filter by rule name
- filter by targeted service categories
- filter by status (enabled/disabled)
- filter by access groups (for admin)
- 3 paginate the list
- 4 add a new ruleset
- 5 simulate all rulesets to analyze, which services will be assigned to which category
- 6 apply all rulesets manually
To add a new ruleset, click 4 + Add Rule
.
Add a new service category ruleset
- 1 insert a descriptive name for the ruleset
- 2 (optional) insert a description for the ruleset
- 3 choose the access groups for the rule, only services which are accessible by the selected access groups will be affected and only users with access to all selected access groups are able to interact with the rule
- 4 choose the targeted service categories to which all matched services will be assigned to
- 5 define conditions which are used to match the services you want to have assigned to the selected service categories (at least one condition is required)
- 6 add a new condition
- 7 edit an existing condition
- 8 remove an existing condition
Define rule conditions
When adding a new condition, a dialog will appear. In the dialog, you need to insert the following information:
- the property of the host/service to check
- the operator to use to match the value against
- the value of the selected property to to check against a host/service
When a host matches all defined conditions, it will be affected by the ruleset and assigned to the group/category.
You can combine as many conditions as you like, but ensure that conditions are strict enough to avoid matching unwanted hosts/services.
Remember that, in addition to the conditions, the selected access groups are also part of the conditions. This behavior ensures that only hosts or services from a certain organization are affected by the ruleset (MSP compliance).
Special conditions
The following combinations allow for more specific configuration:
- property
host address
with operatormatch cidr
to check if the host address belongs to a certain subnet - property
host address
with operatorin range
to check if the host address is inside a certain ip range - property
host macro
orservice macro
- CIDR
- IP range
- Macros
When selecting the property host macro
or service macro
you must also define the macro name to check.
You can choose the macro name from the list, which contains all utilized macro names among the monitoring system.
Alternatively, you can freely enter an unlisted (custom) macro name.
Macros may be inherited from other templates or directly set on the host/service. This is especially useful when you want to target hosts/services more specifically—such as when they belong to a certain organization, or in the case of VMware hosts, a particular container
The value of the specified macro on a host/service (if present) will be checked against the provided value or regex (when operator is matches
).
If a host/service doesn't have the macro set or inherited, the condition will fail when the operator is:
equals
, contains
, matches
(when using matches
, an empty value will be checked if the macro is missing).
If the selected operator is not equals
or not contains
, the condition will always be true.
This behavior applies to all other properties as well.
When you filled in all required rule information and defined the conditions, you can save the the rule.
You can always edit your rule afterward.
Test your rulesets
Before directly applying your rulesets, it is strongly recommended to test your rules to identify any wrongly assigned hosts or misconfigured rules.
To do so, you can 5 Simulate Rules
from the list to test all available rules (only enabled rules), or simulate just a single rule
by hovering over the desired rule and clicking the simulate button.
A dialog will appear, displaying the simulation results.
The list displays results by group/category. On the item header, you find the name of the group/category, the number of hosts/services that will be assigned to it, and the number of rules that targeted the group/category.
When clicking on the header, you can view the list of rules and the affected hosts. By default, only 15 hosts/services are shown,
but you can display more by clicking on +X more..
or by filtering the list using the search field above.
Now, when you apply the rule(s), the hosts/services will be assigned to the corresponding groups/categories.
Applying rulesets
By default, all enabled rules are applied every hour.
To apply rules manually, click on the 6 Apply Rules
button above the list.
After applying, make sure to export the corresponding poller configurations to allow your rules to take full effect.
Other actions
When hovering over a created rule in the list, further actions for the rule are available:
- 1 disable/enable the rule - when a rule is disabled, it won't have any effect when rules are applied
- 2 delete the rule
- 3 duplicate the rule
- 4 simulate the rule