soliandroid.blogg.se

Megacli check disk health
Megacli check disk health








megacli check disk health
  1. #Megacli check disk health install
  2. #Megacli check disk health archive

32nm process chips will have a longer write endurance than 24nm process chips. You should be able to lookup your drive specs, and determine the process used to make the chips. l/-log disable check of SMART logs (default: enable) Best you can do, is look at the 'PowerOnHours', which in your case is '6568', determine your average disk utilization, and average it out. c/-checksum disable checksum log structure (default: enable) By default it is done automatically (with a delay of 168 hours between different patrol reads) and will take up to 30 of IO resources. p/-pending minimum of accepted pending sectors (actual value: 0) MegaCli64 -PDList -aALL Patrol read Patrol read is a feature which tries to discover disk error before it is too late and data is lost. r/-realloc minimum of accepted reallocated sectors (actual value: 0) i/-interface ata, sat, scsi, megaraid, depending upon the device's interface type d/-device a device to be SMART monitored, eg. MegaCli64 -PDList -aALL Patrol read Patrol read is a feature which tries to discover disk error before it is too late and data is lost. On mptsas controller with 2 single disks: sda OK: no SMART errors detected. Sdd-2 WARNING: No health status line found, Checksum failure On megaraid device /dev/sdd with RAID5 from 4 disks: $ /usr/local/lib/nagios/plugins/check_smart_all_disks.sh Please use -h option for full help and examples. Test with the following command: /opt/MegaRAID/MegaCli/MegaCli H This should produce a large help output.

megacli check disk health

#Megacli check disk health archive

usr/local/lib/nagios/plugins/check_smart_all_disks.sh Navigate to the /tmp directory and extract tar archive with the following command: tar -xvzf MegaCliSIEM.tar Type: sh installer.sh You should now be able to use the MegaCli toolset. Use as plugin in Icinga/Nagios and call as nagios user (or change sudo): Nagios ALL=(root) NOPASSWD: /usr/sbin/smartctlĬhmod 0440 /etc/sudoers.d/check_smart` Usage Nagios ALL=(root) NOPASSWD: /usr/sbin/megaclisas-status

#Megacli check disk health install

You need also megaraid tools megacli and megaclisas-status.Īpt-get install megacli megaclisas-status Install cd /tmpĬp /tmp/check_smart_all_disks/check* /usr/local/lib/nagios/plugins/ Setup cat < /etc/sudoers.d/check_smart Needs blkid, udevadm, sudo, smartctl, grep, bash and awk.Īpt-get install util-linux udev sudo smartmontools grep bash awk If you used megaraid controller










Megacli check disk health