Netapp checking setup problem

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
tcanthonyii
Posts: 88
Joined: Thu Jan 21, 2016 10:45 am

Netapp checking setup problem

Post by tcanthonyii »

I'm attempting to use this plugin
https://exchange.nagios.org/directory/P ... ap/details

Downloaded from git hub. Instructions state I need the netapp perl sdk. Downloaded that. Instructions state to copy the contents of netapp/* to your /usr/lib/perl5 or /usr/lib64/perl5 directory. Neither of these directories exist for me. Did a search of the OS non exist with name, nor with the world perl.

I did a yum install perl to the nagiosxi server and it says xxxxxx already installed and latest version. Nothing to do.

Code: Select all

[root@NagiosXIMon /]# yum install perl
Loaded plugins: fastestmirror
Setting up Install Process
Loading mirror speeds from cached hostfile
 * base: centos.mirrors.tds.net
 * epel: mirror.steadfast.net
 * extras: packages.oit.ncsu.edu
 * updates: mirror.sesp.northwestern.edu
Package 4:perl-5.10.1-144.el6.x86_64 already installed and latest version
Nothing to do
You have new mail in /var/spool/mail/root
I'm using the NagiosXI appliance. The instruction are not that great for a small time user like me. How do I either get to that directory or how do I install the netapp plugin on my Nagios server so I can complete the rest of the steps.

Any help is much appreciated.
tcanthonyii
Posts: 88
Joined: Thu Jan 21, 2016 10:45 am

Re: Netapp checking setup problem

Post by tcanthonyii »

Code: Select all

[root@NagiosXIMon /]# which perl
/usr/bin/perl
[root@NagiosXIMon /]# cd ..
[root@NagiosXIMon /]# cd /usr/bin/perl
-bash: cd: /usr/bin/perl: Not a directory
[root@NagiosXIMon /]#
just adding this.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Netapp checking setup problem

Post by scottwilkerson »

/usr/lib64/perl5 should exist on our VM

Code: Select all

cd /usr/lib64/perl5
ls -l
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
tcanthonyii
Posts: 88
Joined: Thu Jan 21, 2016 10:45 am

Re: Netapp checking setup problem

Post by tcanthonyii »

Weird. I don't totally understand linux so I'm not sure why I can go directly to it but not get there one directory at a time.

Thanks for your help. I was able to copy the files.
tcanthonyii
Posts: 88
Joined: Thu Jan 21, 2016 10:45 am

Re: Netapp checking setup problem

Post by tcanthonyii »

I do have one other problem with this plugin.

It says this in the instructions: https://outsideit.net/monitoring-netapp-ontap/

Code: Select all

Copy check_netapp_ontap.pl script to your nagios libexec folder and configure the correct permissions

but the download also comes with a commands-netapp.conf file that has information in it. Should this be be copied anywhere?

While creating a command I have a "require option is not set!" error. See attached picture.
command.JPG
You do not have the required permissions to view the files attached to this post.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Netapp checking setup problem

Post by scottwilkerson »

you can put both of these in /usr/local/nagios/libexec

Or just upload through Admin -> Manage Plugins
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
tcanthonyii
Posts: 88
Joined: Thu Jan 21, 2016 10:45 am

Re: Netapp checking setup problem

Post by tcanthonyii »

OK so now I'm getting a "failed test query: server returned http error: 400 bad" I really wish these plugins had documentation for dummies like me. I don't work with this stuff everyday.

I really appreciate the help.
Last edited by tcanthonyii on Wed May 30, 2018 2:20 pm, edited 1 time in total.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Netapp checking setup problem

Post by scottwilkerson »

One thing I am going to mention is that it may be best to put single quotes around your password in the command as the special char can have an effect..

Also, before putting it into nagios, work through making the command work correctly on the command line
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
tcanthonyii
Posts: 88
Joined: Thu Jan 21, 2016 10:45 am

Re: Netapp checking setup problem

Post by tcanthonyii »

I got it working. I had the wrong version of the SDK installed. I have other questions but I need to direct them to the developer I think. For instance I have 2 volumes at or near capacity all the time so I want to exclude them from my volume health check for instance or create a check per volume and or lun.
tcanthonyii
Posts: 88
Joined: Thu Jan 21, 2016 10:45 am

Re: Netapp checking setup problem

Post by tcanthonyii »

And now I have that figured out too.

You can close this ticket.
Locked