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.
amitgupta19
Posts: 286
Joined: Fri Sep 08, 2017 5:53 am

Service PerfData is consuming lot of space

Post by amitgupta19 »

"service-perfdata" file is consuming the space of 25 GB.
this file is located in the folder "/usr/local/nagios/var" .

is there a way to trim this file? Like Purge the Old data or move Old data to some other place.
amitgupta19
Posts: 286
Joined: Fri Sep 08, 2017 5:53 am

Re: Service PerfData is consuming lot of space

Post by amitgupta19 »

Can anyone look into this?
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,

Sure, can! What product/version are you using and how many hosts and services do you have setup?

RRD files are pretty efficient for space, there could an issue here processing performance data.

Also, you can delete old RRD files and it will not affect your monitoring.

Benjamin
Nagios Support Team
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 »

I am using the Nagios Core version 4.4.5 .
We are monitoring around 510 Hosts and 3100 Services.

Can you please do let me where RRD files are located?

But my space concern is related to the file(service-perfdata) because this single file is consuming the 25 GB Space.
Currently i have stopped processing the Performance Data.

How to trim this file ?
amitgupta19
Posts: 286
Joined: Fri Sep 08, 2017 5:53 am

Re: Service PerfData is consuming lot of space

Post by amitgupta19 »

Can anyone look into this?
gormank
Posts: 1114
Joined: Tue Dec 02, 2014 12:00 pm

Re: Service PerfData is consuming lot of space

Post by gormank »

Log into your nagios host and run: locate .rrd
User avatar
tgriep
Madmin
Posts: 9177
Joined: Thu Oct 30, 2014 9:02 am

Re: Service PerfData is consuming lot of space

Post by tgriep »

Do you see a perfdata.log file or a npcd.log file in the /usr/local/nagios/var folder?
Check that for errors as to why the service-perfdata file is not getting processed.
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 »

I have checked the folder: /usr/local/nagios/var and could not find the following files:
perfdata.log file or a npcd.log

Also i would like to tell you my Problem is that Service-perfdata is consuming lot of Space.

How to trim this file and keep under control.
amitgupta19
Posts: 286
Joined: Fri Sep 08, 2017 5:53 am

Re: Service PerfData is consuming lot of space

Post by amitgupta19 »

Can anyone update me on this?
amitgupta19
Posts: 286
Joined: Fri Sep 08, 2017 5:53 am

Re: Service PerfData is consuming lot of space

Post by amitgupta19 »

Can anyone update me on this?
Locked