Page 1 of 1

Re: [Nagios-devel] plugin in perl

Posted: Thu Feb 19, 2009 6:04 pm
by Guest


> From: Hendrik Baecker [mailto:[email protected]]
> 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/plugin ... n_template
>=20
> 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/ ... heck_stuff.
pl

Cheers,
nathan





This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]