[Nagios-devel] service-perfdata keeps growing

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.
Locked
Guest

[Nagios-devel] service-perfdata keeps growing

Post by Guest »

This is a multi-part message in MIME format.

------_=_NextPart_001_01C6233C.3AD5A5FA
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hello everybody,

I have a problem with the file that stores the performance data (usually =
'service-perf'). Despite the fact that I choosed to hourly rotate the =
logs (nagios.cfg), this one tends to keep growing indefinitely. When I =
try to truncate it (with '> service-perfdata' or 'cat /dev/null' or 'dd =
if=3D/dev/zero of=3Dservice-perfdata count=3D1' for example) the file is =
zeroed but only momentarily, because nagios keeps the file opened (fuser =
service-perfdata corroborates this), and therefore the size of the file =
grows as if nothing has happened.

Does anyone have a clue for how to solve this? Is this the right place =
to ask for this kind of help?

Regards,


Rui Manuel Fragoso | [email protected]



------_=_NextPart_001_01C6233C.3AD5A5FA
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable






service-perfdata keeps growing




Hello everybody,


I have a problem with the file that =
stores the performance data (usually 'service-perf'). Despite the fact =
that I choosed to hourly rotate the logs (nagios.cfg), this one tends to =
keep growing indefinitely. When I  try to truncate it (with '> =
service-perfdata' or 'cat /dev/null' or 'dd if=3D/dev/zero =
of=3Dservice-perfdata count=3D1' for example) the file is zeroed but =
only momentarily, because nagios keeps the file opened (fuser =
service-perfdata corroborates this), and therefore the size of the file =
grows as if nothing has happened.

Does anyone have a clue for how to =
solve this? Is this the right place to ask for this kind of help?


Regards,



Rui Manuel =
Fragoso =
| [email protected]





------_=_NextPart_001_01C6233C.3AD5A5FA--





This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]
Locked