Home Directory Plugins Hardware Storage Systems SAN and NAS NetApp NetApp SANtricity Plug-in for Nagios

Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me

Directory Tree

NetApp SANtricity Plug-in for Nagios

Rating
2 votes
Favoured:
0
Current Version
1.0.1
Last Release Date
2015-10-27
Compatible With
  • Nagios 3.x
  • Nagios 4.x
  • Nagios XI
Owner
License
GPL
Hits
17166
Files:
FileDescription
santricitybundle.zipConfiguration wizard file.
plugins.zipPlugin files. Contains all 14 plugins.
215-10641_A0_NetApp SANtricity Plug-In for Nagios 1.0 Installation and User Guide.pdf215-10641_A0_NetApp SANtricity Plug-In for Nagios 1.0 Installation and User Guide.pdf
Nagios CSP

Meet The New Nagios Core Services Platform

Built on over 25 years of monitoring experience, the Nagios Core Services Platform provides insightful monitoring dashboards, time-saving monitoring wizards, and unmatched ease of use. Use it for free indefinitely.

Monitoring Made Magically Better

  • Nagios Core on Overdrive
  • Powerful Monitoring Dashboards
  • Time-Saving Configuration Wizards
  • Open Source Powered Monitoring On Steroids
  • And So Much More!
These are plugins to monitor NetApp's SANtricity e-Series storage. To use this plugins, you require SANtricity webproxy. We have developed wizard which considerably reduces configuration efforts.
There are total of 14 plugins.

These plugins requires SANtricity webproxy. It performs following tasks:
-->Connect to NetApp SANtricity web proxy through REST end points
-->Prepare csv files to track pairs for arrays and controllers
-->Read csv files to fetch array information
-->Call REST end point to fetch required statistics for each array
-->Calculate service status based on threshold values
-->Prepare performance data ro display in graph
-->Return status along with performance data

Following is the list for plugin names along with command for each plugin:
1) Host Configuration
Configure Arrays as a host in Nagios.
Command:$USER1$/HostConfiguration.py -webproxy $ARG1$ -ip1 $ARG2$ -ip2 $ARG3$ -username $ARG4$ -password $ARG5$

2) Track and Report Performance information for Volume by Controller

$USER1$/Check_SANtricity_Volume_Status_BYCON.py -h $HOSTADDRESS$ -mode $ARG2$ -low $ARG3$ -high $ARG4$ -webproxy $ARG1$ -r $ARG5$ -username $ARG4$ -password $ARG5$

3) Track and Report Performance information for Volume by Volume Group
$USER1$/Check_SANtricity_Volume_Status_BYVG.py -h $HOSTADDRESS$ -mode $ARG2$ -low $ARG3$ -high $ARG4$ -webproxy $ARG1$ -username $ARG4$ -password $ARG5$

4) Track and Report Performance information by Volume
$USER1$/Check_SANtricity_Volume_Status.py -h $HOSTADDRESS$ -mode $ARG2$ -low $ARG3$ -high $ARG4$ -webproxy $ARG1$ -username $ARG4$ -password $ARG5$

5) Track and Report Performance information for Drive
$USER1$/Check_SANtricity_Drive_Stat.py -h $HOSTADDRESS$ -mode $ARG2$ -low $ARG3$ -high $ARG4$ -webproxy $ARG1$ -username $ARG4$ -password $ARG5$


Possible values for Mode for above five services are:
1)RIOP --Read IOPS 2) WIOP --Write IOPS
3)RTHP - Read Throughput 3) WTHP --Write Throughput
5)RLAT - Read Latency 6) WLAT - Write Latency

Possible values for Range (r) are : low /high

6) Monitor and Report Physical Component Status
-->This plugins helps in monitoring various physical component of the SANtricity storage.
Command: $USER1$/Check_Physical_Comp_Status.py -h $HOSTADDRESS$ -webproxy $ARG1$ -mode $ARG2$ -username $ARG4$ -password $ARG5$

The mode can have one of the following value:
1) ARRY : To monitor array 2) RBCON : RBOD Controllers
3) EBIOM : To monitor EBOD IOMS 3)TRAY : To monitor Trays
5) FAN: To monitor Fans 6) BATT : To monitor batteries
7) PSU : Power Supply 8)DDS : Disk Drives

7) Monitor and Report Physical Component Temperature
Command: $USER1$/Check_Physical_Comp_Temp.py -h $HOSTADDRESS$ -webproxy $ARG1$ -warning $ARG2$ -critical $ARG3$ -username $ARG4$ -password $ARG5$

8) Track and Report Storage Capacity Information
Command: $USER1$/Check_SANtricity_Storage_Pool_Status.py -h $HOSTADDRESS$ -webproxy $ARG1$ -warning $ARG2$ -critical $ARG3$

9) System Availability
Command: $USER1$/Check_Array_Availibility.py -h $HOSTADDRESS$ -webproxy $ARG1$ -username $ARG4$ -password $ARG5$

10) Monitor and Report Cache Hit Statistics By Volume
Command: $USER1$/Check_SANtricity_Volume_Cache_Status.py -h $HOSTADDRESS$ -mode $ARG2$ -webproxy $ARG1$ -username $ARG4$ -password $ARG5$

11) Monitor and Report Cache Hit Statistics By Volume Group
Command: $USER1$/Check_SANtricity_Volume_Group_Cache_Status.py -h $HOSTADDRESS$ -mode $ARG2$ -webproxy $ARG1$ -username $ARG4$ -password $ARG5$

The mode can have one of the two values for Cache Hit statistics by Volume and Volume Group
--> SSD -To monitor SSD Cache
--> PRC - To monitor Primary Cache

12) Thin Provisioned Volumes
Command:$USER1$/Check_SANtricity_thin_volumes.py -h $HOSTADDRESS$ -webproxy $ARG1$ -warning $ARG2$ -critical $ARG3$

13) Mel Events:
Command: $USER1$/Check_SANtricity_Mel_Events.py -h $HOSTADDRESS$ -webproxy $ARG1$

14) Monitor and track Logical Components:
Command:$USER1$/Check_SANtricity_Logical_Component.py -h $HOSTADDRESS$ -webproxy $ARG1$ -mode $ARG2$ -username $ARG4$ -password $ARG5$

The mode Value can have one of the following values:
1)DPOOL -Data Pools 2) CON: Consistency Groups
3) VOL : Volumes 4) SNP : Legacy Snapshots and PIT snap shot volumes
5) MIRV : Mirror Volumes and Asynch Mirror Volumes
6) RPR : PIT repository

All the plugins have following common parameters:
webproxy: It's IP Address:Port Number where webproxy is running
username: Username for the webproxy
password: Password for the webproxy
Reviews (2)
bydupondje, July 12, 2017
I created a repository on github with some changes included :)

https://github.com/dupondje/netapp_santricity_nagios

Feel free to add some pull requests!
byyann.fertat, January 2, 2017
Good plugin!

I did a small change to handle the batteries maintenance Check_Physical_Comp_Status.py at lines 246:
elif ele["status"] == "maintenance":
stroutput += "
OK - battery in maintenance
"
optimal = 1
total += 1
else:

Btw, you should put your script on github/gitlab, it could really ease contributions.