check_apple_xserve überprüft die Hardware und die Temperatur Ihres Apple Xserves.
Es gibt Versionen für die PPC und Intel Architektur. Folgende MacOS Versionen werden unterstützt:
PPC: Mac OS 10.4
Intel: Mac OS 10.4 und 10.5
grattler:/opt/local/libexec/nagios root# ./check_apple_xserve -h
check_apple_xserve, 1.0
ConSol* GmbH 2008
Check Mac OS X Status
Usage:
check_apple_xserve [-g groups] [-t timeout] [-d]
check_apple_xserve -f statusfile [-g groups] [-t timeout]
check_apple_xserve [-h]
check_apple_xserve [-V]
<groups> The groups you want to check
Default: check all available groups
<timeout> Timeout in seconds to abort command with status "UNKNOWN"
Default: 15 seconds
<statusfile> Do not query ipmitool but parse statusfile
[-d] Dump the output and exit
[-v] Also print a message for each failure
[-vv] Also print each raw threshold node
[-vvv] Also print lots of debugging output
[-h] Print this help message and exit
[-V] Print program version and exit
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.
grattler:/opt/local/libexec/nagios root# ./check_apple_xserve
OK: Memory Module 0, Power Supply 1-2, Proc 0, Remote Management Device 0-1, Sys Board 0-1, Sys Chassis 1
Beispiel checks:
OK: Disks:disk0:Internal (Bay 1) ATA Maxtor Maxtor 6L080M0
OK: Disks:disk7:Internal Fibre Channel Interface APPLE Xserve RAID
OK: Disks:disk8:Internal Fibre Channel Interface APPLE Xserve RAID
OK: Blowers:CPU A1:Ok:6321RPM
OK: Blowers:CPU A2:Ok:6321RPM
OK: Blowers:CPU A3:Ok:6304RPM
OK: Blowers:CPU B1:Ok:6327RPM
OK: Blowers:CPU B2:Ok:6284RPM
OK: Blowers:CPU B3:Ok:6310RPM
OK: Blowers:PCI Slot:Ok:4077RPM
OK: Blowers:Sys Controller:Ok:8841RPM
OK: Enclosure Temps:Behind the DIMMs:Ok:53.00C
OK: Enclosure Temps:PCI Slots:Ok:49.50C
OK: Enclosure Temps:Sys Controller Internal:Ok:57.12C
OK: Proc Power:CPU 1 Power:Ok:20W
OK: Proc Power:CPU 2 Power:Ok:19W
OK: Proc Temps:CPU 1 Internal:Ok:58.18C
OK: Proc Temps:CPU 2 Internal:Ok:53.07C
OK: Sys Volts 1:CPU 1 Vcore:Ok:1.27V
OK: Sys Volts 1:CPU 2 Vcore:Ok:1.27V
OK: Sys Volts 1:DDR IO Sleep:Ok:2.63V
OK: Sys Volts 1:DDR IO:Ok:2.64V
OK: Sys Volts 1:Sys Bus IO VDD:Ok:1.47V
OK: Sys Volts 1:Sys Controller Vcore:Ok:1.70V
OK: Sys Volts 2:1.2v Sleep:Ok:1.18V
OK: Sys Volts 2:1.2v:Ok:1.20V
OK: Sys Volts 2:1.5v Sleep:Ok:1.50V
OK: Sys Volts 2:1.5v:Ok:1.49V
OK: Sys Volts 2:1.8v:Ok:1.80V
OK: Sys Volts 3:12v Trickle:Ok:12.06V
OK: Sys Volts 3:12v:Ok:11.94V
OK: Sys Volts 3:3.3v Sleep:Ok:3.27V
OK: Sys Volts 3:3.3v Trickle:Ok:3.27V
OK: Sys Volts 3:3.3v:Ok:3.26V
OK: Sys Volts 3:5v Sleep:Ok:5.04V
OK: Sys Volts 3:5v:Ok:5.04V
OK: Blowers, Disks, Enclosure Temps, Proc Power, Proc Temps, Sys Volts 1-3
Beispiel Fehler:
CRITICAL: Blowers:CPU A2:Low:2400RPM
CRITICAL: Blowers:PCI Slot:High:17000RPM
CRITICAL: Proc Power:CPU 2 Power:High:73W
CRITICAL: Proc Temps:CPU 2 Internal:High:91.55C
CRITICAL: Sys Volts 3:12v:High:13.73V
WARNING: Enclosure Temps:Sys Controller Internal:High:76.29C
WARNING: Proc Power:CPU 1 Power:High:67W
WARNING: Sys Volts 1:CPU 1 Vcore:Low:1.14V
WARNING: Sys Volts 1:DDR IO Sleep:High:2.75V
WARNING: Sys Volts 3:3.3v Sleep:High:3.51V
WARNING: Sys Volts 3:5v Sleep:Low:4.58V
WARNING: Disks:disk0:write errors:8736 errs:
Internal (Bay 1) ATA Maxtor Maxtor 6L080M0
WARNING: Disks:disk7:SMART msg:Drive Failing:
Internal Fibre Channel Interface APPLE Xserve RAID
WARNING: Disks:disk7:read errors:2635 errs:
Internal Fibre Channel Interface APPLE Xserve RAID
Das Plugin ist nicht mehr frei verfügbar. Es kann im Rahmen eines Beratungsauftrages, oder wenn Sie einen Supportvertrag mit uns haben installiert werden.