Skip to content

Commit

Permalink
added check_openrc.conf for icinga2
Browse files Browse the repository at this point in the history
Signed-off-by: Anton Fischl <[email protected]>
  • Loading branch information
antonfischl1980 committed Apr 9, 2022
1 parent a5bc96a commit 5de1cf4
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions check_openrc.conf
Original file line number Diff line number Diff line change
@@ -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)"
}
}
}

0 comments on commit 5de1cf4

Please sign in to comment.