Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
Nimble Storage Hardware Health API Check Script
Meet The New Nagios Core Services Platform
Built on over 25 years of monitoring experience, the Nagios Core Services Platform provides insightful monitoring dashboards, time-saving monitoring wizards, and unmatched ease of use. Use it for free indefinitely.
Monitoring Made Magically Better
- Nagios Core on Overdrive
- Powerful Monitoring Dashboards
- Time-Saving Configuration Wizards
- Open Source Powered Monitoring On Steroids
- And So Much More!
The script makes use of the Nimble Storage API, it is recommended to create a read-only account on the Nimble Storage array(s), this can be AD/LDAP or local.
The script uses the Nimble Storage API to retrieve hardware health information such as: Controller A and B state (including disk shelves), PSU, FAN, Disk Health and SAS Cable states. Its a simple script without much error checking, but you should be able to get a basic set of hardware information to know if there is a hardware fault.
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_nimble_health_api.py -e https://array.domain.co.uk:5392 -u username -p password
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).
There is a debug mode, add "-d" to the end of the command string for more detailed output for troubleshooting operation of the script, this is best run from the command line of the NagiosXI server.
The script uses the Nimble Storage API to retrieve hardware health information such as: Controller A and B state (including disk shelves), PSU, FAN, Disk Health and SAS Cable states. Its a simple script without much error checking, but you should be able to get a basic set of hardware information to know if there is a hardware fault.
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_nimble_health_api.py -e https://array.domain.co.uk:5392 -u username -p password
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).
There is a debug mode, add "-d" to the end of the command string for more detailed output for troubleshooting operation of the script, this is best run from the command line of the NagiosXI server.
Reviews (1)
Both of my hpe nimbles are fine @ management dasboard, but this check throw out following incident:
CRITICAL - Controller A SAS Cable Fault! Controller B SAS Cable Fault! Controller A SAS Cable Fault! Controller B SAS Cable Fault! (2 shelves and 54 disks)
CRITICAL - Controller A SAS Cable Fault! Controller B SAS Cable Fault! Controller A SAS Cable Fault! Controller B SAS Cable Fault! (2 shelves and 54 disks)