Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
12 lines (10 sloc) 284 Bytes
object Host "check_systemd_unit.example.com" {
check_command = "hostalive"
vars.check_systemd_units = {
"icinga2.service" = {
jscrit_additional = [ {{{SubState === "running"}}} ]
warn_additional = [ "NRestarts(@~:23)" ]
crit_additional = [ "NRestarts(@~:42)" ]
}
}
}
You can’t perform that action at this time.