This post is also available in: French
If you don’t know this type of object in the configuration of Centreon, if you want to upgrade your knowledge or if you want to get the best benefit of collected data of your monitoring platform, this article is for you!
This article uses basic definitions from previous one about use cases of hosts and services groups and tries to complete definitions.
A group of objects is a logical container to group objects of monitoring configuration in Centreon UI. Groups can be used with:
- Hosts ;
- Services ;
- Contacts used for notification ;
- Centreon web access users.
Objectives of hosts’ group
1.1 Filter displayed data
One of the main interests of the groups is to select a subset of values by filtering by host group. Thus, only the values associated with the hosts linked to the group will be display.
This filter is available for multiple menus such as:
The menus to display host and services configurations
Hosts and services real-time menu
1.2 Filter resources to create user profiles
In addition to filter a subset of data, the groups also allow easier access to the values. In order to facilitate access to performance graphs (or graphs of evolution of performance data), these graphics are sorted by host group, then hosts then by services:
1.3 Data aggregation for Centreon Dashboard
Host groups are also used in the Centreon dashboard (reporting) interface to display aggregate data such as the rate of availability of a set of objects:
1.4 Setting a property on a set of objects
It is possible, when you create a hosts group, to set a number of properties that will be available for all objects linked to the group:
- Icon of host displayed in Centreon real-time menus ;
- Map Icon of host displayed in mapping tools such as Centreon Map;
- Two external links displayed in Centreon real-time menus, for example to access to a procedure (“URL Notes” & “URL Action”) ;
- The definition ofthe retention period (overloadthatglobalif itis greater).
Notice: If an icon is set at the host itself, it comes to overload one defined at the host group.
1.5 Configure user profiles
The second functionality linked to the host group, and most important, is the management of access control lists to the Centreon web interface and user profiles associated by controlling access to the resources.
Thus, instead of selecting one by one the equipment that the future user profile will have the right to see, just select the one or more host groups that are associated with the profile:
1.6 Configure escalation and dependencies
Finally, host groups are used to set escalations notifications for applying climbing all hosts associated with(x) group(s) selected(s):
Or set of logical dependencies checks and / or notification between host groups:
Objectives of services group
Service groups also offer many advantages:
2.1 Filter displayed data
Display a subset of values by grouping several objects:
2.2 Filter to access to data
Performance graphs are also available by group of services and selecting “host – service combination:
2.3 Data aggregation for Centreon Dashboard
The services groups are also used in the Centreon dashboard menu interface to display aggregated data such as the rate of availability of a set of objects:
2.4 Configure user profiles
As with the host group, you can manage access to resources via the service groups.
Thus, instead of selecting one by one the equipment and services that the future user profile will have the right to see, just select the service or service groups that will be associated with the profile:
2.5 Configure escalation and dependencies
Finally, service groups are used to set escalations notifications for applying climbing all hosts associated with(x) group(s) selected(s):
Or set of logical dependencies checks and / or notification between service groups:
3 Objective of contact groups
Contact groups have to unique objective to facilitate the setting of notification and notification escalations:
4 Objective of user groups
Although users with access to Centreon web interface are a superset of contacts within the meaning “object of the scheduler with notification settings”, however it is necessary to differentiate the web interface users of these. Indeed a user of the Centreon web interface may not receive notification as a notification contact may not have access to the web interface.
The user groups allow to manage access control lists by associating users group with access to interface to one or more user profiles subjected to ACL:
However, when you use to LDAP directory authentication, it is best to link a user profile access to an LDAP group that will be visible in the “Linked Contact Groups” list rather than creating local groups. Indeed, it is more advantageous to manage user profiles related to LDAP groups rather than manually manage Centreon users linked to local groups.