mac tech
Contact | Documentation | Meetings | Resources | Search

Script - check_RAID_osx

Revised: 2009-06-03 richard

Download Script – -File, 179 bytes

#!/usr/bin/perl
use strict;

$_ = `diskutil checkRAID | grep Status:`;
chomp;

if(m/Online/ || m/Running/){
    print "OK: $_\n";
    exit 0;
}
else{
    print "CRITICAL: $_\n";
    exit 2;
}



  • Documentation
    • Administration
    • Authentication
    • General Software
    • Hardware
    • Miscellaneous
    • Multimedia
    • Networking
      • 802.1x Update
      • 802.11 Overview
      • AppleTalk to IP Migration
      • 802.1x Deployment
      • iPhone Pre-2.0 Firm WiFi
      • Nagios with NRPE
        • Nagios - Scripts
          • check_RAID_osx
          • check_freespace_osx
          • check_smart_osx
          • check_radmind
      • Removal of AppleTalk
      • SSL
      • AppleTalk on Campus
    • Operating Systems
    • Outside Presentations
    • Programming & Scripting
    • Security
    • Servers
    • Short Courses
    • System Deployment
    • System Utilities
    • What's New

© - University of Utah - Marriott Library - ITS - Apple Infrastructure
Disclaimer - 295 South 1500 East, Room 1705J, SLC, UT 84112 - 801.581.6494