Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CheckCommand "icingacli-businessprocess" adding new arguments #9110

Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 22 additions & 3 deletions itl/plugins-contrib.d/icingacli.conf
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,30 @@ object CheckCommand "icingacli-businessprocess" {
command += [ "businessprocess", "process", "check" ]

arguments = {
"--config" = {
"--ack-is-ok" = {
set_if = "$icingacli_businessprocess_ackisok$"
description = "set state to OK if node is acknowledged"
}
"--blame" = {
set_if = "$icingacli_businessprocess_blame$"
description = "only showing nodes that have the same state as the process itself"
}
"--config" = {
value = "$icingacli_businessprocess_config$"
description = "Configuration file containing your business process without file extension"
}
"--details" = {
set_if = "$icingacli_businessprocess_details$"
description = "Get details for root cause analysis"
}
"--downtime-is-ok" = {
set_if = "$icingacli_businessprocess_downtimeisok$"
description = "set state to OK if maintenance is set for node"
}
"--root-cause" = {
set_if = "$icingacli_businessprocess_rootcause$"
description = "shows only the path that causes a problem"
}
"--state-type" = {
value = "$icingacli_businessprocess_statetype$"
description = "Define which state type to look at. Could be either soft or hard, overrides an eventually configured default"
Expand All @@ -30,8 +46,11 @@ object CheckCommand "icingacli-businessprocess" {
order = -1
}
}

vars.icingacli_businessprocess_details = false
vars.icingacli_businessprocess_ackisok = false
vars.icingacli_businessprocess_blame = false
vars.icingacli_businessprocess_details = false
vars.icingacli_businessprocess_downtimeisok = false
vars.icingacli_businessprocess_rootcause = false
}

object CheckCommand "icingacli-director" {
Expand Down