Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
centreon
centreon-collect
Commits
b7a8dbaf
Commit
b7a8dbaf
authored
Oct 25, 2021
by
David Boucher
Committed by
Gres Remi
Oct 27, 2021
Browse files
fix(bam): the soft state should be updated too. (#88)
REFS: MON-11417
parent
1dac1405
Changes
1
Hide whitespace changes
Inline
Side-by-side
centreon-broker/bam/src/ba.cc
View file @
b7a8dbaf
...
...
@@ -72,7 +72,8 @@ ba::ba(uint32_t id,
_host_id
(
host_id
),
_service_id
(
service_id
),
_generate_virtual_status
(
generate_virtual_status
),
_computed_soft_state
(
ba
::
state
::
state_ok
),
_computed_soft_state
(
source
==
configuration
::
ba
::
state_source_best
?
ba
::
state
::
state_critical
:
ba
::
state
::
state_ok
),
_computed_hard_state
(
source
==
configuration
::
ba
::
state_source_best
?
ba
::
state
::
state_critical
:
ba
::
state
::
state_ok
),
_num_soft_critical_childs
{
0.
f
},
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment