monitor-ninja
monitor-ninja copied to clipboard
Selecting actions on hostgroup gives error
Hello Guys,
When selecting the Actions Icon on a Hostgroups View (Menu Locatgion : Monitor/Hostgroups/All Hostgroups) I receive the following error : Fatal error: Call to undefined method HostGroup_Model::get_icon_image() in /var/www/html/ninja/modules/monitoring/controllers/extinfo.php on line 324
I managed to track down the problem here : /var/www/html/ninja/modules/monitoring/models/base/basehostgroup.php Therese ones seem to be missing : private $icon_image = ""; private $icon_image_alt = "";
in comparison with /var/www/html/ninja/modules/monitoring/models/base/basehost.php .
Same goes for Servicegroups, same error same apparently incomplete class.
Making the changes manually to basehostgroup.php and baseservicegroup.php fixed the issue.
I suspect something happening at build, maybe you can have a look. I attached both files, modified and original to take a look.
Cheers, Adrian