Permalink
Browse files

This function alias is required to bypass the filter_group error in a…

…utomap if you integrate nagvis with icinga2.

Tested with Debian 9.
  • Loading branch information...
Administrator authored and LarsMichelsen committed Apr 8, 2018
1 parent 9612cd6 commit d7903b9623e7e5e7cb4adaf992e6dd4c2c536d40
Showing with 13 additions and 0 deletions.
  1. +13 −0 share/server/core/classes/GlobalBackendPDO.php
@@ -1199,6 +1199,19 @@ public function getHostsByHostgroupName($hostgroupName) {
return $arrReturn;
}
/**
* PUBLIC Method getHostNamesInHostgroup
*
* This is required to bypass the filter_group error in automap if you integrate nagvis with icinga2
*
* @param String Name of hostgroup to get the hosts of
* @return Array Array with hostnames
*/
public function getHostNamesInHostgroup($hostgroupName) {
return $this->getHostsByHostgroupName($hostgroupName);
}
/**
* PUBLIC Method getServicesByServicegroupName
*

0 comments on commit d7903b9

Please sign in to comment.