matteocorti / nagios_plugins

18 stars 7 forks source link

check_rbl ( NULL ) #85

Closed matteocorti closed 9 years ago

matteocorti commented 9 years ago

Original reporter: jozsef.kozo@suriel.eu

I'm using Centreon, and i want to install check_rbl. I followed the install gudie ( https://trac.id.ethz.ch/projects/nagios_plugins/browser/check_rbl/INSTALL )

When i want to ./check_rbl it says:

Can't locate Nagios/Plugin.pm in @INC (@INC contains: /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/5.8.8 .) at ./check_rbl line 35. BEGIN failed--compilation aborted at ./check_rbl line 35.

matteocorti commented 9 years ago

Original reporter: matteo@corti.li

Dear Jozsef,

when executing "perl Makefile.PL" it should tell you which Perl modules are present and which missing.

If a module is missing (Nagios::Plugin) you should install it first. How to install a Perl module depends on your operating system.

check_rbl need the following modules (all available on CPAN):

   o   Getopt::Long

   o   IO::Select

   o   Nagios::Plugin

   o   Nagios::Plugin::Threshold

   o   Number::Format

   o   Net::DNS

   o   Readonly