mirror of https://github.com/Icinga/icinga2.git
Merge pull request #7400 from Icinga/bugfix/cib-stats-concurrent-checks
Fix missing stats for current_concurrent_checks via REST API
This commit is contained in:
commit
59081c4f82
|
@ -289,7 +289,9 @@ void CIB::StatsFunc(const Dictionary::Ptr& status, const Array::Ptr& perfdata) {
|
|||
status->Set("active_service_checks_15min", GetActiveServiceChecksStatistics(60 * 15));
|
||||
status->Set("passive_service_checks_15min", GetPassiveServiceChecksStatistics(60 * 15));
|
||||
|
||||
// Checker related stats
|
||||
status->Set("remote_check_queue", ClusterEvents::GetCheckRequestQueueSize());
|
||||
status->Set("current_concurrent_checks", Checkable::GetPendingChecks());
|
||||
|
||||
CheckableCheckStatistics scs = CalculateServiceCheckStats();
|
||||
|
||||
|
|
Loading…
Reference in New Issue