Skip to main content
Solved

about "live-top10-memory-usage"

  • June 10, 2022
  • 3 replies
  • 94 views

Forum|alt.badge.img+1

hello everyone!

When I add live-top10-memory-usage in the custom view. View shows 0 B remaining。like this, So what is the reason and how to analyze and solve it? thank you!

by the way,There is no problem adding live-top10-cpu-usage in the same way.

 

Best answer by sduret

Hello @hope 
The widget is looking for a metric with Bytes unit like this:
 

It will calculate the percentage of usage with the max value defined in the perfdata.

3 replies

sduret
Centreonian
Forum|alt.badge.img+13
  • Centreonian
  • Answer
  • June 10, 2022

Hello @hope 
The widget is looking for a metric with Bytes unit like this:
 

It will calculate the percentage of usage with the max value defined in the perfdata.


kduret
Centreonian
Forum|alt.badge.img+10
  • Centreonian
  • June 10, 2022

Hi,

It’s because this widget does not manage metrics which have % unit.

It only works with metrics with bytes unit and return max value too.

example : used=14398616900b;12025908429;13529146982;0;15032385536

perfdata format is <metric_name>=<value><unit>;<warning>;<critical>;<min>;<max>

 

 But it could be nice to manage directly % unit in this widget. You can suggest the idea here


Forum|alt.badge.img+1
  • Author
  • Steward *
  • June 10, 2022

OK!  thank you very much!