Disable route table polling globally

Started by mmarin11, May 25, 2021, 06:11:56 AM

Previous topic - Next topic

mmarin11

Dear community

Is there a way to disable the route table polling globally? Or does it have to be configured on a per node basis?

Regards

Victor Kirhenshtein

It has to be done on per-node basis. However, you can use configuration poll hook script to automatically disable it on all or selected nodes. To disable routing table poll on all nodes add the following line to library script Hook::ConfigurationPoll:

$node->enableRoutingTablePolling(false);


Best regards,
Victor

johnnyva

As mentioned here https://www.netxms.org/forum/general-support/script-execution-error/ you may also need to add in check for object being processed in Hook::ConfigurationPoll script.

if (classof($object) == "Node") $node->enableRoutingTablePolling(false);

mmarin11