The most common error about the non-functioning of the event replication to the Metaconsole is that in the configuration file of the Pandora FMS node server, the token that enables the event replication is disabled.
In /etc/pandora/pandora_server.conf
” of each node of the Metaconsole, configure event_replication 1
, then we have to restart the service /etc/init.d/pandora_server restart
, at the same time in the console menu of the nodes Setup -> Enterprise we have to enable the option Event replication.
2020-12-17 16:46:11 Tools: sacha [V3] 2 events replicated to metaconsole 2020-12-17 16:46:11 Tools: sacha [V3] 2 events replicated to metaconsole 2020-12-17 16:46:11 Tools: sacha [V3] 2 events replicated to metaconsole 2020-12-17 16:46:11 Tools: sacha [V3] 2 events replicated to metaconsole 2020-12-17 16:46:11 Tools: sacha [V3] 2 events replicated to metaconsole
If we check the server logs (var/log/pandora_server.log
) of any node we will see lines similar to the following 2020-12-17 16:46:11 Tools: Pandora FMS [V3] 30 events replicated to metaconsole
that indicate that the replication is working correctly.
At the same time, in Setup -> Enterprise of the Pandora FMS console of the nodes, you can see the date of the last replication of events: Last replication at XXXX
.
In this same menu we can configure the interval and limit of events to replicate, Replication interval, Replication limit.