| | 66 | |
| | 67 | == 3.2. megaraid-status == |
| | 68 | |
| | 69 | === 3.2.1. About megaraid-status === |
| | 70 | |
| | 71 | '''megaraidsas-status' is a wrapper script around megactl with periodics checks. |
| | 72 | [[BR]]It is available in the packages repository too. |
| | 73 | |
| | 74 | [[BR]]The packages comes with a python wrapper around megasasctl and an initscript that '''periodic''' run this wrapper to '''check status'''. |
| | 75 | [[BR]]It keeps a file with latest status and thus is able to detect RAID '''status changes and/or brokeness'''. |
| | 76 | [[BR]]It will log a ligne to '''syslog''' when something failed and will send you a '''mail'''. |
| | 77 | [[BR]]Until arrays are healthy again a '''reminder''' will be sent each 2 hours. |
| | 78 | |
| | 79 | === 3.2.2. Wrapper output example === |
| | 80 | |
| | 81 | {{{ |
| | 82 | server:~# megaraidsas-status |
| | 83 | -- Arrays informations -- |
| | 84 | -- ID Type Size Status |
| | 85 | a0d0 RAID 1 136GiB optimal |
| | 86 | |
| | 87 | -- Disks informations |
| | 88 | -- ID Model Status |
| | 89 | a0e8s0 SEAGATE ST3146854SS online |
| | 90 | a0e8s1 SEAGATE ST3146854SS online |
| | 91 | }}} |