Note: If data collection for your NetApp E-Series has stopped or you are receiving 424 errors when clicking Poll Now from the Resources page, update the device's associated netapp.rest.url property to reference the device IP rather than the SANtricity Storage Manager address. This update is required as a result of changes NetApp made to its SANtricity API.
To monitor your NetApp E/EF-Series devices with LogicMonitor, you will need to download, install, and configure SANtricity Web Services Proxy 1.3:
- Download link: https://mysupport.netapp.com/NOW/download/software/eseries_webservices/1.3/#download
- Installation Guide: https://library.netapp.com/ecm/ecm_download_file/ECMP12501136
- User Guide: https://library.netapp.com/ecm/ecm_get_file/ECMP12501132
All of the OS options for running the Web Services Proxy are equally supported for monitoring E-Series via LogicMonitor. Steps 1-6 are NetApp-specific:
1. Once you have the Proxy installed, verify that you can reach the API by loading the built-in documentation page (change the IP for your environment):
2. The NetApp E-Series datasources require a Basic Authentication username and password combination for the collector to access the API. The datasources only make GET requests and thus only need read privileges.
By default, users “rw” and “ro” are created with read-write and read-only privileges respectively. The password for each account is the same as the username. If you would like to make a new account, find the root of the SANtricity Web Services Proxy installation on your OS:
- Linux: /opt/netapp/webservice
- Windows: C:\Program Files\NetApp\SANtricity Web Services Proxy
From there, navigate to data/config and edit the file called users.properties.
Add a line for the username and password you want to add. You will add the password in plaintext initially. Here’s an example with our new entry for LogicMonitor at the bottom:
Now, navigate back to the Web Services Proxy installation files and run the securepasswds EXE or JAR (depending on your OS). It will modify the users.properties file so that your password is hashed like the existing users. You don’t have to pass any arguments to it, just run it, it will find the new entry and generate the hash, see below:
3. Navigate back to the built-in web-based documentation page: https://10.0.0.1:8080/docs/rest/index.html
4. Scroll down to the line labelled Storage-Systems and click Show/Hide.
5. Now we’ll need to register your array(s) with the Web Services Proxy. You will need the IP addresses of your arrays (you only need one of the IPs for each). You can use the POST /storage-systems endpoint to do this conveniently from the built-in API documentation page, or with curl. You will need to pass a JSON object that looks like the following, of course, with the IP addresses changed to match your environment:
If you have a lot of arrays and need to automate this, here’s a curl snippet to get you started:
6. If the response comes back okay, you can confirm your arrays have been registered by using the GET /storage-systems endpoint. Click the Try it out! button and you should see your arrays in the JSON results window.
7. Now you just need to make sure to apply the following system properties to your array(s) in LogicMonitor. If you have more than one array, consider putting them into a group to make it easier to applies these properties:
- netapp.rest.user // Username for the Web Services Proxy
- netapp.rest.pass // Password for the Web Services Proxy user
- netapp.rest.url // The device IP
system.categories should include SANtricityWebServices so that the datasources are properly applied. This will be done automatically via a PropertySource for models 2800 and newer, as long as the proper credentials are configured, or the default credentials are still valid.
You should now start seeing data for your NetApp E-Series devices.