Page 1 of 1
Performance graphs issue
Posted: Tue Jul 22, 2014 9:11 am
by mon-team
Hi All,
We have successfully added monitoring services but after several checks, we don't see performance data on graphs.
Rrd and xml files are updated. We get no error both in npcd.log and perfdata.log.
You can see below a screenshot of the "advanced tab"
advanced_capture.JPG
We are running Nagios XI 2012R2.9 on a cent0s6.3
Thanks
Re: Performance graphs issue
Posted: Tue Jul 22, 2014 9:56 am
by abrist
mon-team wrote:We get no error both in npcd.log and perfdata.log.
Could you increase the log level/debugging and check the logs again? The faq entry details the necessary steps to increase perfdata and npcd logging levels.
http://support.nagios.com/wiki/index.ph ... leshooting
Re: Performance graphs issue
Posted: Tue Jul 22, 2014 10:55 am
by mon-team
As you suggested, i have increased perfdata and npcd logging verbosity
I have not found any error in my log files (in attachment)
Re: Performance graphs issue
Posted: Tue Jul 22, 2014 10:42 pm
by Box293
I can see in the perfdata.txt log that the perfdata files are being updated.
Can you please do the following:
Code: Select all
ls -al /usr/local/nagios/share/perfdata/nagios.lan/
Do any graphs appear for the host nagios.lan ? Like the http service?
Re: Performance graphs issue
Posted: Wed Jul 23, 2014 3:07 am
by mon-team
Hi there,
we found the cause of the problem. It was the heartbeat set to a lower value than the check interval.
The default value of the heartbeat was 8460 as indicated in the /usr/local/nagios/etc/pnp/process_perfdata.cfg but it was too much higher for some our checks so we decreased it to 120.
After the change, all the graphs created for checks having check_interval < 120 have not worked.
We solve the problem by increasing each RRD heartbeat via rrdtool.
Is it possible to set the RRD heartbeat when a service is being created?
Thanks.
Re: Performance graphs issue
Posted: Wed Jul 23, 2014 10:28 am
by abrist
You can edit the rra to change the rrd creation values for all newly created rrds by editing the file /usr/local/nagios/etc/pnp/rra.cfg.
Re: Performance graphs issue
Posted: Wed Jul 23, 2014 10:46 am
by mon-team
Hi,
we would like to set different heartbeats for different RRDs
Re: Performance graphs issue
Posted: Wed Jul 23, 2014 10:55 am
by abrist
Well, all rrds are created with that same rra. If you need to set different values for different rrds, you will need to do it by hand or make a pseudo intelligent script to do so.