Ad Widget

Collapse

Anyone using Zabbix with Netbox as a source of truth?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • G0nz0uk
    Member
    • Apr 2021
    • 46

    #1

    Anyone using Zabbix with Netbox as a source of truth?

    Hello,

    We have all our assets listed in Netbox with their IP addresses and SNMP community details.

    We’r love a way to use Netbox as the main source of truth and somehow get Zabbix to talk to Netbox and monitor the devices we add in there or get Netbox to send to Zabbix with devices to Monitor.

    Has anyone done this before?
  • cyber
    Senior Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • Dec 2006
    • 4807

    #2
    Never heard of Netbox before, but as it seems to have rest api... https://netboxlabs.com/docs/netbox/i...ions/rest-api/
    Write a script that syncs your devices with your "source of truth". https://www.zabbix.com/documentation...ppendix/python

    Comment

    • Donkey
      Junior Member
      • Jun 2024
      • 15

      #3
      Your prayers have been answered! NetBox and Zabbix – An Integration that Just Fits - Zabbix Blog

      Comment

      • cyber
        Senior Member
        Zabbix Certified SpecialistZabbix Certified Professional
        • Dec 2006
        • 4807

        #4
        There was also a presentation about it in Summit last week ..

        Netbox as a Source of Zabbix Truth by Andrew Nelson

        Comment

        • Donkey
          Junior Member
          • Jun 2024
          • 15

          #5
          I've installed this today, but I can't get it to sync. What am I supposed to put for URL? I'm running Zabbix 7.4.3

          Comment

          • cyber
            Senior Member
            Zabbix Certified SpecialistZabbix Certified Professional
            • Dec 2006
            • 4807

            #6
            Only URL I can seeon pics on the page you linked is the URL to your Zabbix ... On that first pic...

            Comment

            • Donkey
              Junior Member
              • Jun 2024
              • 15

              #7
              So far I've tried
              Code:
              https://zabbix.contoso.net/
              https://zabbix.contoso.net/zabbix
              https://zabbix.contoso.net/api_jsonrpc.php
              I've created a new API token. I can do a cURL from the NetBox server to Zabbix fine.

              Comment

              • Donkey
                Junior Member
                • Jun 2024
                • 15

                #8
                Right, it's something to do with Docker.

                django.core.exceptions.ImproperlyConfigured: Unable to import plugin nbxsync: Module not found. Check that the plugin module has been installed within the correct Python environment.

                Comment

                • Donkey
                  Junior Member
                  • Jun 2024
                  • 15

                  #9
                  Got it working, I had installed nbxsync in the netbox container, but not in the netbox-worker container.

                  The URL is
                  Code:
                  https://zabbix.contoso.net/
                  Last edited by Donkey; 21-10-2025, 15:20.

                  Comment

                  • G0nz0uk
                    Member
                    • Apr 2021
                    • 46

                    #10
                    This tool just rocks! I've tried the 'official' one but love this one - https://github.com/TheNetworkGuy/netbox-zabbix-sync

                    Comment

                    Working...