Adjective: Comparative form of nerdy: more nerdy.

Nagios: Can’t locate in @INC

Ran into the following error while trying to use a nagios check written in perl.

Can't locate in @INC (@INC contains: /usr/lib64/nagios/plugins
/usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl
/usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at
./check_smartmon line 63.

The fixes I found were just about the include path (it needs to be your plugins directory), however I didn’t have the to start with. To fix:

yum install nagios-plugins-perl

Then it will be there:

find / -name "" -type f

Leave a Reply

Your email address will not be published. Required fields are marked *