NetApp SANtricity Nagios Plugin
The plugin is taken from Nagios Exchange But some adjustments were made.
Feel free to open issues or pull requests!
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:
-
Host Configuration
Configure Arrays as a host in Nagios.
Command:$USER1$/HostConfiguration.py -webproxy$ARG1$ -ip1$ARG2$ -ip2$ARG3$ -username$ARG4$ -password$ARG5$ -
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$ -
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$ -
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$ -
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
- 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:
-
ARRY : To monitor array
-
RBCON : RBOD Controllers
-
EBIOM : To monitor EBOD IOMS
-
TRAY : To monitor Trays
-
FAN: To monitor Fans
-
BATT : To monitor batteries
-
PSU : Power Supply
-
DDS : Disk Drives
-
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$ -
Track and Report Storage Capacity Information
Command:$USER1$ /Check_SANtricity_Storage_Pool_Status.py -h$HOSTADDRESS$ -webproxy$ARG1$ -warning$ARG2$ -critical$ARG3$ -
System Availability
Command:$USER1$ /Check_Array_Availibility.py -h$HOSTADDRESS$ -webproxy$ARG1$ -username$ARG4$ -password$ARG5$ -
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$ -
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
-
Thin Provisioned Volumes
Command:$USER1$/Check_SANtricity_thin_volumes.py -h$HOSTADDRESS$ -webproxy$ARG1$ -warning$ARG2$ -critical$ARG3$ -
Mel Events:
Command:$USER1$ /Check_SANtricity_Mel_Events.py -h$HOSTADDRESS$ -webproxy$ARG1$ -
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:
- DPOOL -Data Pools 2) CON: Consistency Groups
- VOL : Volumes 4) SNP : Legacy Snapshots and PIT snap shot volumes
- MIRV : Mirror Volumes and Asynch Mirror Volumes
- 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