how to change performance graph unit from K to M

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
zaji_nms
Posts: 616
Joined: Tue Oct 16, 2012 12:28 am

how to change performance graph unit from K to M

Post 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
User avatar
mcapra
Posts: 3739
Joined: Thu May 05, 2016 3:54 pm

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

Post 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
Former Nagios employee
https://www.mcapra.com/
Locked