No Graphs Data showing

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
vicnanio
Posts: 17
Joined: Tue Oct 15, 2013 2:41 pm

No Graphs Data showing

Post by vicnanio »

We upgraded to the most recent version Nagios XI 2014R2.0. We were on the 2012 version previously. The graphing data hasn't been charting since early Oct. I would like to get the graphing data to start recording and showing again.

I have attached the systems status, charts for one host and monitoring engine screenshots.
You do not have the required permissions to view the files attached to this post.
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: No Graphs Data showing

Post by tgriep »

Could you post your configuration for your Carl BB host so we can look at it?

Can you run the following command from a shell and post the output from it?

Code: Select all

ll /var/lib/mrtg/
Be sure to check out our Knowledgebase for helpful articles and solutions!
vicnanio
Posts: 17
Joined: Tue Oct 15, 2013 2:41 pm

Re: No Graphs Data showing

Post by vicnanio »

tgriep wrote:Could you post your configuration for your Carl BB host so we can look at it?

Can you run the following command from a shell and post the output from it?

Code: Select all

ll /var/lib/mrtg/

Here is a sample of the ll you wanted me to run:

-rw-r--r-- 1 root root 105312 Dec 22 13:01 216.145.160.4_1.rrd
-rw-r--r-- 1 root root 105312 Dec 22 13:01 216.145.160.4_2.rrd
-rw-r--r-- 1 root root 105312 Dec 22 13:01 216.145.160.4_3.rrd
-rw-r--r-- 1 root root 105312 Dec 22 13:01 216.145.160.4_4.rrd
-rw-r--r-- 1 root root 105312 Dec 22 13:01 216.145.160.4_5.rrd
-rw-r--r-- 1 root root 105312 Dec 22 13:01 216.145.160.5_10.rrd
-rw-r--r-- 1 root root 105312 Dec 22 13:01 216.145.160.5_11.rrd
-rw-r--r-- 1 root root 105312 Dec 22 13:01 216.145.160.5_13.rrd
-rw-r--r-- 1 root root 105312 Dec 22 13:01 216.145.160.5_14.rrd
-rw-r--r-- 1 root root 105312 Dec 22 13:01 216.145.160.5_15.rrd
-rw-r--r-- 1 root root 0 Dec 22 13:01 mrtg.ok
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: No Graphs Data showing

Post by tgriep »

The files and permissions look good.

Can you post your configurations for your Host that is failing?

You can do this by clicking on "Configure -> Core Config Manager -> Hosts"
Click on the Floppy Disk icon for the host "View Text Config" that is failing and post that here so we can review it.

Thanks
Be sure to check out our Knowledgebase for helpful articles and solutions!
vicnanio
Posts: 17
Joined: Tue Oct 15, 2013 2:41 pm

Re: No Graphs Data showing

Post by vicnanio »

tgriep wrote:The files and permissions look good.

Can you post your configurations for your Host that is failing?

You can do this by clicking on "Configure -> Core Config Manager -> Hosts"
Click on the Floppy Disk icon for the host "View Text Config" that is failing and post that here so we can review it.

Thanks
Oh sorry didn't mean to imply it was one specific host, it is affecting all of our hosts. None of them have any data on the charts since October. I only used that one as an example of what they all looked like.

Let me know what you need.
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: No Graphs Data showing

Post by tgriep »

Could you post the output of this command also?

Code: Select all

ll /usr/local/nagios/share/perfdata/
Be sure to check out our Knowledgebase for helpful articles and solutions!
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: No Graphs Data showing

Post by scottwilkerson »

Can you post the output of the following

Code: Select all

grep perfdata_file\= /usr/local/nagios/etc/nagios.cfg
ll /usr/local/nagios/var/spool/xidpe/|wc -l
ll /usr/local/nagios/var/spool/perfdata//|wc -l
chage -l nagios
Beyond that it may be more helpful to post your profile.zip (Admin -> System Profile) to [email protected]
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
vicnanio
Posts: 17
Joined: Tue Oct 15, 2013 2:41 pm

Re: No Graphs Data showing

Post by vicnanio »

tgriep wrote:Could you post the output of this command also?

Code: Select all

ll /usr/local/nagios/share/perfdata/

I have attached the output you requested
You do not have the required permissions to view the files attached to this post.
vicnanio
Posts: 17
Joined: Tue Oct 15, 2013 2:41 pm

Re: No Graphs Data showing

Post by vicnanio »

scottwilkerson wrote:Can you post the output of the following

Code: Select all

grep perfdata_file\= /usr/local/nagios/etc/nagios.cfg
ll /usr/local/nagios/var/spool/xidpe/|wc -l
ll /usr/local/nagios/var/spool/perfdata//|wc -l
chage -l nagios
Beyond that it may be more helpful to post your profile.zip (Admin -> System Profile) to [email protected]
grep perfdata_file\= /usr/local/nagios/etc/nagios.cfg
service_perfdata_file=/usr/local/nagios/var/service-perfdata
host_perfdata_file=/usr/local/nagios/var/host-perfdata

ll /usr/local/nagios/var/spool/xidpe/|wc -l
504908
ll /usr/local/nagios/var/spool/perfdata//|wc -l
4

The account and password are active and not expired

I have attached the profile zip file
You do not have the required permissions to view the files attached to this post.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: No Graphs Data showing

Post by lmiltchev »

Is cron running on this system?

Code: Select all

ps -ef | grep cron
Do you have anything that can prevent cron from running as nagios user (pam security, etc.)? Do you see any clues in the cron log?

Code: Select all

tail -50 /var/log/cron
Have you tried restarting crond and checking to see if nagios cron jobs are running?

Code: Select all

service crond restart
ps -ef | grep cron
With so many files in the xidpe directory, I don't think you have many options but to remove the whole directory and recreate it. You will lose the perfdata, which is currently in the xidpe. You will need to run:

Code: Select all

cd /usr/local/nagios/var/spool
rm -rf xidpe
mkdir xidpe
chown nagios.nagios xidpe
chmod 755 xidpe
We have a wiki post on the topic here:

http://support.nagios.com/wiki/index.ph ... ve_No_Data

Hope this helps.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked