Skip to content

Plugin status on a Remote Data Collector may not always be detectable #4615

@TheWitness

Description

@TheWitness

Describe the bug

For plugins that use both "remote_collect" like thold, and "remote_poller" as syslog now does. Cacti has no way to tell if the plugin has been disabled on the Remote Data Collector. This leads to one thinking that the plugins are working when in fact they are disabled.

Before Cacti 1.2.20, the hook tables were never replicated. Therefore, the plugins would simply fail silently. Now, since we run with the pollers running independently of the main system, its essential to let the operators know that the plugin has been disabled remotely.

To Reproduce

Steps to reproduce the behavior:

  1. Update to Cacti 1.2.20

  2. Install Thold and setup several tholds on Devices managed by remote collectors

  3. Perform a Full Sync

  4. Update the plugin_hooks table on the remote to UPDATE plugin_hooks SET status=0 WHERE name="thold";

  5. Goto Console > Configuration > Plugins on the remote. See that it still appears enabled.

Expected behavior

Cacti should give remote poller operators the ability to re-enable the plugins without a full sync.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugUndesired behaviourpluginsPlugin related issueresolvedA fixed issue

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions