From 885640ef997b432b7c23a6269a8caf9d0e035694 Mon Sep 17 00:00:00 2001 From: Constantin Matheis Date: Fri, 12 Apr 2019 14:45:06 +0200 Subject: [PATCH] Show the check source directly below the state the check discovered --- modules/monitoring/application/controllers/EventController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/monitoring/application/controllers/EventController.php b/modules/monitoring/application/controllers/EventController.php index 242ddb51e..6585420e5 100644 --- a/modules/monitoring/application/controllers/EventController.php +++ b/modules/monitoring/application/controllers/EventController.php @@ -504,6 +504,7 @@ class EventController extends Controller $details = array( array($this->translate('State time'), DateFormatter::formatTime($event->state_time)), array($this->translate('State'), $this->state($isService, $event->state)), + array($this->translate('Check source'), $event->check_source), array($this->translate('Check attempt'), $this->view->escape(sprintf( $this->translate('%d of %d'), (int) $event->current_check_attempt, @@ -511,7 +512,6 @@ class EventController extends Controller ))), array($this->translate('Last state'), $this->state($isService, $event->last_state)), array($this->translate('Last hard state'), $this->state($isService, $event->last_hard_state)), - array($this->translate('Check source'), $event->check_source), array( $this->translate('Output'), $this->pluginOutput($event->output) . $this->pluginOutput($event->long_output)