From 7dd4264a11d7628df4c806eadaeca1c4115e1fc8 Mon Sep 17 00:00:00 2001 From: Holger Weiss Date: Wed, 22 Jan 2014 08:54:05 +0100 Subject: s/Nagios::Plugin/Monitoring::Plugin/ The Nagios::Plugin module has been renamed to Monitoring::Plugin. --- web/input/doc/faq/use-perl-module.md | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'web/input/doc/faq/use-perl-module.md') diff --git a/web/input/doc/faq/use-perl-module.md b/web/input/doc/faq/use-perl-module.md index d624e5f..3ac5674 100644 --- a/web/input/doc/faq/use-perl-module.md +++ b/web/input/doc/faq/use-perl-module.md @@ -1,10 +1,10 @@ -title: Using Nagios::Plugin +title: Using Monitoring::Plugin parent: FAQ --- -# How do I use the Nagios::Plugin module? +# How do I use the Monitoring::Plugin module? -The Nagios::Plugin Perl module can be obtained from two main locations: +The Monitoring::Plugin Perl module can be obtained from two main locations: * from the Monitoring Plugins tarball with an [extra configure option][configure-module] @@ -20,18 +20,18 @@ To write your plugin, you should start it with: use FindBin; use lib "$FindBin::Bin/../perl/lib"; - use Nagios::Plugin; + use Monitoring::Plugin; -This bit of code tells Perl to look for the Nagios::Plugin module in a +This bit of code tells Perl to look for the Monitoring::Plugin module in a directory relative to where the plugin is executed - this is a hard -dependency. If Nagios::Plugin is not found there, Perl's system directories +dependency. If Monitoring::Plugin is not found there, Perl's system directories will be searched. This approach allows a system administrator to decide whether they want -Nagios::Plugin installed via system directories or within the `$prefix` area +Monitoring::Plugin installed via system directories or within the `$prefix` area of the plugins. -[configure-module]: doc/faq/build-perl-module.html "configure with Nagios::Plugin" -[cpan-module]: http://search.cpan.org/dist/Nagios-Plugin/ "Nagios::Plugin on CPAN" +[configure-module]: doc/faq/build-perl-module.html "configure with Monitoring::Plugin" +[cpan-module]: http://search.cpan.org/dist/Monitoring-Plugin/ "Monitoring::Plugin on CPAN" -- cgit v1.2.3-74-g34f1