Page 1 of 2

No Graphs Data showing

Posted: Mon Dec 22, 2014 12:23 pm
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.

Re: No Graphs Data showing

Posted: Mon Dec 22, 2014 1:25 pm
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/

Re: No Graphs Data showing

Posted: Mon Dec 22, 2014 2:18 pm
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

Re: No Graphs Data showing

Posted: Mon Dec 22, 2014 2:51 pm
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

Re: No Graphs Data showing

Posted: Mon Dec 22, 2014 2:53 pm
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.

Re: No Graphs Data showing

Posted: Mon Dec 22, 2014 3:06 pm
by tgriep
Could you post the output of this command also?

Code: Select all

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

Re: No Graphs Data showing

Posted: Mon Dec 22, 2014 3:10 pm
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]

Re: No Graphs Data showing

Posted: Mon Dec 22, 2014 3:17 pm
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

Re: No Graphs Data showing

Posted: Mon Dec 22, 2014 3:22 pm
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

Re: No Graphs Data showing

Posted: Mon Dec 22, 2014 3:56 pm
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.