Skip to content

Selecting actions on hostgroup gives error #4

@techadrian

Description

@techadrian

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

basehostgroup.php.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions