Hi Team,
I am facing an issue while running the check_hpacucli on fedora 14. Please find the below error and suggest what needs to be done for this.
nagios@rottweiler /home/nagios/libexec> ./check_hpacucli
Can't locate Nagios/Plugin.pm in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5 /usr/share/perl5 /usr/lib64/perl5 /usr/share/perl5 /usr/local/lib64/perl5/site_perl/5.10.0/x86_64-linux-thread-multi /usr/local/lib/perl5/site_perl/5.10.0 /usr/lib64/perl5/vendor_perl/5.10.0/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl /usr/lib/perl5/site_perl .) at ./check_hpacucli line 46.
BEGIN failed--compilation aborted at ./check_hpacucli line 46.
Can't locate Nagios/Plugin.pm on fedora 14
-
sunnynani4849
- Posts: 31
- Joined: Fri Jan 22, 2016 1:04 am
Re: Can't locate Nagios/Plugin.pm on fedora 14
If you add the Epel repository you should be able to do:
This would install the needed perl module.
If it is still not found, you can check where the Utils.pm is installed with:
And you can add one line in the plugin:
Or to the path which was found.
Code: Select all
sudo yum install perl-Nagios-PluginIf it is still not found, you can check where the Utils.pm is installed with:
Code: Select all
rpm -ql perl-Nagios-PluginCode: Select all
use lib '/usr/share/perl5/vendor_perl/Nagios/';Rob Hassing


Re: Can't locate Nagios/Plugin.pm on fedora 14
Former Nagios employee
https://www.mcapra.com/
https://www.mcapra.com/