From 5de1cf4764bbbe291509446ce3245ffb090ee728 Mon Sep 17 00:00:00 2001 From: Anton Fischl Date: Sat, 9 Apr 2022 08:27:00 +0200 Subject: [PATCH] added check_openrc.conf for icinga2 Signed-off-by: Anton Fischl --- check_openrc.conf | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 check_openrc.conf diff --git a/check_openrc.conf b/check_openrc.conf new file mode 100644 index 0000000..c4827b4 --- /dev/null +++ b/check_openrc.conf @@ -0,0 +1,14 @@ +object CheckCommand "openrc" { + command = [ PluginDir + "/check_openrc.pl" ] + + arguments = { + "--stopped-critical" = { + set_if = "$openrc_stopped_critical$" + description = "Consider the presence of stopped services critical." + } + "--timeout" = { + value = "$openrc_timeout$" + description = "Seconds before plugin times out (default: 15)" + } + } +}