First, SAS 6/IR raid CARDS support only two disks, which can be set to raid0 or raid1 (raid1 in this instance ).
We usually use megacli to view raid information, but megacli does not support cards of the SAS 6/IR model. Therefore
You can only use other tools.
Lsiutil is recommended here, official: lsiutil_1.62
The lsiutil tool can be used for interactive and non-interactive viewing.
The monitoring implementation method can be written for Batch Processing Using the trap method, or the userparameter parameter in the agentd. conf file.
Here we use userparameter for implementation. The implementation process is as follows:
1. decompress the downloaded lsiutil Tool
2. Add the file directory path after pressurization to the system environment variable
3. Modify the agentd. conf file and add the following lines:
UserParameter=raid.pdstatus,lsiutil -p 1 -a 21,2,0,0 | find /C "OK"
This command is used to obtain the number of physical disks in the "online" status.
4. Add a monitoring host on the zabbix Web console and configure raid metrics. Enter raid. pdstatus as the key, as shown in
650) This. width = 650; "style =" width: pixel PX; Height: 437px; "Title =" 1.png" alt = "wKiom1RAqbfS-p7iAAKQSqkUFlg789.jpg" src = "http://s3.51cto.com/wyfs02/M01/4C/95/wKiom1RAqbfS-p7iAAKQSqkUFlg789.jpg" width = "603" Height = "508"/>
5. Configure related triggers. You can also configure the graphic display. The graphic display result is as follows:
650) This. width = 650; "style =" width: 565px; Height: 237px; "Title =" 2.png" alt = "wkiol1raqjmjll5caame042es3q363.jpg" src = "http://s3.51cto.com/wyfs02/M00/4C/97/wKioL1RAqjmjLl5cAAMe042Es3Q363.jpg" width = "893" Height = "271"/>
The image shows that the two physical disks are in the "online" status and raid is normal.
This article is from "Shi zhenning's technology blog" blog, please be sure to keep this source http://magic3.blog.51cto.com/1146917/1565117
Zabbix for SAS 6/IR raid Information Monitoring