Page 1 of 1

[Nagios-devel] service-perfdata keeps growing

Posted: Fri Jan 27, 2006 4:21 am
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]