Commit graph

16 commits

Author SHA1 Message Date
raviks789
7b41906881 Select default backend when icingadb is deactivated and the same when monitoring backend is deactivated 2022-02-03 16:56:46 +01:00
raviks789
69e879a745 Make changes to support the case when icingadb is set as the preferred backend. 2022-02-03 16:55:47 +01:00
Ravi Kumar Kempapura Srinivasa
5d905426b6 Use IcingaDbState for nodes from IcingaDb MySQL backend in ProcessCommand
Since we have included monitored nodes from IcingaDB MySQL backend, the states for these nodes will be now calculated using IcingaDbState::apply.
2022-02-03 16:55:02 +01:00
Johannes Meyer
a04059b6c1 ProcessCommand: Require a node name explicitly 2022-01-24 12:35:41 +01:00
Johannes Meyer
49ebbc4cdb Apply state overrides on demand instead of directly
Internally non-process children are only instantiated once.
This means when applying state overrides directly they're
used everywhere and do not differ between the containing
process. State overrides are now applied explicitly and
on demand, decoupling them from children.
2020-07-01 08:54:34 +02:00
Yonas Habteab
1397c8a7af ProcessCommand:handle some other errors as UNKONWN
fixes #256
2020-02-26 10:23:30 +01:00
Yonas Habteab
09cb5ef6fe ProcessCommand: handle error as UNKNOWN
fixes #256
2020-02-25 16:04:40 +01:00
Dominik Seidel
8ef1dfcbdc CLI: Add options --downtime-is-ok and --ack-is-ok 2020-02-05 15:01:22 +01:00
Dominik Seidel
1414e76d94 CLI: Add options --blame and --root-cause 2020-02-05 15:01:22 +01:00
Johannes Meyer
40538c51ce LegacyStorage: Add cache to avoid parsing configurations multiple times 2019-02-25 12:42:52 +01:00
Thomas Gelf
09031d38da ProcessCommand: allow to list process nodes
fixes #97
2017-01-27 15:26:11 +01:00
Thomas Gelf
8f1ce049de MonitoringState: introduce new helper class
Removes logic from BusinessProcess class
2017-01-11 09:51:39 +01:00
Thomas Gelf
7d82bb05bd ProcessCommand: align usage of list methods 2017-01-03 11:38:41 +01:00
Thomas Gelf
a19bbfed63 ProcessCommand: document new flags and options
fixes #10866
2016-11-23 21:10:48 +01:00
Thomas Gelf
656a5ada0e ProcessCommand: add a 'list' action
fixes #13293
2016-11-23 15:29:14 +01:00
Thomas Gelf
1e351a7724 ProcessCommand: replace and deprecate CheckCommand
fixes #13295
2016-11-23 15:20:46 +01:00