From 7b0fa5d642466e7cdd0d326658c3c06c27f8a1ec Mon Sep 17 00:00:00 2001 From: Holger Weiss Date: Sat, 11 Jan 2014 17:38:18 +0100 Subject: Import most FAQ items from old web site Import most of the FAQ entries from our old web site. A few outdated questions have been omitted, many of the imported ones were updated in one way or another, and the order of the development-related questions has been changed. Also, the phrasing of some questions has been modified (just to make the headings shorter). For the record, this is the original list of questions from the old web site: General ------- * Who controls the Nagios Plugins project? * What license is Nagios Plugins distributed under? * Who owns the copyright for the Nagios Plugin code? * Can I submit a patch to this project? * Do you accept donations? Compiling --------- * ./configure appears to hang * check_ldap, check_radius or check_pgsql don't compile even though configure output says the required libraries are present * How come check_http/check_tcp doesn't work with --ssl? * How do I compile the Nagios::Plugin perl module? * I can't compile check_mysql on solaris * I get '":types" is not exported by the Params::Validate module' when running tests * Why does Solaris use pst3 for check_procs? Installing ---------- * Some of the root plugins (check_dhcp and check_icmp) haven't been installed. What's happening? * Why aren't my plugins installed as the nagios user? And what about root plugins? Development ----------- * How do I use Git? * Can I add extra tests to the C routines? * Can I use the Nagios Plugins in my own project? * How can I find out more about writing a plugin? * How do I make changes on nagiosmib? * How do I prove the C routines work? * How do I use and update Gnulib? * How do I use the Nagios::Plugin perl module? * How do the test parameters in NPTest.pm work? * Private C APIs --- web/input/doc/faq/reuse.md | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 web/input/doc/faq/reuse.md (limited to 'web/input/doc/faq/reuse.md') diff --git a/web/input/doc/faq/reuse.md b/web/input/doc/faq/reuse.md new file mode 100644 index 0000000..6c8e7b0 --- /dev/null +++ b/web/input/doc/faq/reuse.md @@ -0,0 +1,44 @@ +title: Code reuse +parent: FAQ +--- + +# Can I use Nagios Plugins in my project? + +Firstly, there is a distinction between a Nagios plugin and plugins from the +Nagios Plugins project. + +Although Nagios (the system) is licensed under the GPL, plugins are executed +in their own environment, so they [do not fall][aggregation] under the "viral" +aspect of the GPL. Therefore, any plugin written for use by Nagios can be +under any license the copyright holder selects. + +However, the plugins contained within the Nagios Plugins project are +distributed under the [GPL][gpl]. If you distribute an application that +includes the Nagios Plugins (modified or not), you are required to distribute +a copy of the source code for the plugins under the terms of the GPL, +regardless of the licensing for the rest of the application. + +If you write a plugin which is a derivative work from code of the Nagios +Plugins project, then your plugin must also be licensed under the GPL, +although you own the copyright for your modified portions. + +*Derivative work* usually includes: + +* modified versions of the plugins +* other software that contains code (modified or not) copied from the plugins +* other software that `#include`s header files from the plugins +* other software that has linked against library files from the plugins + +and does not usually include: + +* other software that parses the output of a plugin run from the command line, + exit status, etc. +* software that provides a "wrapper" for command line execution of the plugin +* software that uses status codes and other values which are in the header + files, but also described in the documentation (though not including or + linking to the source) + +[aggregation]: http://www.gnu.org/licenses/gpl-faq.html#MereAggregation "GPL FAQ: Mere Aggregation" +[gpl]: http://www.gnu.org/licenses/gpl.html "GPLv3" + + -- cgit v1.2.3-74-g34f1