LOL, me too, that's why I posted in the first place! Its just very weird since some files are being removed but all perfdata seems to be getting processed.Box293 wrote:I've run out of ideas.
Perfdata folder filling, yet is processing
Re: Perfdata folder filling, yet is processing
2 of XI5.6.14 Prod/DR/DEV - Nagios LogServer 2 Nodes
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: Perfdata folder filling, yet is processing
PM the log files and I'll have a look at them.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: Perfdata folder filling, yet is processing
I'll do that in a bit. The permissions on npcd.log weren't right and it wasn't being updated. I am going to remove all these old perf data files so we can say "from this time on"Box293 wrote:PM the log files and I'll have a look at them.
2 of XI5.6.14 Prod/DR/DEV - Nagios LogServer 2 Nodes
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
Re: Perfdata folder filling, yet is processing
Did you PM Troy the log files? Are you still having an issue with perfdata folder filling up?
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Perfdata folder filling, yet is processing
I'm about to PM them now. Yes I am still having the issue andseeing this in the log over and over:lmiltchev wrote:Did you PM Troy the log files? Are you still having an issue with perfdata folder filling up?
Code: Select all
[09-03-2014 10:40:40] NPCD: File '1409694688.perfdata.service-PID-2783' is an already in process PNP file. Leaving it untouched.2 of XI5.6.14 Prod/DR/DEV - Nagios LogServer 2 Nodes
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: Perfdata folder filling, yet is processing
Hmm, you may want to bump out your timeout value in:
If it is the default, I'd move it up to 30 seconds. In the past, I know a user had removed his RRD files and let them regenerate to fix the issue, I don't think it has any negative impact in most cases, but you may be missing some data points thus making your averages display at a lower resolution via the graphs. Of course, removing the RRD files is a bit rough, especially with a lot of valuable historical perf data.
EDIT: Whoa, didn't know it was at 120 already.
Code: Select all
/usr/local/nagios/etc/pnp/process_perfdata.cfgEDIT: Whoa, didn't know it was at 120 already.
Re: Perfdata folder filling, yet is processing
Timeout is already 120 
2 of XI5.6.14 Prod/DR/DEV - Nagios LogServer 2 Nodes
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: Perfdata folder filling, yet is processing
I noticed the following warning in perfdata.log:
Try installing the module to see if it helps:
Timeout was my other suggestion however it appears that has been covered.
In nagios.cfg, what are the settings for:
Code: Select all
RRDs Perl Modules are not installed. Falling back to rrdtool system call.Code: Select all
yum install rrdtool-perlIn nagios.cfg, what are the settings for:
Code: Select all
service_perfdata_file_mode
service_perfdata_file_processing_command
host_perfdata_file_mode
host_perfdata_file_processing_commandAs of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: Perfdata folder filling, yet is processing
OMG - This day has just sucked!
Anyway, I can't get yum to function on this server, it gets to "Updating Red Hat repositories" and just freezes there for ever....bah
As for the other question:
Those commands are here:
Anyway, I can't get yum to function on this server, it gets to "Updating Red Hat repositories" and just freezes there for ever....bah
As for the other question:
Code: Select all
service_perfdata_file_mode=a
service_perfdata_file_processing_command=process-service-perfdata-file-bulk
host_perfdata_file_mode=a
host_perfdata_file_processing_command=process-host-perfdata-file-bulkCode: Select all
define command {
command_name process-host-perfdata-file-bulk
command_line /bin/mv /var/nagiosramdisk/host-perfdata /var/nagiosramdisk/spool/xidpe/$TIMET$.perfdata.host
}
define command {
command_name process-service-perfdata-file-bulk
command_line /bin/mv /var/nagiosramdisk/service-perfdata /var/nagiosramdisk/spool/xidpe/$TIMET$.perfdata.service
}2 of XI5.6.14 Prod/DR/DEV - Nagios LogServer 2 Nodes
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
Re: Perfdata folder filling, yet is processing
These commands look fine. Can you run the following commands and show us the output?
Code: Select all
ls /var/nagiosramdisk/spool/xidpe | wc -l
ls /var/nagiosramdisk/spool/perfdata/ | wc -l
ls /var/nagiosramdisk/spool/checkresults/ | wc -l
which rrdtool
rrdtool --version
Be sure to check out our Knowledgebase for helpful articles and solutions!