No Graphs Data showing
No Graphs Data showing
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.
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.
Re: No Graphs Data showing
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?
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!
Re: No Graphs Data showing
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
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
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!
Re: No Graphs Data showing
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.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
Let me know what you need.
Re: No Graphs Data showing
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
Can you post the output of the following
Beyond that it may be more helpful to post your profile.zip (Admin -> System Profile) to [email protected]
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
Re: No Graphs Data showing
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.
Re: No Graphs Data showing
grep perfdata_file\= /usr/local/nagios/etc/nagios.cfgscottwilkerson wrote:Can you post the output of the followingBeyond that it may be more helpful to post your profile.zip (Admin -> System Profile) to [email protected]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
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.
Re: No Graphs Data showing
Is cron running on this system?
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?
Have you tried restarting crond and checking to see if nagios cron jobs are running?
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:
We have a wiki post on the topic here:
http://support.nagios.com/wiki/index.ph ... ve_No_Data
Hope this helps.
Code: Select all
ps -ef | grep cronCode: Select all
tail -50 /var/log/cronCode: Select all
service crond restart
ps -ef | grep cronCode: Select all
cd /usr/local/nagios/var/spool
rm -rf xidpe
mkdir xidpe
chown nagios.nagios xidpe
chmod 755 xidpehttp://support.nagios.com/wiki/index.ph ... ve_No_Data
Hope this helps.
Be sure to check out our Knowledgebase for helpful articles and solutions!