AdrianJPT / Netbox-Zabbix-Integration

Integration between Netbox and Zabbix to unify everything in a single SoT (Source of Truth)
16 stars 1 forks source link

Problems with the integration #1

Open ramosjean1 opened 10 months ago

ramosjean1 commented 10 months ago

I'm implementing the integration but I can't make it work for me. I have Zabbix and Netbox installed under Debian 12 in different virtual machines and therefore with different IPs. I have done all the steps but when creating the devices in Netbox they are not reflected in Zabbix. What URL is used in the webhooks is it a random ipv4 or must a specific one be configured? The other thing that I have done is changes in the credentials.py file, changing the URLs to those of the APIs and nothing that works. Please I need help.

jdinocco commented 10 months ago

Hi! do you configure the internal webhooks to the docker endpoint?

image

https://demo.netbox.dev/static/docs/additional-features/webhooks/

That is the action that trigger the automation.

ramosjean1 commented 10 months ago

Yes, I already configured the Webhooks as explained in the video. But, it doesn't work for me, is that url you used taken randomly or should it be set in some repository file?

jdinocco commented 10 months ago

That's weird, you can share how you have configured the webhooks and the credentials.py file?

Thanks!

ramosjean1 commented 10 months ago

https://i.postimg.cc/h4whm8xv/credentials-py.png

ramosjean1 commented 10 months ago

https://i.postimg.cc/m2jLwQ17/example.png

ramosjean1 commented 10 months ago

Attach screenshots of what you requested. In the Webhooks I am testing with different URLs. I appreciate all the help you are giving me.

thuvh commented 6 months ago

:( your url should be http://192.168.1.12:5000/action, if you deploy api in same host

https://i.postimg.cc/m2jLwQ17/example.png