Bests Practices: How to use categories of objects in Centreon

This post is also available in: French

You know how groups works in Centreon user interface and you want to optimize your configuration and/or exploit as well as possible the Centreon BI and Centreon Map modules, you should read this article!

The concepts of groups (hostgroups, servicegroups, contactgroups) was previously defined in the “Bests Practices: How to use groups of objects in Centreon” article. We will not get back on these concepts.

A category is look like a group of objects but having the distinction of being used to filter a subset of elements and not to select objects. There are two types of categories: for the hosts and for the services.

Objectives of hosts’ category

Notice: le creation of hosts’ categories is defined in Centreon’s official documentation and their use in specific chapter.

1) Filter displayed data

Although the host categories are based to create user profiles and to set up Centreon BI report (see following chapters) the categories allow filtering by severity the host status in real time monitoring page. Indeed the categories can be overridden to become criticity of issues and allow to prioritize events in Centreon interface:

cat obj_filter displayed data_1

 

cat obj_filter displayed data_2

2) Filter resources to create user profiles

The Access control lists allows to filters resources displayed on Centreon user interface for non admin users. Those users’ profiles are based on a selection of groups of hosts and can be filtered by categories of hosts. If you want to display for “Databases Windows operators” only the Windows hosts with a database you have to select first the “windows-Servers” hostgroups then filter it with “Databases-Servers” category. Thus only the elements included in the inclusion of the group and category will be displayed:

cat obj_filter resources to create user profiles_3

3) Data aggregation for Centreon BI reports

The hosts’ categories are the base of Centreon BI reports settings. They allow to aggregate and display aggregated data into “section” of reports.

Indeed, if you want to display the availability rate of your different devices with a distribution by continent, you have to select for example the “ESX-Servers”, “Mysql-Databases”, “Oracle-Databases” hostgroups and select the following categories of hosts: « America », « Asia », « Europe »:

cat obj_data aggregation for Centreon BI reports_4

For more information please refer to the Centreon BI documentation for their different use.

Objectives of categories of services

1) Filter displayed data

As for all categories of hosts, the categories of services can be overridden to become to become criticity of issues and allow to prioritize events in Centreon interface:

cat service_filter displayed data_5

2) Help to create links in Centreon Map module

It is a difference between hosts and services categories. Indeed categories of services are used by Centreon Map module to group services by logical view. Centreon Map allows to create links of status based on monitored indicators. These links can be a simple link of status or a link to display traffic usage in percent, between to hosts.

In order to select easily services which be used to create links of status on your maps in the Centreon Map module you have to create categories of services (PING, TNSListener, Traffic) which will be associated with type of links of Centreon Map:

cat service_create links in Centreon Map module_6

3) Data aggregation for Centreon BI reports

Unlike categories of hosts to classify hosts by geographic feature or function, the categories of services allow to type the indicators: CPU, Memory, Storage, Process …

This organisation allows to compare types of services. For example “the CPU usage is equal between GNU/Linux servers and MS Windows Servers?”. Moreover, it allows to define which services will be used to calculate the capacity planning reports:

cat service_data aggregation for Centreon BI reports_7

For more information please refer to the Centreon BI documentation for their different use.

Leave a Reply