Good practices :“Did you know?” about Centreon 2.4 – Part 2

Through a special series “Did You Know” from Good Practices, we invite you to make a whole new round of Centreon 2.4.

In continuation of the first article, “Did you know“, here are some additional tips.

Automatic rotation of custom views

When you go to  menu “Home -> Custom Views”, you can have multiple tabs for custom views. But how do you see all these views?


The answer is simple: use the rotation system to automatically switch from one view to another.
To do this, click the “Rotate” button and set the interval between changes and click the  button “Apply”:


The rotation will be active. To deactivate it, repeat the process by selecting the interval to ‘0 ‘.

Sharing custom views

You notice that one of your colleagues has created interesting views and you want to have access to them without having to rebuild.
No worries, just tell him to share them read-only mode or to changes.

For this, your colleague will visit the menu “Home -> Custom Views” , select the desired view and click the button “Share view”:


In the available list of contacts, select your colleague and click “Share.” To give access change, select “No” to the option “Locked ? “. Finally, to remove access to a user, click on the cross located right contact in the contact list already linked.

New option in graphics performance

You can display the “max”  ​​”min”, “avg” and “last” values for each curve on a graph of performance but also the sum of a curve on the generation period of the graph.

To do this, go to the menu “Views -> Graphs -> Curves”  and edit your curve. Check the box “Print Total Value”:


This is very interesting if your indicator goes you back the number of alerts since the last check and will thus know the total number of alerts over a defined period.

Traps SNMP – Retrieve the value of a parameter by OID

Conventionally, to build the output message (output) returned in Centreon, you must retrieve the parameter values ​​by their order of arrival: ‘$ n’ (or ‘n’ is the order of arrival). However, when for the same OID root of the SNMP trap, the number of parameters has to change, how to know in advance the order of parameters?

It is now possible to directly retrieve the value of a parameter using the macro @ {OID}.

Here is how to transform the output message of the SNMP trap “linkDown” :


By :


That’s all for today! ;)
So had you noticed these changes? What do you think?

Stay tuned, we meet next month!

Leave a Reply