The nagios documentation (http://nagios.sourceforge.net/docs/3_0/faststartup.html) recommends, for faster startup times, pre-caching the configuration file. This patch adds a "nagios_precache" rcvar which controls using the pre-cache startup method. Fix: Patch attached with submission follows:
Maintainer of net-mgmt/nagios, Please note that PR ports/139848 has just been submitted. If it contains a patch for an upgrade, an enhancement or a bug fix you agree on, reply to this email stating that you approve the patch and a committer will take care of it. The full text of the PR can be found at: http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/139848 -- Edwin Groothuis via the GNATS Auto Assign Tool edwin@FreeBSD.org
State Changed From-To: open->feedback Awaiting maintainers feedback (via the GNATS Auto Assign Tool)
I'm looking at this patch now and how it fits in to Nagios 3.2.0. I have a few tweaks to make to your patch and will supply an updated diff in the next day or so but the logic looks sound. Thanks. Jarrod.
State Changed From-To: feedback->suspended maintainer is working on a patch that incorporates this as well as other changes.
A slightly modified version of the supplied patch can be found below. Thanks Kimo for the initial submission! http://www.netleader.com.au/~jarrod/FreeBSD/net-mgmt-nagios-precache.diff Jarrod.
State Changed From-To: suspended->open new patch from maintainer.
Responsible Changed From-To: freebsd-ports-bugs->pgollucci I'll take it.
pgollucci 2010-01-08 01:19:53 UTC FreeBSD ports repository Modified files: net-mgmt/nagios/files nagios.in Log: - The nagios documentation (http://nagios.sourceforge.net/docs/3_0/faststartup.html) recommends, for faster startup times, pre-caching the configuration file. This patch adds a "nagios_precache" rcvar which controls using the pre-cache startup method. - also fix a trailing \ PR: ports/139848 Submitted by: kimo <kimor79@yahoo.com> Approved by: maintainer (Jarrod Sayers <jarrod@netleader.com.au>) Revision Changes Path 1.3 +36 -2 ports/net-mgmt/nagios/files/nagios.in _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
State Changed From-To: open->closed Committed. Thanks!