Zabbix for SAS 6/IR raid Information Monitoring

Source: Internet
Author: User

 

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.