Hi All,
Getting below error even though I have installed in nagios plugin module nagios-plugins-2.0.3
Can't locate Nagios/Plugin.pm in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .
Please let me know how to resolve.
Thanks,
Bhadregowda
Can't locate Nagios/Plugin.pm
Re: Can't locate Nagios/Plugin.pm
Run the following command to locate your Plugin.pm file:
If it is not located in one of those listed locations, copy it there and the plugin should work.
Which plugin is this? Can you either post it here or link to it? If it is a custom plugin you are working on and can't share, that is fine.
You might also just have a different layout and will need to alter the paths used:
http://viewsby.wordpress.com/2014/02/20 ... pm-in-inc/
Code: Select all
find / -name Plugin.pmWhich plugin is this? Can you either post it here or link to it? If it is a custom plugin you are working on and can't share, that is fine.
You might also just have a different layout and will need to alter the paths used:
http://viewsby.wordpress.com/2014/02/20 ... pm-in-inc/
Former Nagios employee