Page 1 of 1
Maximum amount of performance data
Posted: Thu Jul 06, 2017 11:43 am
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,
Re: Maximum amount of performance data
Posted: Thu Jul 06, 2017 1:39 pm
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.
Re: Maximum amount of performance data
Posted: Thu Jul 06, 2017 4:11 pm
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
Re: Maximum amount of performance data
Posted: Mon Jul 10, 2017 3:13 am
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;
Re: Maximum amount of performance data
Posted: Mon Jul 10, 2017 5:45 am
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
Re: Maximum amount of performance data
Posted: Mon Jul 10, 2017 3:01 pm
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>/
Re: Maximum amount of performance data
Posted: Tue Jul 11, 2017 4:44 am
by nms
eagle eyes tgriep!
That was the only simple reason.
Sorry for the dumb thread, i missed that typo!
You may kindly close.