Hi,
I am trying to setup/install/test Netapp plugins for nagios scripts "check-netapp-ng.pl" to monitor our Netapp Filers volume storage usage. I got errors while executing the below syntax on Linux system running Centos 6.5 (2.6.32-431.17.1.el6.x86_64) / Nagios Core 4.0.1
#./check-netapp-ng.pl -H -C -T DISKUSED -w 80 -c 90 --vol /vol/acadia_vol1
Can't locate Net/SNMP.pm in @INC (@INC contains: /usr/lib/nagios/libexec /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-netapp-ng.pl line 40.
BEGIN failed--compilation aborted at ./check-netapp-ng.pl line 40.
Note: I edited the file "check-netapp-ng.pl" and line 40 has line entry as following:
use Net::SNMP;
#./check-netapp-ng.pl -H 10.192.84.151 -C public_ion -T DISKUSED --vol /vol/acadia_vol1
Can't locate Net/SNMP.pm in @INC (@INC contains: /usr/lib/nagios/libexec /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-netapp-ng.pl line 40.
BEGIN failed--compilation aborted at ./check-netapp-ng.pl line 40.
I double checked the Netapp Filers and the remote nagios server have appropriate permissions/access to the Netapp Filers.
Does anyone out there experiencing this errors and how I would go about to fix/resolve the errors. Any info/tips on this
would really appreciated.
Thanks,
Ken
408-799-6854
Netapp plugins for nagios - Filer volumes monitor
Re: Netapp plugins for nagios - Filer volumes monitor
Do you have net-snmp installed on this system?
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Netapp plugins for nagios - Filer volumes monitor
Yes I do have net-snmp rpm package installed as well as other snmp related package as below:
net-snmp-utils, net-snmp-perl, net-snmp-devel and net-snmp
At this point I have no clues as to how to fix the errors. Any tips/advise you recommend I would do
to resolve the issues and be able to monitor the Netapp volumes via the netapp plugins.
Much appreciated.
Ken
net-snmp-utils, net-snmp-perl, net-snmp-devel and net-snmp
At this point I have no clues as to how to fix the errors. Any tips/advise you recommend I would do
to resolve the issues and be able to monitor the Netapp volumes via the netapp plugins.
Much appreciated.
Ken
Re: Netapp plugins for nagios - Filer volumes monitor
Try running this command and post back to verify that all of SNMP utils are installed.
Code: Select all
yum list |grep -i snmp
Be sure to check out our Knowledgebase for helpful articles and solutions!
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: Netapp plugins for nagios - Filer volumes monitor
What do you get from
Code: Select all
find / -name SNMP.pm
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: Netapp plugins for nagios - Filer volumes monitor
On CentOS you could do:
Next time you are looking for a file you could also use:
Code: Select all
yum -y install net-snmp-perl
Code: Select all
yum provides */SNMP.pm
Rob Hassing
Re: Netapp plugins for nagios - Filer volumes monitor
@OP: Did any of thee suggestions work?
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.