Page 1 of 1

how to change performance graph unit from K to M

Posted: Tue Dec 13, 2016 4:35 am
by zaji_nms
Dear Expert

In the performance graph (via CCM), the forth option/$ARG4$ is for Unit. Currently its K and now our customer upgraded the link. If I will change simply from K to M, all the previous utilization (performance graph) will invalid.

Sometime we want to change from G to M too.

Is there any tool to do this? or let us know where (XML/RRD) we have to change, will change via CLI.

I think, you should add as a feature, if user change from K to M or vice versa via CCM, Performance Graph will change by Auto without any further user intervention.

Regards

Re: how to change performance graph unit from K to M

Posted: Tue Dec 13, 2016 10:25 am
by mcapra
zaji_nms wrote: I think, you should add as a feature, if user change from K to M or vice versa via CCM, Performance Graph will change by Auto without any further user intervention.
The problem with this is Nagios XI would need to account for every possible metric being provided by a plugin's performance data output as well as it's corresponding scalars. Performance data is unit agnostic; Nagios XI just uses the raw numbers and unit provided to it. It doesn't really have a concept of what the units themselves mean and, due to the dynamic nature of performance data, it probably never will.

If you are intending to make bulk changes to the performance data for a particular service/host check, the Performance Data Tool by @box293 is the best available option I can think of:
https://exchange.nagios.org/directory/A ... ol/details