Page 1 of 1

Netapp plugins for nagios - Filer volumes monitor

Posted: Tue Feb 03, 2015 1:15 pm
by klam1221
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

Re: Netapp plugins for nagios - Filer volumes monitor

Posted: Tue Feb 03, 2015 1:28 pm
by lmiltchev
Do you have net-snmp installed on this system?

Re: Netapp plugins for nagios - Filer volumes monitor

Posted: Thu Feb 05, 2015 1:17 pm
by klam1221
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

Re: Netapp plugins for nagios - Filer volumes monitor

Posted: Thu Feb 05, 2015 5:41 pm
by tgriep
Try running this command and post back to verify that all of SNMP utils are installed.

Code: Select all

yum list |grep -i snmp

Re: Netapp plugins for nagios - Filer volumes monitor

Posted: Thu Feb 05, 2015 7:40 pm
by Box293
What do you get from

Code: Select all

find / -name SNMP.pm

Re: Netapp plugins for nagios - Filer volumes monitor

Posted: Fri Feb 06, 2015 2:55 am
by rhassing
On CentOS you could do:

Code: Select all

yum -y install net-snmp-perl
Next time you are looking for a file you could also use:

Code: Select all

yum provides */SNMP.pm

Re: Netapp plugins for nagios - Filer volumes monitor

Posted: Fri Feb 06, 2015 11:19 am
by abrist
@OP: Did any of thee suggestions work?