rrdcached - Graphs missing data
rrdcached - Graphs missing data
Hello,
I made changes to the Nagios XI server based on the document "Using rrdcahed with Nagios XI". After following the whole procedure, I know there would be a lag of around 9 minutes in my graphs as that is the value I fed by feeding the following lines in rrdcached file "OPTIONS="-l unix:/var/rrdtool/rrdcached/rrdcached.sock -F -s nagios -m 0660 -w 500 -z 90 -j /tmp/ -b /var/rrdtool/rrdcached -P FLUSH,PENDING" But its been a long time and I have not been getting any data in my graphs.
I might be missing something here. Please let me know.
Thank you.
I made changes to the Nagios XI server based on the document "Using rrdcahed with Nagios XI". After following the whole procedure, I know there would be a lag of around 9 minutes in my graphs as that is the value I fed by feeding the following lines in rrdcached file "OPTIONS="-l unix:/var/rrdtool/rrdcached/rrdcached.sock -F -s nagios -m 0660 -w 500 -z 90 -j /tmp/ -b /var/rrdtool/rrdcached -P FLUSH,PENDING" But its been a long time and I have not been getting any data in my graphs.
I might be missing something here. Please let me know.
Thank you.
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: rrdcached - Graphs missing data
Did you follow the section for "Setting Up PNP To Utilize rrdcached" in
http://assets.nagios.com/downloads/nagi ... ios_XI.pdf
If so, can you see the journaling by running?
http://assets.nagios.com/downloads/nagi ... ios_XI.pdf
If so, can you see the journaling by running?
Code: Select all
ls -l /tmp/rrd.*Re: rrdcached - Graphs missing data
I did not set up PNP on 26th which was the day I was setting up rrdcached but after looking at the graphs today, I double checked the document and set up the PNP around 5 hours ago but still no graphs.
This is the output I got with the above command
[root@localhost ~]# ls -l /tmp/rrd.*
-rw-r--r-- 1 nagios users 1853117 Oct 30 15:52 /tmp/rrd.journal.1351626761.073562
-rw-r--r-- 1 nagios users 290816 Oct 30 16:02 /tmp/rrd.journal.1351630361.074125
Thank you
This is the output I got with the above command
[root@localhost ~]# ls -l /tmp/rrd.*
-rw-r--r-- 1 nagios users 1853117 Oct 30 15:52 /tmp/rrd.journal.1351626761.073562
-rw-r--r-- 1 nagios users 290816 Oct 30 16:02 /tmp/rrd.journal.1351630361.074125
Thank you
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: rrdcached - Graphs missing data
Can you run the following to see if we have any errors
Also, lets verify npcd is running
Code: Select all
tail -f /usr/local/nagios/var/npcd.log
tail -f /usr/local/nagios/var/perfdata.logCode: Select all
service npcd statusRe: rrdcached - Graphs missing data
Hello,
Below is a log file for the above tail commands. Perfdata log is showing errors.
It shows that NPCD is running.
Thank you.
Below is a log file for the above tail commands. Perfdata log is showing errors.
It shows that NPCD is running.
Thank you.
You do not have the required permissions to view the files attached to this post.
Re: rrdcached - Graphs missing data
Can you take a look at the following wiki post and see if it applies to your issue:
http://support.nagios.com/wiki/index.ph ... ve_No_Data
http://support.nagios.com/wiki/index.ph ... ve_No_Data
Re: rrdcached - Graphs missing data
Hello,
I ran the command and the output is 2
[root@localhost xidpe]# ls -f | wc -l
2
It is not a large number so I did not run the remaining commands.
I ran the command and the output is 2
[root@localhost xidpe]# ls -f | wc -l
2
It is not a large number so I did not run the remaining commands.
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: rrdcached - Graphs missing data
I did notice in the log you posted you were getting some timeouts also, can you run
And return the count
Thanks
Code: Select all
cd /usr/local/nagios/var/spool/perfdata
ls -f | wc -lThanks
Re: rrdcached - Graphs missing data
Usually when I had issues with rrdcached it was permissions related. Can you add this line to the rrdcached options:
and then restart the rrdcached service:
Code: Select all
RRDC_USER=nagiosCode: Select all
service rrdcached restartRe: rrdcached - Graphs missing data
Hello ,
I ran the below command and I got output as 3
[root@localhost perfdata]# ls -f | wc -l
3
This is what I have in rrdcached
#Settings for rrdcached
OPTIONS="-l unix:/var/rrdtool/rrdcached/rrdcached.sock -F -s nagios -m 0660 -w 500 -z 90 -j /tmp/ -b /var/rrdtool/rrdcached -P FLUSH,PENDING"
RRDC_USER=nagios
just like the document mentioned.
When I run the below command it gives
[root@localhost tmp]# ll
-rw-r--r-- 1 nagios users 4096 Oct 31 15:21 rrd.journal.1351696903.117208
I ran the below command and I got output as 3
[root@localhost perfdata]# ls -f | wc -l
3
This is what I have in rrdcached
#Settings for rrdcached
OPTIONS="-l unix:/var/rrdtool/rrdcached/rrdcached.sock -F -s nagios -m 0660 -w 500 -z 90 -j /tmp/ -b /var/rrdtool/rrdcached -P FLUSH,PENDING"
RRDC_USER=nagios
just like the document mentioned.
When I run the below command it gives
[root@localhost tmp]# ll
-rw-r--r-- 1 nagios users 4096 Oct 31 15:21 rrd.journal.1351696903.117208