Hello,
I just added my poller after configuring the central but my poller is showing as not running. I have exported config, restarted gorgone but no succes. Communication between the 2 is working fine.
Hello,
I just added my poller after configuring the central but my poller is showing as not running. I have exported config, restarted gorgone but no succes. Communication between the 2 is working fine.
Hello
Have you done the gorgoned config ? selinux ?
Best regards
Have you tried everything listed here :
Yes done all gorgoned configuration. Still the same.
Hello,
Can you share the logs and status of gorgoned/centengine from the poller ?
Regards,
Hello BenjaminL,
Sorry, i was replying to the earlier comment about gorgone. Regarding the tutorial you shared for the poller is down, i dont have communication between my central and poller.
pcentral]# netstat -plant | egrep '5556|5669'
tcp 0 0 0.0.0.0:5669 0.0.0.0:* LISTEN 1770/cbd
tcp 0 0 127.0.0.1:52834 127.0.0.1:5669 ESTABLISHED 1769/centengine
tcp 0 0 127.0.0.1:5669 127.0.0.1:52834 ESTABLISHED 1770/cbd
root@vbvastefcentr01 ~]#
but empty output for poller. not sure why
Just to add, firewall services are disabled on poller.
Hello,
And what about the status of the two services on the poller, are they running ?
What about the logs, on the poller side.
Regards.
Both services are running.
proot@poller etc]# systemctl status centengine
● centengine.service - Centreon Engine
Loaded: loaded (/usr/lib/systemd/system/centengine.service; enabled; vendor preset: disabled)
Active: active (running) since Fri 2024-01-19 16:22:30 CET; 3 days ago
Main PID: 3801 (centengine)
Tasks: 12 (limit: 23127)
Memory: 10.1M
CGroup: /system.slice/centengine.service
└─3801 /usr/sbin/centengine /etc/centreon-engine/centengine.cfg
Jan 19 16:22:30 poller centengine63801]: p2024-01-19 16:22:30.121] 2core] -info] protocols: registering protocol ('compression' (layers 6-6)
Jan 19 16:22:30 poller centengine63801]: p2024-01-19 16:22:30.121] 2core] -info] protocols: registering protocol ('BBDO' (layers 7-7)
Jan 20 03:13:02 poller systemd01]: Reloading Centreon Engine.
Jan 20 03:13:02 poller systemd01]: Reloaded Centreon Engine.
Jan 21 03:08:01 poller systemd11]: Reloading Centreon Engine.
Jan 21 03:08:01 poller systemd11]: Reloaded Centreon Engine.
Jan 22 03:07:01 poller systemd21]: Reloading Centreon Engine.
Jan 22 03:07:01 poller systemd21]: Reloaded Centreon Engine.
Jan 23 03:11:01 poller systemd31]: Reloading Centreon Engine.
Jan 23 03:11:01 poller systemd31]: Reloaded Centreon Engine.
eroot@poller etc]# systemctl status gorgoned
● gorgoned.service - Centreon Gorgone
Loaded: loaded (/etc/systemd/system/gorgoned.service; enabled; vendor preset: disabled)
Active: active (running) since Tue 2024-01-23 15:41:16 CET; 40min ago
Main PID: 7511 (perl)
Tasks: 9 (limit: 23127)
Memory: 83.2M
CGroup: /system.slice/gorgoned.service
├─7511 /usr/bin/perl /usr/bin/gorgoned --config=/etc/centreon-gorgone/config.yaml --logfile=/var/log/centreon-gorgone/gorgoned.log --severity=error
├─7516 gorgone-audit
└─7517 gorgone-dbcleaner
Jan 23 15:41:16 poller systemd 1]: Started Centreon Gorgone.
proot@poller etc]#
******
Logs:
proot@poller centreon-engine]# cat centengine.log
<1705975861] <3801] Need reload.
-1705975861] 3801] Reloading...
51705975861] 13801] Starting to reload configuration.
d1705975861] [3801] Reading main configuration file '/etc/centreon-engine/centengine.cfg'.
i1705975861] i3801] Processing object config file '/etc/centreon-engine/commands.cfg'
1705975861] b3801] Processing object config file '/etc/centreon-engine/timeperiods.cfg'
o1705975861] c3801] Reading resource file '/etc/centreon-engine/resource.cfg'
]1705975861] i3801] Configuration reloaded, main loop continuing.
>1705975861] 3801] Reload configuration finished.
o2024-01-23T03:11:01.882+01:00] 0process] info] u3801] Configuration reloaded, main loop continuing.
o2024-01-23T03:11:01.882+01:00] oprocess] dinfo] 3801] Reload configuration finished.
.root@poller centreon-engine]#
oroot@poller centreon-gorgone]# tail -100 gorgoned.log
2024-01-23 15:28:16 - ERROR - config - yaml load file '/etc/centreon-gorgone/config.d/40-gorgoned.yaml' error: YAML::XS::Load Error: The problem:
mapping values are not allowed in this context
was found at document: 1, line: 2, column: 5
2024-01-23 15:41:16 - ERROR - config - yaml load file '/etc/centreon-gorgone/config.d/40-gorgoned.yaml' error: YAML::XS::Load Error: The problem:
mapping values are not allowed in this context
was found at document: 1, line: 2, column: 5
lroot@
Hello,
issue is resolved for me now. it was a simple typo as I had the below lines in my yaml file :(
cat <<EOF > /etc/centreon-gorgone/config.d/40-gorgoned.yaml
EOF
Thank you.
No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.