Netapp plugins for nagios - Filer volumes monitor

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
klam1221
Posts: 3
Joined: Thu Oct 23, 2014 3:52 pm

Netapp plugins for nagios - Filer volumes monitor

Post 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
User avatar
lmiltchev
Former Nagios Staff
Posts: 13587
Joined: Mon May 23, 2011 12:15 pm

Re: Netapp plugins for nagios - Filer volumes monitor

Post by lmiltchev »

Do you have net-snmp installed on this system?
Be sure to check out our Knowledgebase for helpful articles and solutions!
klam1221
Posts: 3
Joined: Thu Oct 23, 2014 3:52 pm

Re: Netapp plugins for nagios - Filer volumes monitor

Post 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
User avatar
tgriep
Madmin
Posts: 9177
Joined: Thu Oct 30, 2014 9:02 am

Re: Netapp plugins for nagios - Filer volumes monitor

Post 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
Be sure to check out our Knowledgebase for helpful articles and solutions!
User avatar
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

Post by Box293 »

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.
User avatar
rhassing
Posts: 412
Joined: Sat Oct 05, 2013 10:29 pm
Location: Netherlands

Re: Netapp plugins for nagios - Filer volumes monitor

Post 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
Rob Hassing
Image
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Netapp plugins for nagios - Filer volumes monitor

Post by abrist »

@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.
Locked