Solved

Poller error Centreon 22.04

  • 15 June 2022
  • 7 replies
  • 875 views

Badge +4

RHEL 8.6

/var/log/centreon-gorgone

taIl -f gorgoned.log

 
2022-06-15 14:44:09 - ERROR - [autodiscovery] -class- host discovery - cannot get platform versions - Login error [code: '401'] [message: 'Unauthorized']
2022-06-15 14:45:00 - INFO - [cron] Launching job 'broker_stats'
2022-06-15 14:45:00 - INFO - [cron] Launching job 'engine_stats'
2022-06-15 14:45:00 - INFO - [statistics] Collecting Engine statistics from target '1'
2022-06-15 14:45:09 - ERROR - [autodiscovery] -class- host discovery - cannot get platform versions - Login error [code: '401'] [message: 'Unauthorized']


 

I’m not using auto-discovery and I’m getting the above error. Why?

 

Jacques

icon

Best answer by ponchoh 15 June 2022, 22:24

View original

7 replies

Userlevel 4
Badge +13

Hi 👋 maybe this can help

https://github.com/centreon/centreon/issues/11136#issuecomment-1129843992

you might need to edit your "/etc/centreon-gorgone/config.d/31-centreon-api.yaml"

Badge +4

My “31-centreon-api.yaml” contains the following information:

gorgone:
  tpapi:
    - name: centreonv2
      base_url: "http://127.0.0.1/centreon/api/latest/"
      username: "centreon-gorgone"
      password: "XrN?*u!3i6E!"
    - name: clapi
      username: "centreon-gorgone"
      password: "XrN?*u!3i6E!"


 

 You are saying this PWD is invalid. Where do I go to change the centreon-gorgone PWD?

 

Jacques

 

Badge +4

I discovered where to change the password for centreon-gorgone and my problem is now solved. 

Thank you very much for your help.

 

Jacques

Badge

Hello , i have the same probem with my Centreon and i dont really known which password i am suppose to use. Please i need your help !!!

Badge

I discovered where to change the password for centreon-gorgone and my problem is now solved. 

Thank you very much for your help.

 

Jacques

That's great that you found a solution.

Wouldn't it be nice if you share this solution here so that other users who also have this problem and are looking here can also be helped?

A community thrives on not only asking for help with problems, but also sharing solutions.

Thank you very much!

Userlevel 6
Badge +19

In the Configuration > contact menu, search for centreon-gorgone and edit it. In the Authentication tab you will be able to set the password field.

 

Cheers

Badge

Thanks a lot!

Reply