Question

Poller does not reload or export / no errors in log files

  • 16 June 2022
  • 7 replies
  • 95 views

Badge +2

Also, I see the following under poller.

 

Deleting the files in “/var/lib/centreon-broker” did not solve the problem.


7 replies

Userlevel 3
Badge +11

Hello,

What is the status of centengine process ?

# systemctl status centengine

Regards,

Badge +2

[root@lhq041a ~]# systemctl status centengine
● centengine.service - Centreon Engine
   Loaded: loaded (/usr/lib/systemd/system/centengine.service; enabled; vendor preset: disabled)
   Active: active (running) since Thu 2022-06-16 13:33:40 EDT; 28min ago
 Main PID: 1920 (centengine)
    Tasks: 11 (limit: 23659)
   Memory: 21.5M
   CGroup: /system.slice/centengine.service
           └─1920 /usr/sbin/centengine /etc/centreon-engine/centengine.cfg

Jun 16 13:33:40 lhq041a.psc-cfp.gc.ca centengine[1920]: [1655400820] [1920] Processing object config file '/etc/centreon-engine/commands.cfg'
Jun 16 13:33:40 lhq041a.psc-cfp.gc.ca centengine[1920]: [2022-06-16T13:33:40.484-04:00] [configuration] [info] Processing object config file '/etc/centreon-engine/commands.cfg'
Jun 16 13:33:40 lhq041a.psc-cfp.gc.ca centengine[1920]: [1655400820] [1920] Processing object config file '/etc/centreon-engine/timeperiods.cfg'
Jun 16 13:33:40 lhq041a.psc-cfp.gc.ca centengine[1920]: [2022-06-16T13:33:40.486-04:00] [configuration] [info] Processing object config file '/etc/centreon-engine/timeperiods.cfg'
Jun 16 13:33:40 lhq041a.psc-cfp.gc.ca centengine[1920]: [1655400820] [1920] Reading resource file '/etc/centreon-engine/resource.cfg'
Jun 16 13:33:40 lhq041a.psc-cfp.gc.ca centengine[1920]: [2022-06-16T13:33:40.487-04:00] [configuration] [info] Reading resource file '/etc/centreon-engine/resource.cfg'
Jun 16 13:33:40 lhq041a.psc-cfp.gc.ca centengine[1920]: [2022-06-16 13:33:40.640] [core] [info] Starting the TCP thread pool of 3 threads
Jun 16 13:33:40 lhq041a.psc-cfp.gc.ca centengine[1920]: [2022-06-16 13:33:40.654] [core] [info] protocols: registering protocol ('file' (layers 1-3)
Jun 16 13:33:40 lhq041a.psc-cfp.gc.ca centengine[1920]: [2022-06-16 13:33:40.654] [core] [info] protocols: registering protocol ('compression' (layers 6-6)
Jun 16 13:33:40 lhq041a.psc-cfp.gc.ca centengine[1920]: [2022-06-16 13:33:40.654] [core] [info] protocols: registering protocol ('BBDO' (layers 7-7)
 

Userlevel 3
Badge +11

Have you tried to follow this FAQ :

Regards,

Userlevel 3
Badge +11

Hello,

What is the status of gorgoned deamon ? And others who is indicated here https://docs.centreon.com/fr/docs/installation/installation-of-a-poller/using-packages/#installation

The action is really blocked to 0% ?

You arrived to export and reload configuration before your incident ?

Regards,

Badge +2

Hello,

   Not to waste anybody’s time, I decided to redo my RHEL8 server to correct the above error. I’ve noticed that I did get the above error after I imported “centreon.sql” and “centron_storage.sql” from my existing RHEL7 server. The problem is really with “centreon.sql”. If I import I get the error, “poller stalled @ 0%” and no errors in any log file, including “gorgoned”. This condition is really bizarre. 

 

  For your help, I would need the steps to follow to migrate Centron 20.04  from RHEL7.9 to Centreon22.04 on RHEL8.6.

 

   Annoying Issues encountered from testing

     - selinux permissive by default

     - discovery enabled by default

     - Upper/lower/special 12 character minimum password for the Admin account

     - Import centreon.sql with no errors in my log files and Poller stuck @ “0%”making it impossible to troubleshoot.

 

Your help would be greatly approeciated.

 

If you are a francophone, I will continue this forum in French, 

merci beaucoup,

Jacques

     

 

 

   

    

 

  

  

Badge +2

Here is where I got my info on my migration

https://www.centlinux.com/2022/01/install-centreon-monitoring-server-on-centos-rhel-8.html

Migrate from 20.04https://docs.centreon.com/docs/21.04/migrate/migrate-from-20-x/


All the steps were followed and I am now getting the following error in /var/log/centreon-gorgoned/gorgoned.log

note: I’ve disabled autodicovery (requiring a license)

 

2022-06-24 12:30:00 - ERROR - [statistics] Error updating RRD file '/var/lib/centreon/nagios-perf//perfmon-1/nagios_hosts_states.rrd': opening '/var/lib/centreon/nagios-perf//perfmon-1/nagios_hosts_states.rrd': Permission denied
2022-06-24 12:30:01 - ERROR - [autodiscovery] -class- host discovery - cannot get platform versions - Login error [code: '401'] [message: 'Unauthorized']
 

Userlevel 3
Badge +11

Hello @jcarrier 

Maybe you do redeploy the configuration of Gorgone.

As you import your old config, could you check also if some settings are not dependent of your old instance of Centreon.

Regards

Reply