Use Nagios::Plugin;

Hello,

sorry for the question (perhaps stupid) but I am at the begin with Nagios…

I have a check_dir plugin that fails in the row where it needs to use this Nagios::Plugin.

What is it? And how can install it?

Thanks
Regards,

Hello, it’s a perl module. You can download it here:
search.cpan.org/~tonvoon/Nagios- … /Plugin.pm

HTH

/S

Thanks!

But I have a problem: after executing # perl Makafile.PL I receive
Warning: prerequisite Class::Accessor 0 not found.

Warning: prerequisite Config::Tiny 0 not found.

Warning: prerequisite Math::Calc::Units 0 not found.

Warning: prerequisite Params::Validate 0 not found.

Writing Makefile for Nagios::Plugin

and after # make test I receive a lot of errors. What Have I mist?

Hi

[blockquote]What Have I mist?
[/blockquote]
You need to ensure you have installed the package dependencies first

cpandeps.cantrell.org.uk/?module … erl=latest

Regards

/S