Build precise queries to find exactly what you need
Press ESC to close
@tirithen
Member Since: June 24, 2013
Favorites0
Views
Projects0
Good plugin (I'm using version 1.9) but I was having problem with the output from mdadm was printing one extra space after state clean (State: clean*space**new line*), see full output last It works fine after changing line 530 from: if($device_status !~ /clean$/) { to: if($device_status !~ /cleans*$/) { I guess that others will have this problem as well so it might be a good idea to release an updated version. system information: ------------------- Ubuntu Server 12.04 mdadm - v3.2.5 - 18th May 2012 Nagios Core 3.2.3 mdadm output: ------------- $ sudo mdadm --detail /dev/md1 /dev/md1: Version : 1.2 Creation Time : Thu Jun 13 10:19:11 2013 Raid Level : raid1 Array Size : 1464974592 (1397.11 GiB 1500.13 GB) Used Dev Size : 1464974592 (1397.11 GiB 1500.13 GB) Raid Devices : 2 Total Devices : 2 Persistence : Superblock is persistent Update Time : Mon Jun 24 10:56:45 2013 State : clean
Reviewed 12 years ago