Solved

Graph Negative Value

  • 13 January 2022
  • 2 replies
  • 127 views

Userlevel 1
Badge +9

Hello ,

I try to graph NTP offset oscilliation , and my plugin return one perfdata that could be positve or negative.

On Centreon , every time my offset go to negtive , it broke the graph

 

On our old system pnp4nagios it work and look like this:

Any idea ?

 

icon

Best answer by Kriko 13 January 2022, 10:04

View original

2 replies

Userlevel 4
Badge +16

Hello @sdouce ,

By default, the graph template has a lower limit to 0, so you don’t the negative value.

you’ll need to create a new template graph in the menu Monitoring  >  Performances  >  Templates like this one:
 

Then create a curve definition in the menu Monitoring  >  Performances  >  Curves:

And apply the graph template to your service or service template :

 

Userlevel 1
Badge +9

Work perfectly !!!

 

Thank You !!! :muscle:

Reply