Skip to content

When removing a plugin, removed tables are not removed from remote pollers #4617

@TheWitness

Description

@TheWitness

Describe the bug

When uninstalling a plugin, if there are tables created on the Remote Data collector, cacti does not take care to remove those plugin tables thus causing the plugin tables to remain.

This issue can not be solved at one time as many Cacti plugins simply perform a db_execute('DROP TABLE blah');. So, this issue must be fully corrected through the incorporation of a plugin function for people who do not use the standard table creation API, plus augmenting the plugin api to remove remote tables.

Expected behavior

More consistent behavior of the plugin API.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugUndesired behaviourresolvedA fixed issue

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions