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
Dirk Goetz
cc93a1d04a
Change pipe to broken pipe for or in detail output
...
refs #10868
2016-11-23 15:17:25 +01:00
Thomas Gelf
e52037b84f
cli/check: add --details and --colors
2015-11-19 14:50:03 +01:00
Thomas Gelf
05882d5d09
CheckCommand: delete legacy code
2015-11-17 12:51:05 +01:00
Thomas Gelf
f9b9d9645a
cli/check: return unknown on process failures
2015-11-16 08:38:21 +01:00
Thomas Gelf
46e80204e1
CheckCommand: do not retrieve states twice
2015-02-13 01:51:05 +01:00
Thomas Gelf
de1ba2aa7c
CheckCommand: code cleanup, remove legacy code
2015-02-07 01:30:43 +01:00
Thomas Gelf
d1739e171f
bpapp: rename to businessprocess
2014-11-30 15:56:58 +01:00
Thomas Gelf
0a467aad66
CheckCommand: use best practices for config
2014-11-30 10:36:55 +01:00
Thomas Gelf
d2e693ec2a
BpApp: initial import of legacy version
2014-10-20 16:26:06 +02:00