mirror of
https://github.com/Icinga/icinga2.git
synced 2026-05-28 04:12:13 -04:00
Service#GetSeverity(): behave as the respective IDO query of Icinga Web
which doesn't include host reachability.
This commit is contained in:
parent
185fab3761
commit
ff712f6b23
1 changed files with 1 additions and 1 deletions
|
|
@ -137,7 +137,7 @@ int Service::GetSeverity() const
|
|||
|
||||
Host::Ptr host = GetHost();
|
||||
ObjectLock hlock (host);
|
||||
if (host->GetState() != HostUp || !host->IsReachable()) {
|
||||
if (host->GetState() != HostUp) {
|
||||
severity += 1024;
|
||||
} else {
|
||||
if (IsAcknowledged())
|
||||
|
|
|
|||
Loading…
Reference in a new issue