Skip to content

Allow plugins to customize device listing page #3392

@YongBoLiu

Description

@YongBoLiu

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
We need add a special filter on Console->Device page, such as cluster to filter the hosts. I have to change the host.php code. And when the cacti upgrade, the filters missing.

Describe the solution you'd like
A clear and concise description of what you want to happen.
Add some hooks to show the customize filters from plugins, and add hook to some customer columns in the host list.

The hooks may be as below,
api_plugin_hook('device_filter_start');
api_plugin_hook_function('device_display_text', $display_text);
api_plugin_hook_function('device_table_start', $hosts);

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementGeneral tag for an enhancement

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions