Skip to main content

Netapp Santricity Restapi


SANtricity is a data management software that powers and administers the NetApp E-Series storage arrays. With the SANtricity operating system (OS), you can perform all your management tasks while the storage remains online, with complete read and write data access.

Plugin-Pack assets​

Monitored Objects​

  • Hardware
  • Storage-Controllers
  • Storage-Pools
  • Storage-Systems
  • Storage-Volumes

Monitored metrics​

Following metrics are collected from the SANtricity API:

Metric nameDescription
statusCheck components operational status: battery, cbd, ctrl, drive, fan, psu, storage, thsensor. Unit: count drives temperature. Unit: Β°C


SANtricity API configuration​

To use the SANtricity API, you need to install and configure the SANtricity Web Services Proxy on a dedicated machine.

More information about the setup steps and the service configuration can be found in the official documentation hereafter:

Online ressources​


  1. Install the Centreon Plugin package on every Centreon poller expected to monitor Netapp SANtricity:
yum install centreon-plugin-Hardware-Storage-Netapp-Santricity-Restapi
  1. On the centreon Web interface, install the Netapp Santricity Restapi Centreon Plugin-Pack on the "Configuration > Plugin Packs > Manager" page


  • Log into Centreon and add new host through "Configuration > Hosts".
  • Apply the template "HW-Storage-Netapp-Santricity-Restapi-custom" and configure all the mandatories Macros:
XAPIPORTPort used (Default: 8080)
XAPIUSERNAMESANtricity API username.
XAPIPASSWORDSANtricity API password. Password checkbox must be checked
XAPIPATHSpecify api path (Default: '/devmgr/v2')
XAPIPROTOSpecify https if needed (Default: 'http')
APIEXTRAOPTIONSAny extra option you may want to add to the command (eg. a --verbose flag)


How do I test my configuration through the CLI and what do the main parameters stand for ?​

Once the Centreon plugin installed, you can test it directly from the CLI by logging with the centreon-engine user:

/usr/lib/centreon/plugins/ \
--plugin=storage::netapp::santricity::restapi::plugin \ \
--port=8080 \
--proto=http \
--api-path='/devmgr/v2' \
--api-username='admin' \
--api-password='xxxx' \
--mode='storage-volumes' \
--verbose \
--warning-volume-status='%{status} =~ /degraded/i'
--critical-volume-status='%{status} =~ /failed/i'

Expected command output is shown below:

OK: storage system 'SAN-XXX' volumes are ok |
checking storage system 'SAN-XXXX'
volume 'Datastore_X' status: optimal
volume 'Datastore_Y' status: optimal

The command above checks the status of the volumes (-mode=storage-volumes) of the SANtricity server ( using the API username admin and the related password (--api-username='admin' --api-password='xxxx'). The API connection uses the HTTP protocol (--proto=http) on the port 8080 (--port=8080). The API path used is /devmgr/v2 (--api-path='/devmgr/v2').

This command would trigger the following alerts:

  • WARNING if a volume is in a degraded status.
  • CRITICAL if a volume is in a failed status.

Some thresholds can also be set on metrics using the --warning-* and --critical-* options (where * stands for the name of the metric).

The available thresholds as well as all of the options that can be used with this Plugin can be displayed by adding the --help parameter to the command:

/usr/lib/centreon/plugins/ \
--plugin=storage::netapp::santricity::restapi::plugin \
--mode=storage-volumes \

You can display all of the modes that come with the Plugin with the command below:

/usr/lib/centreon/plugins/ \
--plugin=storage::netapp::santricity::restapi::plugin \

Why do I get the following error:​

UNKNOWN: 500 Can't connect to​

This error message means that the Centreon Plugin couldn't successfully connect to the Netapp SANtricity API. Check that no third party device (such as a firewall) is blocking the request. A proxy connection may also be necessary to connect to the API. This can be done by using this option in the command: --proxyurl='http://proxy.mycompany:8080'.

UNKNOWN: 501 Protocol scheme 'connect' is not supported |​

When using a proxy to connect to the SANtricity API, this error message means that the Centreon Plugin library does not support the proxy connection protocol.

In order to prevent this issue, use the curl HTTP backend by adding the following option to the command: --http-backend='curl'.

UNKNOWN: Cannot load module 'Net::Curl::Easy'​

This error message means that a Perl library required to use the curl backend is missing.

In order to fix this issue, install the 'Net::Curl::Easy' Perl library using the following command:

yum install perl-Net-Curl