From 5562662f13c8552cc02ef46a27dcc1ea3a7bd673 Mon Sep 17 00:00:00 2001 From: Jonny007-MKD Date: Sun, 9 Feb 2020 21:03:54 +0100 Subject: [PATCH] Added command_mdstat.conf --- command_mdstat.conf | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 command_mdstat.conf 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 + } + } +}