Page 2 of 2

Re: Service PerfData is consuming lot of space

Posted: Fri May 01, 2020 1:53 pm
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

Re: Service PerfData is consuming lot of space

Posted: Tue May 05, 2020 4:09 am
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 ~]$

Re: Service PerfData is consuming lot of space

Posted: Tue May 05, 2020 4:41 pm
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.