Ravi Kumar Kempapura Srinivasa
efcea15ab6
Clean the scripts and resolve the comments
...
Clean the scripts to pass the phpcodesniffer tests and resolve the comments provided by Eric.
2022-02-03 16:54:01 +01:00
Ravi Kumar Kempapura Srinivasa
1a0ddfb08b
Add IcingaDB MySQL backend in businessprocess
...
IcingaDB MySQL backend is added to the businessprocess module to obtain information regarding monitored nodes.
ref #276
2022-02-03 16:54:01 +01:00
Johannes Meyer
a04059b6c1
ProcessCommand: Require a node name explicitly
2022-01-24 12:35:41 +01:00
Johannes Meyer
0c3cf6b7bd
Avoid passing non-string args to ctype_*() functions
2022-01-14 10:46:08 +01:00
Johannes Meyer
f96abb4627
Drop locales
2021-12-17 13:56:14 +01:00
ValeDaRold
3154e3313f
Add new Host from Filter and Service from Filter in AddNodeForm.php ( #300 )
...
refs #295
2021-08-06 11:43:09 +02:00
Kotove
3cd3427e74
Add downtime flag into export results ( #286 )
2020-10-23 09:22:55 +02:00
Johannes Meyer
1cc9187e0a
state_overrides: Also fully support hosts
2020-07-01 08:54:34 +02: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
Johannes Meyer
0c7fca926f
config: Use an extra line to store state overrides
...
Storing overrides as part of a node's name leads to way too complicated
code. A separate field is not only better for compatibility but also
more straightforward to process.
2020-06-26 14:08:05 +02:00
Christian Menapace
98b6b2c6d0
Add Service Override
2020-06-26 11:32:09 +02:00
Ravi Kumar Kempapura Srinivasa
1278480b6e
Fix 'vsprintf(): Too few arguments' in ProcessController::showAction()
...
Before, we called printf twice because BpConfig::addError()
already makes use of printf. The exception only occured for
nodes that have a percent sign (%) in their name.
fixes #234
2020-02-26 15:09:17 +01:00
Johannes Meyer
9835dc9c03
Merge pull request #264 from Icinga/fix/check-command-handling-256
...
ProcessCommand: handle errors as UNKNOWN
2020-02-26 12:02:08 +01:00
Johannes Meyer
cb1cd24bfe
de_DE: Avoid anglicisms
...
resolves #257
2020-02-26 12:00:15 +01:00
Yonas Habteab
1397c8a7af
ProcessCommand:handle some other errors as UNKONWN
...
fixes #256
2020-02-26 10:23:30 +01:00
Johannes Meyer
144bcdf852
Remove space after reference operators
2020-02-26 09:19:31 +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
f13145f43b
BpUploadForm: Properly adjust the success url
2019-11-04 16:08:28 +01:00
Johannes Meyer
61dc23fa10
locale: Update german translation
2019-03-01 12:43:16 +01:00
Johannes Meyer
dc69522ae5
ProcessForm: Properly populate element display
2019-03-01 08:20:48 +01:00
Johannes Meyer
0fbb8956e9
node/impact: Don't show colored background for breadcrumbs
...
There are stateballs now.
2019-02-26 15:06:02 +01:00
Johannes Meyer
d690c07ed8
process/show: Don't show the control separator when in fullscreen or on the dashboard
2019-02-26 08:57:46 +01:00
Johannes Meyer
21980a394f
NodeController: Also show impact on imported sub processes
2019-02-25 15:09:34 +01:00
Johannes Meyer
eaf5b85538
Change how imported nodes are recognized
...
Since configurations are cached this cannot be done by using
a flag. Instead the rendering and path aggregation are now able
to distinguish nodes themselves.
2019-02-25 13:58:18 +01:00
Johannes Meyer
40538c51ce
LegacyStorage: Add cache to avoid parsing configurations multiple times
2019-02-25 12:42:52 +01:00
Johannes Meyer
6ae4cf745c
RenderedProcessActionBar: Don't allow to unlock imported nodes
2019-02-22 14:41:53 +01:00
Johannes Meyer
673135c0f3
Don't redirect after a successful move action but refresh
2019-02-22 12:26:24 +01:00
Johannes Meyer
ff2274c048
node/impact: Fix that a process' state is not displayed
2019-02-22 12:26:24 +01:00
Johannes Meyer
718a4305b4
NodeController: Show all processes affected by an impact
...
refs #143
2019-02-22 12:26:24 +01:00
Johannes Meyer
431a5e0085
Streamline usage of a node's name
2019-02-22 12:26:24 +01:00
Johannes Meyer
8465bc0bc3
LegacyConfigParser: Establish parent-child relationships
...
This replaces commit d1f32c5 as this is the more efficient
and proper solution.
refs #134
2019-02-22 12:26:24 +01:00
Johannes Meyer
e0529ee844
Revert "Node: Aggregate parents if none are registered yet"
...
This reverts commit d1f32c59f1 .
2019-02-22 12:26:24 +01:00
Johannes Meyer
7a8c48c7e8
Fix a few style issues
2019-02-22 12:26:24 +01:00
Johannes Meyer
195b3bf7b7
ProcessController: Don't unlock the renderer if fullscreen is enabled
2019-02-22 12:26:24 +01:00
Johannes Meyer
ccdadf68f2
MoveNodeForm: Respond with a status of 400 in case of a ModificationError
2019-02-22 12:26:24 +01:00
Johannes Meyer
f58e1844a1
ActionBar: Remove h1 and adjust link labels
2019-02-22 12:26:24 +01:00
Johannes Meyer
bc03569765
Properly handle display values when performing other actions than moving nodes
2019-02-22 12:26:24 +01:00
Johannes Meyer
3146bfda6a
MoveNodeForm: Show ModificationErrors as notifications
2019-02-22 12:26:24 +01:00
Johannes Meyer
ea0a04065d
Add support to move nodes between processes
2019-02-22 12:26:24 +01:00
Johannes Meyer
b46a633d6d
ProcessController: Provide a new set of parameters when redirecting
2019-02-22 12:26:23 +01:00
Johannes Meyer
c804177ca4
Also save user defined order of processes nodes while in tree view
2019-02-22 12:26:23 +01:00
Johannes Meyer
08bfbc462b
Save user defined order of processes/nodes
2019-02-22 12:26:23 +01:00
Johannes Meyer
876a577e85
Don't sort processes in case manual sorting has been applied
2019-02-22 12:26:23 +01:00
Johannes Meyer
68aedc3dce
Restrict host and service lists when adding new or editing old nodes
...
resolves #67
2019-02-22 12:21:18 +01:00
Johannes Meyer
d1f32c59f1
Node: Aggregate parents if none are registered yet
...
fixes #134
2019-02-19 11:02:08 +01:00
Johannes Meyer
324a6e898d
node/impact: Show message if no impact is detected
...
fixes #160
2019-02-19 08:45:39 +01:00
Johannes Meyer
4c0136eec8
Beautify displayed message for restricted hosts/services
...
refs #147
2019-02-18 15:20:42 +01:00
Alexander A. Klimov
3985f67fe7
Fix "Host not found" error
...
refs #147
2019-02-18 13:54:39 +01:00