docker-cacti icon indicating copy to clipboard operation
docker-cacti copied to clipboard

FATAL: You are not authorized to use this service | Multiple pollers

Open zuka1337 opened this issue 4 years ago • 3 comments

Hello,

Very simple to replicate. Go a head and compose up:

  1. docker-compose -f cacti_multi_shared.yml up -d
  2. Install cactimaster and cactipoller

Add any machine to the cactipoller, I get this error:

image

What I'm missing here?

Both fqdns are resolvable.. no problem in pinging those.

zuka1337 avatar Apr 13 '21 23:04 zuka1337

Hello, can you give some help, I think is related to #68

zuka1337 avatar Apr 23 '21 10:04 zuka1337

Taking a look, it appears to be related to DNS + Docker NAT. If the poller and master host are on different boxes you likely would not see this error. Otherwise network_mode: host would be required. It will take me some time to look into this docker-compose file and see if I can fake some DNS to get things working better, but the local master+poller config is more for basic testing on deployments and not really a good idea for actual monitoring.

scline avatar Apr 23 '21 18:04 scline

https://github.com/Cacti/cacti/issues/738

scline avatar Apr 23 '21 18:04 scline