mirror of
https://github.com/Icinga/icinga2.git
synced 2025-04-08 17:05:25 +02:00
Fixed execution time calculation.
This commit is contained in:
parent
11c81231b8
commit
ccc5f0c61d
@ -102,7 +102,7 @@ void CompatComponent::DumpServiceStatus(ofstream& fp, Service service)
|
||||
cr->GetProperty("execution_end", &execution_end);
|
||||
}
|
||||
|
||||
long execution_time = (execution_start - execution_start);
|
||||
long execution_time = (execution_end - execution_start);
|
||||
long latency = (schedule_end - schedule_start) - execution_time;
|
||||
|
||||
fp << "servicestatus {" << endl
|
||||
|
Loading…
x
Reference in New Issue
Block a user