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 EMC PowerPath

Rating
0 votes
Favoured:
0
Current Version
1.0
Last Release Date
2010-02-02
Compatible With
  • Nagios 1.x
  • Nagios 2.x
  • Nagios 3.x
Owner
E-mail
Hits
93554
Files:
FileDescription
powerpath_check.shpowerpath_check.sh
Network Monitoring Software - Download Nagios XI
Log Management Software - Nagios Log Server - Download
Netflow Analysis Software - Nagios Network Analyzer - Download
This is a very basic/simple script that requires sudo to run the 'powermt' command.

It is setup to run on Solaris/Linux/HP-UX with powermt installed in the standard location.

It will first check to see if powerpath is installed. if it is, it will then run powermt and check for "degraded". If it find any paths in degraded mode it will exit 2.

If it finds no paths degraded or EMC powerpath is not installed it will exit 0.