check_apple_xsan – Xsan Monitoring Plugin

Beschreibung:

check_apple_xsan überprüft den Status  Ihres Apple Xsan. Es schickt Alarme bei folgenden Fehlerzuständen. Somit haben Sie den Status jederzeit im Blick

  • nicht verfügbare / failed filesystems
  • nicht verfügbare / failed stripe groups
  • nicht verfügbare / failed XSAN controllers
  • XSAN controller failover
  • verfügbarer Platz pro filesystem (konfigurierbares minfree-softlimit und 100% voll)
  • verfügbarer Platz stripe group (konfigurierbares minfree-softlimit und 100% voll)

Folgende MacOS Versionen und Xsan Versionen werden unterstützt:
PPC und Intel: 10.4 und 10.5 mit Xsan 1.4.2
PPC und Intel: 10.5 mit Xsan 2

Dokumentation:

grattler:/opt/local/libexec/nagios root# ./check_apple_xsan -h
check_apple_xsan, 1.0
ConSol* GmbH 2008

Check Mac OS X Xsan Status

Usage:
check_apple_xsan [-v] [-m minfree] [-m filesys:minfree] [-M filesys] [-t timeout]  [-T]
check_apple_xsan [-r]
check_apple_xsan [-h]
check_apple_xsan [-V]

<minfree>  Global minimum free percentage on filesystems
<filesys:minfree>
Per <filesys> minimum free percentage
With the “-m” flag, a warning is issued if the free space
on a file system drops below the given <minfree> percentage
[-M  <filesys>] Also check free percentage for individual stripe groups (LUNs)
for file system <filesys>
[-t]  <timeout>      Timeout in seconds to abort command with status UNKNOWN”
Default: 40 seconds
[-T]   Don’t update status file (“test mode”)
   
[-v] Also print a message for each failure
[-vv] Also print raw status data
[-vvv] Also print lots of debugging output
   
[-h] Print this help message and exit
[-V] Print program version and exit
[-r] Reset error/warning messages (delete status file)

While errors/warnings are present, updated Xsan configurations
like added files systems or controllers will not be monitored

Wurde ein Fehlerzustand entdeckt und behoben, muss man den Fehlerzustand manuell löschen. Dazu einfach folgendes eingeben:

# check_apple_xsan -r

Installation:

Die Installation gestaltet sich sehr einfach. Vorausgesetzt Sie haben nrpe auf der zu überwachenden Maschine installiert und konfiguriert. Dann müssen Sie nur noch das Plugin in das libexec Verzeichnis entpacken und die nrpe.cfg entsprechend anpassen.

Beispiel:

grattler:/opt/local/libexec/nagios root# ./check_apple_xsan
OK: Xsan

Beispiele für Fehlermeldungen:
CRITICAL: Xsan:SanVol1: file system full: 0% free
CRITICAL: Xsan:SanVol2: file system is down
WARNING: Xsan:SanVol3: file system minfree: 8% free, Thresh:10%”);
WARNING: Xsan:SanVol1: controller failover apple2.local->apple1.local

Das Plugin ist nicht mehr frei verfügbar. Es kann im Rahmen eines Beratungsauftrages installiert werden oder aber wenn Sie einen Supportvertrag mit uns haben.

Kontaktieren Sie uns!

Aktuelles