Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
Dell EMC Isilon - Hardware Health Check Script
Current Version
1.0
Last Release Date
2020-02-20
Compatible With
- Nagios XI
Owner
License
GPL
Hits
7908
Files:
File | Description |
---|---|
check_isi_health.py | check_isi_health.py |
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
Reviews (2)
bysash2003, August 8, 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'
./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'
bygrayloglearn, July 8, 2020
0 of 1 people found this review helpful
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
Traceback (most recent call last):
File "./dell_isi_health.py", line 3, in
import requests, urllib3, json
ImportError: No module named requests