Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
TheWitness opened this issue Mar 13, 2022 · 0 comments
Closed
Labels
bug Undesired behaviour plugins Plugin related issue resolved A fixed issue
Milestone

Comments

@TheWitness
Copy link
Member

TheWitness commented Mar 13, 2022

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.

@TheWitness TheWitness added bug Undesired behaviour plugins Plugin related issue labels Mar 13, 2022
@TheWitness TheWitness added this to the v1.2.20 milestone Mar 13, 2022
TheWitness added a commit that referenced this issue Mar 16, 2022
- Cacti can not tell if a plugin has been disabled on the Remote Data Collector
- Allows Re-Enable but not disable for now
@TheWitness TheWitness added the resolved A fixed issue label Mar 16, 2022
TheWitness added a commit that referenced this issue Mar 16, 2022
@netniV netniV changed the title Cacti can not tell if a plugin has been disabled on the Remote Data Collector Plugin status on a Remote Data Collector may not always be detectable Apr 3, 2022
@github-actions github-actions bot locked and limited conversation to collaborators Dec 1, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Undesired behaviour plugins Plugin related issue resolved A fixed issue
Projects
None yet
Development

No branches or pull requests

1 participant