diff --git a/command_mdstat.conf b/command_mdstat.conf new file mode 100644 index 0000000..72f5aa6 --- /dev/null +++ b/command_mdstat.conf @@ -0,0 +1,13 @@ +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 + } + } +}