mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-30 00:54:30 +02:00
compatutility: Fix check_type.
This commit is contained in:
parent
bde9e3d801
commit
86ef8aae8c
@ -264,7 +264,7 @@ Dictionary::Ptr CompatUtility::GetServiceStatusAttributes(const Service::Ptr& se
|
||||
attr->Set("long_plugin_output", long_output);
|
||||
attr->Set("performance_data", perfdata);
|
||||
attr->Set("check_source", check_source);
|
||||
attr->Set("check_type", (service->GetEnableActiveChecks() ? 1 : 0));
|
||||
attr->Set("check_type", (service->GetEnableActiveChecks() ? 0 : 1));
|
||||
attr->Set("last_check", schedule_end);
|
||||
attr->Set("next_check", service->GetNextCheck());
|
||||
attr->Set("current_attempt", service->GetCurrentCheckAttempt());
|
||||
|
Loading…
x
Reference in New Issue
Block a user