|
Description
check_promise_vtrak checks the following components of your Promise RAIDs:
- Power Supplies
- Blowers
- Disks
- Batteries
- Voltage
- Temperature
Documentation
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 CLI 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 [-vvv] Also print lots of debugging output
[-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
The installations is simple. You have to install the NRPE daemon and the Perl module Net::Telnet (see http://www.cpan.org)
Then extract the plugin to the libexec directory and enjoy.
Example
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
Example 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
Download
Here you can download check_promise_vtrak
|