RRD Performance Graphs having trouble
Re: RRD Performance Graphs having trouble
logs posted above.
thx
thx
Re: RRD Performance Graphs having trouble
You have a file that is not being reaped. Try to remove it:
Additionally, lets check the number of files in the folder:
Code: Select all
rm /usr/local/nagios/var/spool/xidpe/1334648935.perfdata.host-PID-5427Code: Select all
ls /usr/local/nagios/var/spool/xidpe/ | wc -lFormer Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Re: RRD Performance Graphs having trouble
abrist wrote:You have a file that is not being reaped. Try to remove it:Additionally, lets check the number of files in the folder:Code: Select all
rm /usr/local/nagios/var/spool/xidpe/1334648935.perfdata.host-PID-5427Code: Select all
ls /usr/local/nagios/var/spool/xidpe/ | wc -l
Code: Select all
[root@nagios ~]# rm /usr/local/nagios/var/spool/xidpe/1334648935.perfdata.host-PID-5427
rm: cannot lstat `/usr/local/nagios/var/spool/xidpe/1334648935.perfdata.host-PID-5427': No such file or directoryCode: Select all
[root@nagios ~]# ls /usr/local/nagios/var/spool/xidpe/ | wc -l
1364041Code: Select all
[root@nagios perfdata]# ls /usr/local/nagios/var/spool/perfdata/ | wc -l
1Thx
Re: RRD Performance Graphs having trouble
The wait and suspense was killing me. I deleted the file /usr/local/nagios/var/spool/perfdata/1334648935.perfdata.host-PID-5427.
Re: RRD Performance Graphs having trouble
There are wayyyy too many files in xidpe. This will lead to stat() problems when npcd tries to reap perfdata files. We will need to remove those files for npcd to begin to process perfdata once again. This will cause a gap of historical data though, as those files represent performance data that will not be recorded. A standard "rm" will fail due to stat() problems as well, so below you will find a command that can actually delete the files without first trying to list the directory contents:
And then, try once again to restart npcd, wait 15 minutes, and then check for new perfdata on your graphs.
Code: Select all
cd /usr/local/nagios/var/spool/xidpe/
find . -type f -deleteCode: Select all
service npcd restartFormer Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Re: RRD Performance Graphs having trouble
it's working hard on deleting all those files... for a while.
Thanks. When it finishes sometime next year I'll let you know.
Code: Select all
localhost Current Load CRITICAL - load average: 16.99, 16.46, 13.45Thanks. When it finishes sometime next year I'll let you know.
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: RRD Performance Graphs having trouble
Haha, sounds good. If we tried to re-initiate reaping with all those files stuck in there Nagios would have choked pretty hard. Let us know!
Re: RRD Performance Graphs having trouble
Thank you for your help: slansing, abrist and sreinhardt. It looks like the RRD graphs are working as they should. It's been running collecting/reaping data for a few hours now and it looks good!
thank you again. Problem resolved.

thank you again. Problem resolved.
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: RRD Performance Graphs having trouble
Glad to hear it! Closing as resolved.