Skip to main content
Solved

Poller error Centreon 22.04


Forum|alt.badge.img+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

Best answer by ponchoh

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"

View original
Did this topic help you find an answer to your question?

7 replies

ponchoh
Centreonian
Forum|alt.badge.img+13
  • Centreonian
  • 485 replies
  • Answer
  • June 15, 2022

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"


Forum|alt.badge.img+4
  • Author
  • Steward **
  • 26 replies
  • June 16, 2022

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

 


Forum|alt.badge.img+4
  • Author
  • Steward **
  • 26 replies
  • June 16, 2022

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

Thank you very much for your help.

 

Jacques


Forum|alt.badge.img
  • Steward *
  • 1 reply
  • August 10, 2022

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 !!!


Forum|alt.badge.img
jcarrier wrote:

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!


sims24
Forum|alt.badge.img+19
  • Ranger ***
  • 330 replies
  • September 30, 2022

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


Forum|alt.badge.img

Thanks a lot!


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings