[Nagiosplug-devel] plugins spec file patch for command.cfg

Thomas Guyot-Sionnest thomas at zango.com
Wed Mar 26 15:53:39 CET 2008

Hash: SHA1

Marc Powell wrote:
| Hi all,
| In this thread on nagios-users -
| http://thread.gmane.org/gmane.network.nagios.user/53370, Robert Dodier
| experienced that the command.cfg from the plugins became his
| /etc/nagios/command.cfg after building the RPM from the spec file. I
| suspect that this was caused by an order-of-installation issue since the
| spec properly dictates noreplace for the file. The core problem,
| however, is that this file is still in Netsaint format.
| I personally see no reason why this file should be installed any longer
| outside of the documentation directory given that nagios itself ships
| with sufficient sample config files. The attached patch file removes the
| installation of the file to /etc/nagios.

Thanks. I have no RPM-based systems to test with and haven't played with
spec files for long... do you mind testing and/or confirming this patch
is correct?

I kept the line as we'll likely want to ship a sample plugins.ini file
in a near future...

I will also update or delete the sample config file as well...

- --
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: nagiosplug_spec_file.patch
URL: <https://www.monitoring-plugins.org/archive/devel/attachments/20080326/6602b3b0/attachment.ksh>

More information about the Devel mailing list