→Keine Garantie auf gültikeit, inkl Plugin funktionalität
Temporär im Forum
…
Benötigt wird das python pywbem paket
(ab Debian Squeeze/SID ?)
apt-get install python-pywbem
Download von SourceForge http://sourceforge.net/projects/pywbem/files/
tar xzf... python setup.py build python setup.py install
… details comming soon….
Syntax
./check_esx_wbem.py IP|hostname username password [verbose]
Sample Critical Output
CRITICAL: System Board 1 Fans; Power Supply 1 Power Supply 1: Failure detected; Disk 4 on HPSA1 : Port 2I Box 1 Bay 6 : 0GB : Data Disk : Disk Error; Logical Volume 2 on HPSA1 : RAID 5 : 410GB : Disk 2,3,4,5 : Interim Recovery;
Sample LongOutput
./check_esx_wbem.py esx2 nagios p@ass0rd OK System Board 7:1->0 System Board 7:2->0 System Board 7:3->0 System Board 7:4->0 System Board 7:5->0 System Board 7:6->0 System Board 7:7->0 System Board 7:8->0 System Board 7:9->0 System Internal Expansion Board 16:1->0 System Internal Expansion Board 16:2->0 System Internal Expansion Board 16:3->0 System Internal Expansion Board 16:4->0 System Internal Expansion Board 16:5->0 System Internal Expansion Board 16:6->0 System Internal Expansion Board 16:7->0 System Internal Expansion Board 16:8->0 System Internal Expansion Board 16:9->0 System Internal Expansion Board 16:10->0 System Internal Expansion Board 16:11->0 System Internal Expansion Board 16:12->0 System Internal Expansion Board 16:13->0 esx1.neuheim.zg.chHardware Management Controller (Node 0)->0 HP Smart Array P410i Controller : HPSA1System Board 9 Power Meter->2 System Board 7 Temp 25->2 System Internal Expansion Board 13 Temp 24->2 System Internal Expansion Board 12 Temp 23->2 Power Domain 1 Temp 22->2 Processor 3 Temp 21->2 System Internal Expansion Board 11 Temp 20->2 System Internal Expansion Board 10 Temp 19->2 System Internal Expansion Board 9 Temp 18->2 System Internal Expansion Board 8 Temp 17->2 System Internal Expansion Board 7 Temp 16->2 System Internal Expansion Board 6 Temp 15->2 System Internal Expansion Board 5 Temp 14->2 System Internal Expansion Board 4 Temp 13->2 System Internal Expansion Board 3 Temp 12->2 System Internal Expansion Board 2 Temp 11->2 Memory Module 6 Temp 9->2 Memory Module 5 Temp 8->2 Memory Module 4 Temp 7->2 Memory Module 3 Temp 6->2 Memory Module 1 Temp 4->2 Processor 1 Temp 2->2 External Environment 1 Temp 1->2 System Board 5 Fan 5->2 System Board 4 Fan 4->2 System Board 3 Fan 3->2 System Board 2 Fan 2->2 System Board 1 Fan 1->2 Power Supply 2 Power Supply 2: Presence detectedPower Supply 2 Power Supply 2: Failure detected->2 Power Supply 1 Power Supply 1: Presence detectedPower Supply 1 Power Supply 1: Failure detected->2 Proc 1 Level-1 Cache->0 Proc 1 Level-1 Cache->0 Proc 1 Level-1 Cache->0 Proc 1 Level-1 Cache->0 Proc 1 Level-2 Cache->0 Proc 1 Level-2 Cache->0 Proc 1 Level-2 Cache->0 Proc 1 Level-2 Cache->0 Proc 1 Level-3 Cache->0 Memory->2 Proc 1->2 IPMI SEL->2 System Board 6 Fans->2 Power Supply 3 Power Supplies->2 System Chassis 2 Sys. Health LEDSystem Chassis 1 UID LightDisk 1 on HPSA1 : Port 1I Box 1 Bay 1 : 279GB : Data DiskDisk 2 on HPSA1 : Port 1I Box 1 Bay 2 : 279GB : Data DiskDisk 3 on HPSA1 : Port 1I Box 1 Bay 3 : 279GB : Data DiskDisk 4 on HPSA1 : Port 1I Box 1 Bay 4 : 279GB : Data DiskDisk 5 on HPSA1 : Port 2I Box 1 Bay 5 : 279GB : Data DiskHP Smart Array P410i Controller : HPSA1Logical Volume 1 on HPSA1 : RAID 1 : 279GB : Disk 1,2Logical Volume 2 on HPSA1 : RAID 5 : 558GB : Disk 3,4,5Battery on HPSA1