Home > Nagios, PerlScripts, plugins > Perl Nagios Plugin

Perl Nagios Plugin

January 21st, 2009 Leave a comment Go to comments

Thanks to Ton Voon now it has become even easier to develop nagios plugins using Perl.
A family of perl modules to streamline writing Nagios Just Released 6 Jan 2009.

HOW TO SETUP
Pre-Requisites Perl Modules
# cpan
# install Class::Accessor Config::Tiny Math::Calc::Units Params::Validate
Download, Uncompress and Install
# wget http://cpan.uwinnipeg.ca/cpan/authors/id/T/TO/TONVOON/Nagios-Plugin-0.31.tar.gz
# tar -zxvf Nagios-Plugin-0.31.tar.gz

To install this module type the following:
# perl Makefile.PL
# make
# make test
# make install

EXAMPLE SCRIPT
“Enough talk! Show me where to start!”
See the file ‘check_stuff.pl’ in the ‘t’ directory for a complete working example of a plugin script.

reference: http://cpan.uwinnipeg.ca/dist/Nagios-Plugin

  1. January 22nd, 2009 at 00:38 | #1

    Thanks, we certainly will give this a shot at our project. We are in constant search for such modules and developers.

    Terry
    Open Source, Perl CMS
    http://www.web-app.net/

  1. No trackbacks yet.

VAMOVE *

*