plugin in perl

Vonnahme, Nathan nathan.vonnahme at bannerhealth.com
Thu Feb 19 18:45:17 CET 2009



> From: Hendrik Baecker [mailto:andurin at process-zero.de]
> Monika Spechtenhauser schrieb:
> > Hi!
> > I have to write this plugin in perl. I have never worked with Perl
> > before, therefore my question: can someone provide me an example
> how to
> > write a plugin in perl? I have read the plugin guidelines,but as I
> am
> > totally new they are not very helpful at the moment!
> >
> Even if the article itself is in german, the plugin template might be
> interesting for you.
> http://www.nagios-wiki.de/nagios/plugins/perl_plugin_template
> 
> An easier way might be the Nagios::Plugin Perl module from the core
> developers:
> http://search.cpan.org/dist/Nagios-Plugin/

Monika,

See especially the sample check_stuff.pl script in the 't' directory of
the Nagios::Plugin distribution:

http://cpansearch.perl.org/src/TONVOON/Nagios-Plugin-0.31/t/check_stuff.
pl

Cheers,
nathan

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H




More information about the Developers mailing list