Service PerfData is consuming lot of space

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: Service PerfData is consuming lot of space

Post by benjaminsmith »

Hi,

Not sure how you have PNP setup with Nagios, but for Nagiso XI , they would be in the following directory:

Code: Select all

ls /usr/local/nagios/share/perfdata/ 
If the files are spooling up and not getting processed, you can run the following commands to check that. Again these commands may or may not work depending on your setup.

Code: Select all

ls /usr/local/nagios/var/spool/perfdata/ | wc -l
ls /usr/local/nagios/var/spool/xidpe/ | wc -l
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
amitgupta19
Posts: 286
Joined: Fri Sep 08, 2017 5:53 am

Re: Service PerfData is consuming lot of space

Post by amitgupta19 »

Thanks Benjamin for the reply.

I would like to tell you that i am not using the PNP.
I am using the Nagios Core.
I have disabled the Perf Data as of now.
Following are the output for the commands:

[xxxxxx@nagiosserver ~]$ ls /usr/local/nagios/share/perfdata/
ls: cannot access /usr/local/nagios/share/perfdata/: No such file or directory
[xxxxxx@nagiosserver ~]$ ls /usr/local/nagios/var/spool/perfdata/ | wc -l
ls: cannot access /usr/local/nagios/var/spool/perfdata/: No such file or directory
0
[xxxxxx@nagiosserver ~]$ ls /usr/local/nagios/var/spool/xidpe/ | wc -l
ls: cannot access /usr/local/nagios/var/spool/xidpe/: No such file or directory
0
[xxxxxx@nagiosserver ~]$
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: Service PerfData is consuming lot of space

Post by cdienger »

https://assets.nagios.com/downloads/nag ... fdata.html may help you. It sounds like it's not rotating the files and the bottom of the page has links to help you set that up.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked