Maximum amount of performance data

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
nms
Posts: 222
Joined: Wed Sep 28, 2016 9:35 am

Maximum amount of performance data

Post by nms »

Hi,

Is there a maximum limitation of how much performance data you can populate in a service (i.e what you want to be graphed after the "|" output)?

First time it occurred to me, have a performance data with 24 values, seems the rrd took care since it generated the file, but still graph remained with no data.
I also increased the frequency from 1 min to 5 mins, deleted the rrd but still am getting nothing so far.

Rgds,
gormank
Posts: 1114
Joined: Tue Dec 02, 2014 12:00 pm

Re: Maximum amount of performance data

Post by gormank »

Try running the command in the shell and look at the output. Maybe post it here for the support folks to look at.
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Maximum amount of performance data

Post by tmcdonald »

gormank wrote:Try running the command in the shell and look at the output. Maybe post it here for the support folks to look at.
That would help, yes.

Finding exact limits would need a pretty deep dive of both the Core and XI code, as well as the various utilities that ship data between them. 24 does not seem outrageous but it is certainly a whole lot more than we normally see. It's possible you are hitting a limit somewhere, but seeing the output would help with that determination.

Could also take a look a this component written by @Box293 that will allow you to view the data in the RRD file, might turn out that it is empty: https://support.nagios.com/forum/viewto ... =6&t=39073

Might also be worth looking at the KB article: https://support.nagios.com/kb/article.php?id=9
Former Nagios employee
nms
Posts: 222
Joined: Wed Sep 28, 2016 9:35 am

Re: Maximum amount of performance data

Post by nms »

Hi,

Here goes the output.

Code: Select all

 /usr/local/nagios/libexec/check_by_ssh -H <machine name> -t 30 -C "/home/nagios/bin/nagios_T-SolSparc042-DiskIO_reads_writes.sh"
Disks Reads/Writes- nfs3 Reads/Writes/Kb_Reads/Kb_Writes=0.0/0.0/0.0/0.0, sd0 Reads/Writes/Kb_Reads/Kb_Writes=0.0/33.0/0.0/808.6, sd1 Reads/Writes/Kb_Reads/Kb_Writes=0.0/33.0/0.0/808.6, sd2 Reads/Writes/Kb_Reads/Kb_Writes=0.0/0.0/0.0/0.0, sd3 Reads/Writes/Kb_Reads/Kb_Writes=0.0/0.0/0.0/0.0, sd4 Reads/Writes/Kb_Reads/Kb_Writes=0.0/0.0/0.0/0.0 | nfs3_Reads=0.0; nfs3_Writes=0.0; nfs3_Kb_Reads=0.0; nfs3_Kb_Writes=0.0; sd0_Reads=0.0; sd0_Writes=33.0; sd0_Kb_Reads=0.0; sd0_Kb_Writes=808.6, sd1_Reads=0.0; sd1_Writes=33.0; sd1_Kb_Reads=0.0; sd1_Kb_Writes=808.6; sd2_Reads=0.0; sd2_Writes=0.0; sd2_Kb_Reads=0.0; sd2_Kb_Writes=0.0; sd3_Reads=0.0; sd3_Writes=0.0; sd3_Kb_Reads=0.0; sd3_Kb_Writes=0.0;
User avatar
tacolover101
Posts: 432
Joined: Mon Apr 10, 2017 11:55 am

Re: Maximum amount of performance data

Post by tacolover101 »

try running through this article which should help since your results are being truncated due to SQL from what i can tell - https://support.nagios.com/kb/article.php?id=478
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: Maximum amount of performance data

Post by tgriep »

One thing I saw is a comma in the performance output between these 2 options.

Code: Select all

sd0_Kb_Writes=808.6, sd1_Reads=0.0;
Try fixing that and one thing, if you do change the performance output for a plugin, you usually have to delete the .xml and .rrd files for that service so they will get recreated with the updated values.
Look in this folder under the hostname for the services.

Code: Select all

/usr/local/nagios/share/perfdata/<hostname>/
Be sure to check out our Knowledgebase for helpful articles and solutions!
nms
Posts: 222
Joined: Wed Sep 28, 2016 9:35 am

Re: Maximum amount of performance data

Post by nms »

eagle eyes tgriep!
That was the only simple reason.

Sorry for the dumb thread, i missed that typo!

You may kindly close.
Locked