

Zabbix server will have that "1" value,match up with macros.We got a conclusion that our raid was no error.Got this ? That mean,by running that raid check command,we find 1 variable that says "Optimal" and wc -l tell us by number If we combine all of that command,we will find ~]# /opt/MegaRAID/MegaCli/MegaCli64 -LDInfo -Lall -aALL -NoLog | grep '^State]\+:]\\*Optimal' | wc -l wc -l = to give us the count of character found by above command.The scrubbing process reads all the data on the array during idle periods or per the predefined schedule. The so-called 'scrubbing' should be used whenever possible. With a hardware RAID, use the vendor-supplied monitoring software.
#RAID MONITOR PROCCESS SOFTWARE#
grep '^State]\+:]\\*Optimal' = used to find character inside the result of above command,this is regexp related. With a software RAID, use SpeedFan or HDDLife.sudo /opt/MegaRAID/MegaCli/MegaCli64 -LDInfo -Lall -aALL -NoLog = this is command to check the status of RAID,you can run this on the ~]# /opt/MegaRAID/MegaCli/MegaCli64 -LDInfo -Lall -aALL -NoLogĪdapter 0 - Virtual Drive Information: Virtual Drive: 0 (Target Id: 0) Name : RAID Level : Primary-1, Secondary-0, RAID Level Qualifier-0 Size : 456.175 GB Mirror Data : 456.175 GB State : Optimal Strip Size : 64 KB Number Of Drives : 2 Span Depth : 1 Default Cache Policy: WriteBack, ReadAheadNone, Direct, No Write Cache if Bad BBU Current Cache Policy: WriteBack, ReadAheadNone, Direct, No Write Cache if Bad BBU Default Access Policy: Read/Write Current Access Policy: Read/Write Disk Cache Policy : Disk's Default Encryption Type : None Is VD Cached: No.A RAID controller may be hardware- or software-based. Using a RAID controller can improve performance and help protect data in case of a crash. It can be used as a level of abstraction between the OS and the physical disks, presenting groups of disks as logical units. UserParameter= used to add new task for agent,in this case it will run trigger match up with "key" (your LSI key) A RAID controller is a device used to manage hard disk drives in a storage array.One of the simplest ways to track your project details is to use this RAID log template. You can check the status of a software RAID array with the command cat /proc/mdstat.

A RAID Log can be created simply using a spreadsheet with one tab for each of the four areas. Software RAID Status & Monitoring (Linux). It allows the project manager to review all relevant information related to a project at a glance. UserParameter=,sudo /opt/MegaRAID/MegaCli/MegaCli64 -LDInfo -Lall -aALL -NoLog | grep '^State]\+:]\\*Optimal' | wc -l A RAID dashboard is a simple way to summarize all the logging.
