Skip to main content
Solved

Graph Negative Value

  • January 13, 2022
  • 2 replies
  • 393 views

sdouce
Forum|alt.badge.img+12

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 ?

 

Best answer by Kriko

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 :

 

2 replies

Forum|alt.badge.img+16
  • Steward **
  • 215 replies
  • Answer
  • January 13, 2022

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 :

 


sdouce
Forum|alt.badge.img+12
  • Author
  • Builder **
  • 53 replies
  • January 14, 2022

Work perfectly !!!

 

Thank You !!! :muscle: