check_promise_vtrak Nagios Plugin für das Promise RAID
Beschreibung:
check_promise_vtrak überprüft die folgenden Komponenten Ihres Promise RAIDs:
- Power Supplies
- Lüfter
- Disks
- Batterien
- Stromaufnahme
- Temperatur
Dokumentation:
grattler:/opt/local/libexec/nagios root# ./check_promise_vtrak -h
check_promise_vtrak, 1.0
ConSol* GmbH 2008, Olaf Reineke
Check Promise VTrak Array
Usage:
check_promise_vtrak -H host [-l login] [-p password] [-P port] [-t timeout] [-d] [-v]+
check_promise_vtrak -c conffile [-t timeout] [-d] [-v]+
check_promise_vtrak -f statusfile [-t timeout] [-d] [-v]+
check_promise_vtrak [-h]
check_promise_vtrak [-V]
| <host> | The hostname or IP of the array to check |
| <port> | The telnet port of the array’s CLI |
| Default: 2300 | |
| <login> | The login name for the array’s CLI |
| Default: adminstrator | |
| <password> | The password for the array’s CL |
| Default: password | |
| <conffile> | Read host, port, login and password from given config file |
| The format of the config file is: | |
| hostname = | <host> |
| port = | <port> |
| login = | <login> |
| password = | <password> |
| <timeout> | Timeout in seconds to abort command with status “UNKNOWN” |
| Default: 15 seconds <statusfile> Do not query an array but parse the given statusfile |
|
| [-d] | Dump the arrays status and exit |
| [-v] | Also print a message for each failure |
| [-vv] | Also print each raw threshold node |
| [-h] | Print this help message and exit |
| [-V] | Print program version and exit |
This program needs the “Net::Telnet” perl module installed first
(see www.cpan.org)
Installation:
Die Installation gestaltet sich sehr einfach. Vorausgesetzt Sie haben nrpe auf der zu überwachenden Maschine installiert und konfiguriert und das Perl Modul Net::Telnet installiert. (siehe http://www.cpan.org)
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_promise_vtrak -H <HOSTADDRESS>
OK: Battery, Blower1-2, DiskArray0-1, LogicalDrive, PSU1-2, PSUFan1-2, PhysDrive, SpareDrive, TempSens1-8, VoltSens1-5
Beispiel checks:
grattler:/opt/local/libexec/nagios root# ./check_promise_vtrak -H 192.168.0.111 -v
OK: Battery 1 Enclosure 1: 99%
OK: Battery 2 Enclosure 1: 99%
OK: Blower 1: Functional
OK: Blower 2: Functional
OK: DiskArray 0: OK
OK: DiskArray 1: OK
OK: LogicalDrive 0 “DATA1″ Array 0 “” (RAID5): OK
OK: LogicalDrive 1 “Daten2″ Array 1 “Daten2″ (RAID5): OK
OK: PSU 1: Powered On and Functional
OK: PSU 2: Powered On and Functional
OK: PSUFan 1: Functional
OK: PSUFan 2: Functional
OK: PhysDrive SeqNo 0 PdId 1 Array 0 “”: OK
OK: PhysDrive SeqNo 0 PdId 3 Array 1 “Daten2″: OK
OK: PhysDrive SeqNo 1 PdId 2 Array 0 “”: OK
OK: PhysDrive SeqNo 1 PdId 4 Array 1 “Daten2″: OK
OK: PhysDrive SeqNo 2 PdId 5 Array 0 “”: OK
OK: PhysDrive SeqNo 2 PdId 7 Array 1 “Daten2″: OK
OK: PhysDrive SeqNo 3 PdId 6 Array 0 “”: OK
OK: PhysDrive SeqNo 3 PdId 8 Array 1 “Daten2″: OK
OK: PhysDrive SeqNo 4 PdId 11 Array 1 “Daten2″: OK
OK: PhysDrive SeqNo 4 PdId 9 Array 0 “”: OK
OK: PhysDrive SeqNo 5 PdId 10 Array 0 “”: OK
OK: PhysDrive SeqNo 5 PdId 12 Array 1 “Daten2″: OK
OK: PhysDrive SeqNo 6 PdId 13 Array 0 “”: OK
OK: PhysDrive SeqNo 6 PdId 14 Array 1 “Daten2″: OK
OK: SpareDrive 0 Array 0 “”: OK
OK: SpareDrive 0 Array 1 “Daten2″: OK
OK: SpareDrive 1 Array 0 “”: OK
OK: SpareDrive 1 Array 1 “Daten2″: OK
OK: TempSens 1: 28C
OK: TempSens 2: 29C
OK: TempSens 3: 29C
OK: TempSens 4: 29C
OK: TempSens 5: 46C
OK: TempSens 6: 56C
OK: TempSens 7: 45C
OK: TempSens 8: 54C
OK: VoltSens 1: 3.3V
OK: VoltSens 2: 5.0V
OK: VoltSens 3: 5.0V
OK: VoltSens 4: 11.9V
OK: VoltSens 5: 1.2V
Das Plugin ist nicht mehr frei verfügbar. Es kann im Rahmen eines Beratungsauftrages, oder wenn Sie einen Supportvertrag mit uns haben installiert werden.




Zukunftssichere Lösungen von VMware und Beratungskompetenz von VMware Enterprise-Partner ConSol*
Dr. Roland Huß und Dr. Fabian Stäber referieren am 1.7.
Das Sicherheitsnetzwerk München lädt zur Auftaktveranstaltung in die Geschäftsräume von