SAN and NAS

Dell EMC Isilon – Hardware Health Check Script

Description:

The script utilises the Dell EMC Isilon REST API to collect and display Cluster Health and basic node state information. It is recommended to create a read-only account on the Nimble Storage array(s), this can be AD/LDAP or local.

The script is written in Python 2.7, check the shebang line at the start of the file to ensure the path to your interpreter is correct.
Example usage:

./check_isi_health.py -e https://array.domain.co.uk:8080 -u username -p password

The script determines the overall health state of the Dell EMC Isilon cluster it will return HEALTHY, DEGRADED or FAILED depending on the 0, 1 or 2 state returned by the REST API, it also displays the total number of nodes, and how many are up or down.

Within NagiosXI configuration you can use the -e as an argument and enter the URL as written, NagiosXI appears to deal with the escapes correctly.
You may need to put the password in single quotes (if it contains weird characters).

# Version History
# 1.0 – 20/02/2020 – First Release

Current Version

1.0

Last Release Date

2020-02-20

Compatible With

  • Nagios XI

Owner

License

GPL


Project Files
Project Notes
Reviews (2) Add a Review
I have an error
by sash2003, August 31, 2022

Hi guys, I am wondering if anybody can help. I am receiving an error saying: ./check_isi_health.py -e https://a400-mgmt1:8080/ -u myuserid -p abcd1234 Traceback (most recent call last): File "./check_isi_health.py", line 54, in intClusterHealthValue = (objClusterHealthDict['stats'][0]['value']) KeyError: 'stats'



Dell EMC Isilon - Hardware Health Check Script
by grayloglearn, July 31, 2020

root@ip-172-31-33-63:~# ./dell_isi_health.py --help Traceback (most recent call last): File "./dell_isi_health.py", line 3, in import requests, urllib3, json ImportError: No module named requests



Add a Review

You must be logged in to submit a review.

Thank you for your review!

Your review has been submitted and is pending approval.

Recommend

To:


From:


Thank you for your recommendation!

Your recommendation has been sent.

Project Stats
Rating
3 (3)
Favorites
0
Views
8,314