icinga2/nagios script for checking the status of a mdadm RAID using /proc/mdstat
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
240 B

object CheckCommand "mdstat" {
import "plugin-check-command"
command = [ "/home/nagios/check_mdstat.sh/check_mdstat.sh" ]
arguments = {
"--raid" = {
value = "$mdstat_name$"
description = "RAID name"
required = true
}
}
}