diff --git a/modules/monitoring/library/Monitoring/Hook/DataviewExtensionHook.php b/modules/monitoring/library/Monitoring/Hook/DataviewExtensionHook.php index 61b46a81b..cb0269219 100644 --- a/modules/monitoring/library/Monitoring/Hook/DataviewExtensionHook.php +++ b/modules/monitoring/library/Monitoring/Hook/DataviewExtensionHook.php @@ -5,5 +5,12 @@ namespace Icinga\Module\Monitoring\Hook; abstract class DataviewExtensionHook { - abstract public function getAdditionalQueryColumns($queryName); + public function getAdditionalQueryColumns($queryName) + { + $cols = $this->provideAdditionalQueryColumns($queryName); + + return $cols; + } + + abstract public function provideAdditionalQueryColumns($queryName); }