mirror of https://github.com/Icinga/icinga2.git
Ignore service reachability for status.dat output.
This commit is contained in:
parent
4d02780f4c
commit
6982656f2d
|
@ -120,17 +120,6 @@ void CompatComponent::DumpServiceStatus(ofstream& fp, const Service::Ptr& servic
|
|||
|
||||
int state = service->GetState();
|
||||
|
||||
if (!service->IsReachable()) {
|
||||
state = StateCritical;
|
||||
|
||||
String text = "One or more parent services are unavailable.";
|
||||
|
||||
if (output.IsEmpty())
|
||||
output = text;
|
||||
else
|
||||
output = text + " (" + output + ")";
|
||||
}
|
||||
|
||||
if (state > StateUnknown)
|
||||
state = StateUnknown;
|
||||
|
||||
|
|
Loading…
Reference in New Issue