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

check_perc

Rating
0 votes
Favoured:
0
Hits
94104
Files:
FileDescription
check_perc-103c.zip1.0.3c
check_perc-104.zip1.0.4

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

A perl script that uses SNMP to monitor Global State, Logical Disk States, Physical Disk States, and Controller States for either Array Manager or Storage Manager.
This script will check your Dell hardware for storage problems. It can check the Controller State, Global State, Logical Disk State,and Physical Disk State. Based on the options you pass, it will use the OIDs for checking either Dell's Array Manager or Storage Management:


- It currently depends on NET-SNMP's snmpwalk app.
- You may need to change the 'use lib' path at the top of the script for utils.pm.

1.0.3:
- added '-l' to force output to lowercase
- added a couple of older, un-documented return codes
- fixed exit value for usage

1.0.4
- fixed phys-3 (should be 'ONLINE')
- added SIG alarm check
- added most options for SNMPv3
- switched usage to exit UNKNOWN, all snmpwalk non-zero exits to UNKNOWN (I actually read the plugin guidelines ...)
- better error handling, a bit more sanity checking, etc.
- added more debugging output
- switched to Getopt::Long

NOTE: I have switched to using an absolute path for the snmpwalk executable.

You may need to change the '$snmpwalk' variable near the top of the script for your environment.