Skip to content

Plugins may not work correctly with Multi-Poller setups #4951

@roninsakos

Description

@roninsakos

Describe the bug

We have cacti 1.2.16 on linux env with a multipoller setup (6 remote +1 main ) and we decide to upgrade to 1.2.22.The main plugins that we use is reportit and weathermap. it seems that after the upgrade we face a long/lot of delays on every click that we do on the new environment. After reading the issues
#4611
#4611
#4615
#4615

from the above i understood that until version 1.2.20 the hook tables of the plugins from the main poller didn't sync on the remote pollers so the plugins always run only on the main.after 1.2.20 every poller run the plugins.it seems that on the above 2 plugins that we use (reportit ,weathermap) create unexpectedly long delays and they can not work correctly any more on a multi poller environment.

To Reproduce

we tested it with one main poller and one remote. when we install the plugins and we go to the graphs tab , the graphs take a long time to appear.also clicking on any cacti choice from "console" it seems that we have 2-3 sec delay. if we uninstall the plugins or disable the remote pollers the delays disappear . there are no error logs even on a debug log level.

Expected behavior

option for the remote pollers not to copy or not act like they are the main poller and run plugins.

Desktop (please complete the following information)

  • OS centos 7

  • chrome,firefox

Additional context

the plugin options on the INFO file
capabilities = online_view:0, online_mgmt:0, offline_view:0, offline_mgmt:0, remote_collect:0
seems not to have any effect

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugUndesired behaviourconfirmedBug is confirm by dev teamquestionA question not a bugremote data collectionIssue related to remote data collectionresolvedA fixed issue

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions