Performance graphs issue

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
mon-team
Posts: 171
Joined: Thu Jun 28, 2012 9:22 am

Performance graphs issue

Post 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
You do not have the required permissions to view the files attached to this post.
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Performance graphs issue

Post 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
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
mon-team
Posts: 171
Joined: Thu Jun 28, 2012 9:22 am

Re: Performance graphs issue

Post 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)
You do not have the required permissions to view the files attached to this post.
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: Performance graphs issue

Post 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?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
mon-team
Posts: 171
Joined: Thu Jun 28, 2012 9:22 am

Re: Performance graphs issue

Post 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.
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Performance graphs issue

Post 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.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
mon-team
Posts: 171
Joined: Thu Jun 28, 2012 9:22 am

Re: Performance graphs issue

Post by mon-team »

Hi,
we would like to set different heartbeats for different RRDs
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Performance graphs issue

Post 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.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Locked