Page 1 of 4

Netapp devices monitoring

Posted: Tue Jan 12, 2021 5:05 am
by kalyanpabolu
Hello Team,

We want to monitor NetApp Storage devices using Nagios XI. Could you please guide us on the same?

We would like to monitor below parameters:

1. Volume space utilization
2. Aggregate space utilization
3. On/off status of volumes/LUNs
4. CPU status of storage
5. Memory usage
6. Capacity logs on aggregate level

Thanks in advance!!

Re: Netapp devices monitoring

Posted: Wed Jan 13, 2021 5:55 am
by kalyanpabolu
Hello,

Can we please get an update here?

Re: Netapp devices monitoring

Posted: Wed Jan 13, 2021 12:06 pm
by benjaminsmith
Hi @kalyanpabolu,

I did some research on this and I would suggest trying one or more of the community plugins for NetApp available on the Nagios Exchange.

Most of these are perl scripts using SNMP to query metrics from the NetApp system. For example, the Check Netapp NG plugin will check:
Temperature
* Fan Fail
* Power Supply Fail
* CPU Load
* NVram Battery Status
* Vol Usage Precentage
* Snapshot Config
* Shelf Health
* Number of ndmp sessions
* Global Status of the filer
* Number of failed disks
* Show's uptime
* Cache Age
The full listing is available at:
https://exchange.nagios.org/directory/P ... NAS/NetApp

Alternatively, you could use of the generic SNMP wizards in Nagios XI to configure this, assuming, you know which OID's you want to run check against.

Let me know if you have any specific questions.

References:
Managing Plugins In Nagios XI
https://www.nagios.com/solutions/snmp-monitoring/

Re: Netapp devices monitoring

Posted: Thu Jan 14, 2021 3:56 am
by kalyanpabolu
Hello,

Thank you for the reply!!

We will go through the plugin and get back to you with the updates!!

Re: Netapp devices monitoring

Posted: Thu Jan 14, 2021 6:13 pm
by ssax
Sounds good, we'll keep an eye out.

Re: Netapp devices monitoring

Posted: Thu Jan 21, 2021 11:30 am
by kalyanpabolu
Hello,

We checked one plugin and it seems to be working fine. The disk usage is getting below output:

[root@HO1-NAGIOSXI libexec]# ./check_netapp3.pl -H 172.16.10.5 -v DISKUSED64
Use of uninitialized value $volume in substitution (s///) at ./check_netapp3.pl line 488.
Use of uninitialized value $volume in sprintf at ./check_netapp3.pl line 489.
DISKUSED64 OK - Kb used : 28120955260|du_ = 28120955260
[root@HO1-NAGIOSXI libexec]#

I am not sure why some error message it is giving. Also, can we get the output in Mb?

Re: Netapp devices monitoring

Posted: Thu Jan 21, 2021 7:46 pm
by ssax
You should be able to comment out this line in the plugin to ignore those:

Code: Select all

use warnings;
To this:

Code: Select all

#use warnings;
Then run the check again and see if they still show.

Re: Netapp devices monitoring

Posted: Sun Jan 24, 2021 12:48 am
by kalyanpabolu
Hello,

Thanks for the reply!!

It worked fine and removed those warnings.
[root@HO1-NAGIOSXI libexec]# ./check_netapp3.pl -H 172.16.10.5 -v DISKUSED64
DISKUSED64 OK - Kb used : 28121238268|du_ = 28121238268
[root@HO1-NAGIOSXI libexec]#

Can we get the output in MB?

Re: Netapp devices monitoring

Posted: Mon Jan 25, 2021 4:55 pm
by benjaminsmith
HI,
Can we get the output in MB?
The OID is returning KB for this plugin and I don't see any options for converting to MB ( so it would need to be modified).

Regards,
Benjamin

Reference:
http://oidref.com/1.3.6.1.4.1.789.1.5.4.1.4
https://exchange.nagios.org/components/ ... 2&cf_id=24

Re: Netapp devices monitoring

Posted: Tue Jan 26, 2021 8:00 am
by kalyanpabolu
Hello,

Sorry, I didnt get this.
Do you want me to modify script? If yes, what changes needs to be done?