Build precise queries to find exactly what you need
Press ESC to close
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
We’ve completely redesigned the world’s largest repository of Nagios plugins and monitoring tools. Join thousands of users sharing monitoring solutions for servers, applications, and everything in between.
Due to our redesign, all existing accounts require a password reset to access your account again.
Ready to explore 6,100+ projects and contribute to the community?
Reset Password Create Account
Happy Monitoring!