mirror of
https://github.com/opinkerfi/nagios-plugins.git
synced 2024-11-14 14:33:46 +01:00
54 lines
1.6 KiB
Plaintext
54 lines
1.6 KiB
Plaintext
|
= check_hpssacli =
|
||
|
Checks the raid status on a HP Array using hpssacli. to check the following:
|
||
|
|
||
|
* Controller Status
|
||
|
* Controller Cache Status
|
||
|
* Logical disk health (raid status)
|
||
|
* Physical disk health
|
||
|
|
||
|
== Download ==
|
||
|
check_hpssacli.py depends on the hpssacli binary which comes with the HP Proliant Support Pack (PSP). The PSP can be downloaded [http://downloads.linux.hp.com/SDR/downloads/ProLiantSupportPack here].
|
||
|
|
||
|
You can get check_hpacucly.py directly from our subversion repo [http://opensource.is/trac/browser/nagios-plugins/check_hpssacli/trunk here]
|
||
|
|
||
|
== help page ==
|
||
|
{{{
|
||
|
# python check_hpssacli.py --help
|
||
|
check_hpssacli version 1.0
|
||
|
This plugin checks HP Array with the hpssacli command
|
||
|
|
||
|
Usage: check_hpssacli.py
|
||
|
Usage: check_hpssacli.py [--help]
|
||
|
Usage: check_hpssacli.py [--version]
|
||
|
Usage: check_hpssacli.py [--path </path/to/hpssacli>]
|
||
|
Usage: check_hpssacli.py [--no-perfdata]
|
||
|
Usage: check_hpssacli.py [--no-longoutput]
|
||
|
|
||
|
|
||
|
}}}
|
||
|
|
||
|
== Example output ==
|
||
|
{{{
|
||
|
# ./check_hparray --all
|
||
|
OK - Found 1 controllers, 2 logicaldisks. 8 physicaldisks. |
|
||
|
|
||
|
Smart Array P400 in Slot 1
|
||
|
- Controller Status: OK (sn: P61620F9VV6FX2)
|
||
|
- Cache Status: OK (sn: PA82C0H9VV4695)
|
||
|
|
||
|
Checking logical Disks:
|
||
|
- Logical Drive: 1 (/boot 101 MB) = OK
|
||
|
- Logical Drive: 2 (None) = OK
|
||
|
|
||
|
Checking Physical Disks:
|
||
|
- physicaldrive 2I:1:1, SAS, 146 GB = OK
|
||
|
- physicaldrive 2I:1:2, SAS, 146 GB = OK
|
||
|
- physicaldrive 1I:1:5, SAS, 146 GB = OK
|
||
|
- physicaldrive 1I:1:6, SAS, 146 GB = OK
|
||
|
- physicaldrive 1I:1:7, SAS, 146 GB = OK
|
||
|
- physicaldrive 1I:1:8, SAS, 146 GB = OK
|
||
|
- physicaldrive 2I:1:3, SAS, 146 GB = OK
|
||
|
- physicaldrive 2I:1:4, SAS, 146 GB = OK
|
||
|
}}}
|
||
|
|