You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+3Lines changed: 3 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -168,6 +168,9 @@ Flags:
168
168
If no name is given, all alerts will be evaluated
169
169
-T, --no-alerts-state string State to assign when no alerts are found (0, 1, 2, 3, OK, WARNING, CRITICAL, UNKNOWN). If not set this defaults to OK (default "OK")
170
170
-P, --problems Display only alerts which status is not inactive/OK. Note that in combination with the --name flag this might result in no alerts being displayed
171
+
-K, --state-labels-key string Label key for the --use-state-labels. Can be used to override the default label key 'icingaState' (default "icingaState")
172
+
-S, --use-state-labels Use the AlertRule label 'icingaState' to override the exit state for firing alerts.
173
+
If this flag is set the plugin looks for warning/critical/ok in the label 'icingaState'
0 commit comments