Numbers on the graphs Pnp4Nagios

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
Athanor027
Posts: 18
Joined: Mon Jan 27, 2014 7:30 am

Numbers on the graphs Pnp4Nagios

Post by Athanor027 »

Hello,

I look for the means to change the display of the numbers on the graphs Pnp4Nagios.
In other words, instead of it shows me
20 M
15 M
10 M
5 M
0 M

It shows me:
20.000
15.000
10.000
5.000
0

You would have an idea ?

Thank you in advance

Best Regards,
User avatar
nozlaf
Posts: 172
Joined: Sun Nov 09, 2014 9:50 pm
Location: Victoria, Australia

Re: Numbers on the graphs Pnp4Nagios

Post by nozlaf »

I could be wrong but i am pretty sure it depends on the performance data

so if your plugins are reporting a unit of measurement it uses that, but if nothing is provided it just treats it as a real or integer not showing the a unit of measurement
some more information can be found here
https://docs.pnp4nagios.org/pnp-0.6/perfdata_format
Looking forward to seeing you all at #NagiosCon2019?
-Dedicated Lover of Nconf,PNP4Nagios and Nagvis
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Numbers on the graphs Pnp4Nagios

Post by rkennedy »

Thanks @nozlaf.

@Athanor027 - going with what @nozlaf mentioned, what is the full result from your check (so we can see the performance data).
Former Nagios Employee
Athanor027
Posts: 18
Joined: Mon Jan 27, 2014 7:30 am

Re: Numbers on the graphs Pnp4Nagios

Post by Athanor027 »

Hello,

Thank you very much for the information.

Best Regards,
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Numbers on the graphs Pnp4Nagios

Post by rkennedy »

Are we good to mark this thread as resolved?
Former Nagios Employee
Athanor027
Posts: 18
Joined: Mon Jan 27, 2014 7:30 am

Re: Numbers on the graphs Pnp4Nagios

Post by Athanor027 »

Yes,

Thank you very much.

But I do not know how to solve the ticket.

Best Regards
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Numbers on the graphs Pnp4Nagios

Post by rkennedy »

You'll need to modify your plugins to send the M included with the performance data. Can you explain where you're confused?
Former Nagios Employee
Locked