getQuery()->fetchRow(); $serviceSummary = StatusSummaryView::fromRequest( $request, array( 'services_ok', 'services_critical_handled', 'services_critical_unhandled', 'services_warning_handled', 'services_warning_unhandled', 'services_unknown_handled', 'services_unknown_unhandled', 'services_pending' ) )->getQuery()->fetchRow(); return $view->partial( 'layout/topbar.phtml', 'monitoring', array( 'hostSummary' => $hostSummary, 'serviceSummary' => $serviceSummary ) ); } }