Skip to main content
Version: ✨ 23.10

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

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.

Rulesets

  • 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

Add Rule

  • 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

Define rule conditions

Add Rule

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
info

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.

tip

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 operator match cidr to check if the host address belongs to a certain subnet
  • property host address with operator in range to check if the host address is inside a certain ip range
  • property host macro or service macro

Match cidr

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.

Simulation

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

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