diff options
Diffstat (limited to 'web/input/doc/faq/use-perl-module.md')
-rw-r--r-- | web/input/doc/faq/use-perl-module.md | 18 |
1 files changed, 9 insertions, 9 deletions
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 @@ | |||
1 | title: Using Nagios::Plugin | 1 | title: Using Monitoring::Plugin |
2 | parent: FAQ | 2 | parent: FAQ |
3 | --- | 3 | --- |
4 | 4 | ||
5 | # How do I use the Nagios::Plugin module? | 5 | # How do I use the Monitoring::Plugin module? |
6 | 6 | ||
7 | The Nagios::Plugin Perl module can be obtained from two main locations: | 7 | The Monitoring::Plugin Perl module can be obtained from two main locations: |
8 | 8 | ||
9 | * from the Monitoring Plugins tarball with an | 9 | * from the Monitoring Plugins tarball with an |
10 | [extra configure option][configure-module] | 10 | [extra configure option][configure-module] |
@@ -20,18 +20,18 @@ To write your plugin, you should start it with: | |||
20 | 20 | ||
21 | use FindBin; | 21 | use FindBin; |
22 | use lib "$FindBin::Bin/../perl/lib"; | 22 | use lib "$FindBin::Bin/../perl/lib"; |
23 | use Nagios::Plugin; | 23 | use Monitoring::Plugin; |
24 | 24 | ||
25 | This bit of code tells Perl to look for the Nagios::Plugin module in a | 25 | This bit of code tells Perl to look for the Monitoring::Plugin module in a |
26 | directory relative to where the plugin is executed - this is a hard | 26 | directory relative to where the plugin is executed - this is a hard |
27 | dependency. If Nagios::Plugin is not found there, Perl's system directories | 27 | dependency. If Monitoring::Plugin is not found there, Perl's system directories |
28 | will be searched. | 28 | will be searched. |
29 | 29 | ||
30 | This approach allows a system administrator to decide whether they want | 30 | This approach allows a system administrator to decide whether they want |
31 | Nagios::Plugin installed via system directories or within the `$prefix` area | 31 | Monitoring::Plugin installed via system directories or within the `$prefix` area |
32 | of the plugins. | 32 | of the plugins. |
33 | 33 | ||
34 | [configure-module]: doc/faq/build-perl-module.html "configure with Nagios::Plugin" | 34 | [configure-module]: doc/faq/build-perl-module.html "configure with Monitoring::Plugin" |
35 | [cpan-module]: http://search.cpan.org/dist/Nagios-Plugin/ "Nagios::Plugin on CPAN" | 35 | [cpan-module]: http://search.cpan.org/dist/Monitoring-Plugin/ "Monitoring::Plugin on CPAN" |
36 | 36 | ||
37 | <!--% # vim:set filetype=markdown textwidth=78 joinspaces: # %--> | 37 | <!--% # vim:set filetype=markdown textwidth=78 joinspaces: # %--> |