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

Directory Tree

check_perc

Rating
0 votes
Favoured:
0
Hits
97775
Files:
FileDescription
check_perc-103c.zip1.0.3c
check_perc-104.zip1.0.4
Network Monitoring Software - Download Nagios XI
Log Management Software - Nagios Log Server - Download
Netflow Analysis Software - Nagios Network Analyzer - Download
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.