Hi
@ vuduops
Nagios spools small files that are moved around and processed. Sometimes these spooled files get filled up.
You will need to count the amount of these spooled files. The standard amount should be number <=20,000 which healthy.
If any number comes up above 20,000,you will need to delete some because some processes will get caught up in a loop.
Please follow the steps below to resolve this issue.
1.Count the amount of these spooled files by running the command below:
The output for these commands will be a number
Code: Select all
ls /usr/local/nagios/var/spool/perfdata/ | wc -l
Code: Select all
ls /usr/local/nagios/var/spool/xidpe/ | wc -l
Remember,if you get a large number above 20,000 it means problems.
2.If it is a large number above 20,000 those files need to be deleted so please run the command below to delete them.
Code: Select all
find /usr/local/nagios/var/spool/perfdata/ -type f -delete
3.PLEASE WAIT 30 MINUTES TO SEE IF THE PERFORMANCE GRAPHS ARE WORKING AGAIN.
Please try that and let me know if it worked or if you have any questions.
Otherwise if we will have to change verbosity for performance data logging to a higher lever in performance.cfg and npcd.cfg files.
Note: NPCD deamon is responsible for processing performance data. That is why i mentioned its configuration file(npcd.cfg ) above in regards to increasing logging verbosity.
However,don't worry about that for now,first try what i mentioned in the first three steps above.