Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me

Adaptec RAID check_aacraid

Rating
0 votes
Favoured:
0
Current Version
1.0
Last Release Date
2015-02-25
License
GPL
Hits
7360
Files:
FileDescription
check_aacraid.pyPython script check_aacraid.py

Help Support Ethan Galstad's New Project:

Help Support Ethan

A Message From The Founder...

As the founder of Nagios, I'm asking for your help in a cause that's dear to my heart.

I'm launching a new project to help better the world by providing the information, ideas, and inspiration that I believe can improve the lives of people everywhere.

I know you're busy managing networks, but I would appreciate it if you would consider liking my Facebook page and showing your support for the content and messages I produce by sharing them with your friends and family.

You can learn more about my project by visiting ethangalstad.me/nagios. Thank you for your time. I wish you all the best in your endeavors, whatever they may be.

- Ethan

This script is a major modification of Anchor-Systems script to correct some errors and add new features :

- check arcconf GETCONFIG 1 PD to see state of devices and detect "ready" disk that we forgot to add in a array or in swap mode
- Check the new adaptec raid battery status "ZMM Optimal"
- include nagios status state OK, WARNING and CRITICAL
- change state return code, nagios always OK=0 WARN=1 CRIT=2 and warning error return code 1 can not overwrite a critical error anymore
- Correct the deprecation warning os.popen4
This script is a major modification of Anchor-Systems (http://exchange.nagios.org/directory/Plugins/Hardware/Storage-Systems/RAID-Controllers/Adaptec-RAID-Check-by-Anchor-Systems/details) script to correct some errors and add new features :

- check arcconf GETCONFIG 1 PD to see state of devices and detect "ready" disk that we forgot to add in a array or in swap mode
- Check the new adaptec raid battery status "ZMM Optimal"
- include nagios status state OK, WARNING and CRITICAL
- change state return code, nagios always OK=0 WARN=1 CRIT=2 and warning error return code 1 can not overwrite a critical error anymore
- Correct the deprecation warning os.popen4
The configuration for the nrpe_server is this :
command[check_aacraid]=/usr/local/lib/nagios/plugins/check_aacraid.py