Question

New Hosts doesnt appear

  • 7 November 2023
  • 11 replies
  • 311 views

Badge +1

Hello all,

Since i upgrade my centreon (just server central no external poller) the new hosts doesnt appears in ressources status. ( I see them in  Hosts and Services).

When i add it my poller configuration change so i reload it but i dont see them appear at the top of the page on the banner host and service and i dont have any error on configuration.

All my service are active i just have this error on gorgoned.log when i restart the gorgone service.

 

2023-11-06 16:46:23 - ERROR - [proxy] zmq_poll failed: Appel système interrompu
2023-11-06 16:46:23 - ERROR - [proxy] zmq_poll failed: Appel système interrompu
2023-11-06 16:46:23 - ERROR - [proxy] zmq_poll failed: Appel système interrompu
2023-11-06 16:46:23 - ERROR - [proxy] zmq_poll failed: Appel système interrompu
2023-11-06 16:46:23 - ERROR - [proxy] zmq_poll failed: Appel système interrompu
2023-11-06 16:46:29 - ERROR - [proxy] Cannot create child, need a core id
2023-11-06 16:46:29 - ERROR - [proxy] Cannot create child, need a core id
2023-11-06 16:46:29 - ERROR - [proxy] Cannot create child, need a core id
2023-11-06 16:46:29 - ERROR - [proxy] Cannot create child, need a core id
2023-11-06 16:46:29 - ERROR - [proxy] Cannot create child, need a core id
2023-11-06 22:30:00 - ERROR - [autodiscovery] -servicediscovery- 7e260725:1 no rules found in configuration
Use of uninitialized value $1 in lc at /usr/share/perl5/vendor_perl/gorgone/modules/core/cron/class.pm line 391.


Thx


11 replies

Badge +7

Hello,

 

Check this post, I hope it helps you.

 

https://thewatch.centreon.com/centreon-debian-user-group-46/issue-on-new-poller-host-doesn-t-show-up-2025

 

Best regards,

Badge +1

Hello,

 

Check this post, I hope it helps you.

 

https://thewatch.centreon.com/centreon-debian-user-group-46/issue-on-new-poller-host-doesn-t-show-up-2025

 

Best regards,

Hello,

This post is about remote poller. The solution on this post is to delete and recreate the poller. I can’t do this because my poller is my central server.

Badge

Bonjour, 
J’ai le même problème et j’aimerais avoir une solution aussi :’(

Userlevel 5
Badge +11

Hello,

Check the gorgone config of your Central (/etc/centreon-gorgone/config.d/40-gorgoned.yaml)

Does your config have an id specified like this?

gorgone:
gorgonecore:
id: 1

I got a problem like this and resolved it by adding the id on the Central config which were not present before. Maybe it’s your case too

If it’s not present, add it and restart your Gorgone daemon on Central, then retry an export

systemctl restart gorgoned

Hope it helps

Badge

Thanks a lot vcoum !

This advise resolve the error “ERROR - [proxy] Cannot create child, need a core id” 

There is also a the error “ERROR - [proxy] zmq_poll failed: Appel système interrompu”

Is there another line to add in the 40-gorgoned.yaml configuration file ?

Userlevel 5
Badge +11

Sorry i didn’t have this issue, my solution is only fort the core id error 😕

What version of Centreon and Centreon Gorgone do you have?

Badge

I use the version 22.04.2-1 of centreon-gorgone and the version 22.04.14 of Centreon

Userlevel 5
Badge +11

There is the 22.04.3 version out, you can try to update it then restart gorgone

#if on centos7
yum update centreon-gorgone
systemctl restart gorgoned

You can at least try to have the latest fix of Centreon Gorgone and see if it resolve your problem

 

Badge +1

Hello,

Check the gorgone config of your Central (/etc/centreon-gorgone/config.d/40-gorgoned.yaml)

Does your config have an id specified like this?

gorgone:
gorgonecore:
id: 1

I got a problem like this and resolved it by adding the id on the Central config which were not present before. Maybe it’s your case too

If it’s not present, add it and restart your Gorgone daemon on Central, then retry an export

systemctl restart gorgoned

Hope it helps

Thx a lot Vcoum.

Same as Gwendal, It resolved my error “need a core id” but i always had the second.

I updated the centreon-gorgoned and still had it (ERROR - [Proxy] zmq_poll failed: Appel système interrompu (interrupted system call in english?)

Userlevel 5
Badge +11

Hello,

After some tests, i think the error “ERROR - [Proxy] zmq_poll failed: Appel système interrompu” is just the message when you stop or restart the Gorgone service. So this is not a “true” error

You can try by using 2 shell connecter on your Centreon server

In the first, use the command

tail -f /var/log/centreon-gorgone/gorgoned.log

To see the new entries in the gorgone log file

 

In the second shell, stop the gorgone daemon

systemctl stop gorgoned

 

You will see the same error in the log 

 

PS: don’t forget to restart your gorgone daemon after testing this 

Badge

Hello,

Indeed, I confirme it’s a message at start of gorgoned but it doesn’t affect gorgoned service after that

Reply