RFC Proof of concept patch: Restarting embedded Perl Nagios.
Stanley Hopcroft
Stanley.Hopcroft at IPAustralia.Gov.AU
Thu Oct 21 07:00:16 CEST 2004
Dear Sir,
I am writing to thank you for your letter and say,
On Wed, Oct 20, 2004 at 09:01:28PM -0500, Ethan Galstad wrote:
> Following up on an old post that needs addressing...
>
> The info from the Perl docs you provided earlier state that lost
> memory can only be freed by stopping the process.
Agreed.
> Rather than
> including this functionality in Nagios (which would be a bit kludgy),
> I would recommend another approach (which is still hackish, but
> better IMO)...
>
> Use cron to periodically run a script that calls the check_vsz plugin
> to determine the memory usage of the Nagios daemon. If the plugin
> returns a critical state, restart Nagios using the init script.
> Simple, but effective.
>
>
Yes, this is a much better way (even periodic restarts from cron without
checking mem use would be sufficient).
Thank you for your constructive and helpful answer.
Yours sincerely.
--
Stanley Hopcroft
Network specialist, IT Infrastructure
IP Australia
Ph: (02) 6283 3189 Fax: (02) 6281 1353
PO Box 200 Woden ACT 2606
http://www.ipaustralia.gov.au
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: disclaimer.txt
URL: <https://www.monitoring-lists.org/archive/developers/attachments/20041021/111f32d0/attachment.txt>
More information about the Developers
mailing list