I am trying to do a simple alert in Munin checking SW RAID 1 status where a metric of 2 disks is healthy, 1 disk is Warning and 0 disks is Critical.
All the Munin monitors I've seen are triggered when a value is too high e.g. Disk space is over 90% but in my case, I want the reverse. I can't seem to find anything in the Munin docs that support this.
I know I could reverse the logic such that it monitors the number of unhealthy disks, i.e. 0 healthy, 1 Warning and 2 Critical but it just seems neater the other way around.