rrdcached - Graphs missing data

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: rrdcached - Graphs missing data

Post by scottwilkerson »

Can I have you run the following

Code: Select all

ll /usr/local/nagios/share/perfdata/localhost/*.rrd
If the date is the 31st for these it is likely working.

Is it all graphs that are not working? If you go to
Admin -> System Status
&
Admin -> Monitoring Engine Status

Are all items green?
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
dmanem
Posts: 83
Joined: Fri Apr 13, 2012 10:27 am

Re: rrdcached - Graphs missing data

Post by dmanem »

In the output, the date is Nov 1st so it looks right.
Yes, all graphs are not working since Oct 26th.
In the monitoring engine status, in process settings, external commands is red.

Thank you.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: rrdcached - Graphs missing data

Post by scottwilkerson »

Can you look in your /usr/local/nagios/etc/nagios.cfg and see if

Code: Select all

check_external_commands=1
If not, make it so.

Also, can I have you run the following and return the results

Code: Select all

ll /usr/local/nagios/share/perfdata/localhost/*.rrd
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
dmanem
Posts: 83
Joined: Fri Apr 13, 2012 10:27 am

Re: rrdcached - Graphs missing data

Post by dmanem »

Check_external_commands value was 1. I did not have to change it.

The output for the command is
[root@localhost etc]# ll /usr/local/nagios/share/perfdata/localhost/*.rrd
-rwxrwxr-x 1 nagios nagios 1151280 Nov 1 16:48 /usr/local/nagios/share/perfdata/localhost/Current_Load.rr d
-rwxrwxr-x 1 nagios nagios 384736 Nov 1 16:53 /usr/local/nagios/share/perfdata/localhost/Current_Users.r rd
-rwxrwxr-x 1 nagios nagios 768008 Nov 1 16:51 /usr/local/nagios/share/perfdata/localhost/_HOST_.rrd
-rwxrwxr-x 1 nagios nagios 768008 Nov 1 16:55 /usr/local/nagios/share/perfdata/localhost/HTTP.rrd
-rwxrwxr-x 1 nagios nagios 768008 Nov 1 16:55 /usr/local/nagios/share/perfdata/localhost/PING.rrd
-rwxrwxr-x 1 nagios nagios 384736 Nov 1 16:52 /usr/local/nagios/share/perfdata/localhost/Root_Partition. rrd
-rwxrwxr-x 1 nagios nagios 384736 Nov 1 16:51 /usr/local/nagios/share/perfdata/localhost/Swap_Usage.rrd
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: rrdcached - Graphs missing data

Post by scottwilkerson »

So the RRD's are updating...

If you go to the localhost -> PING Service detail page and click performance graphs tab, do you see a blank graph? Can you post a screenshot?
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
dmanem
Posts: 83
Joined: Fri Apr 13, 2012 10:27 am

Re: rrdcached - Graphs missing data

Post by dmanem »

Hello,

I am sorry I should have explained before. The ping service and the rest of the host graphs are fine but its the switches port's graphs that are not being plotted on the Graph explorer nor the Bandwidth usage page. One more thing in the graph below it shows the wrong time. I keep changing the server's time but it keeps going back to 5 hours past the present time.

Thank you.
You do not have the required permissions to view the files attached to this post.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: rrdcached - Graphs missing data

Post by scottwilkerson »

Ok, when following the document
http://assets.nagios.com/downloads/nagi ... ios_XI.pdf

Did you add the LibAdd item to the /etc/mrtg/mrtg.cfg as described on page 2?
dmanem wrote: keep changing the server's time but it keeps going back to 5 hours past the present time.
This could also be an issue, is the timezone set correctly on the server?
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
dmanem
Posts: 83
Joined: Fri Apr 13, 2012 10:27 am

Re: rrdcached - Graphs missing data

Post by dmanem »

Hello,

HtmlDir: /var/www/mrtg
ImageDir: /var/www/mrtg
LogFormat: rrdtool
LogDir: /var/lib/mrtg
ThreshDir: /var/lib/mrtg
LibAdd /opt/rrdtool-1.4.4/lib/perl/5.10.1

I added the LibAdd in mrtg.cfg but I just followed the document. Should there be a ":" after LibAdd? /opt/rrdtool-1.4.4/lib/perl/5.10.1 is what I got as my Lib.

I set the Timezone as central using export TZ= but got to know that this command is temporary. I changed the localtime file in /etc so now the PHP time and system time are synced and the graphs are fine.

Thank you.
User avatar
lmiltchev
Former Nagios Staff
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: rrdcached - Graphs missing data

Post by lmiltchev »

Should there be a ":" after LibAdd?
Yes, we missed that in the documentation. :( I will be fixing it ASAP. I am glad your graphs are working now!
Be sure to check out our Knowledgebase for helpful articles and solutions!
dmanem
Posts: 83
Joined: Fri Apr 13, 2012 10:27 am

Re: rrdcached - Graphs missing data

Post by dmanem »

Well the system time has been changed and the host graphs are showing the right time but my switch port graphs are still blank. I am not sure if they take time to update as they have to process data from Oct 26th.

Thank you.
Locked