Send netdisco-users mailing list submissions to
[email protected]
To subscribe or unsubscribe via the World Wide Web, visit
https://lists.sourceforge.net/lists/listinfo/netdisco-users
or, via email, send a message with subject or body 'help' to
[email protected]
You can reach the person managing the list at
[email protected]
When replying, please edit your Subject line so it is more specific
than "Re: Contents of netdisco-users digest..."
Today's Topics:
1. Referencing an external database? (Johnson, Neil M)
2. Re: Referencing an external database? (Christian Ramseyer)
--- Begin Message ---
Is there a way to integrate data from an external database into Netdisco?
I'd like to include information for our facilities management system so that
when someone looks up a node or device they can see information like the jack,
room, and building information for the switch port.'
Is there a way to do this? I'm willing to put some effort to figure it out.
Thanks!
-Neil
Neil Johnson
Network Architect, ITS Enterprise Infrastructure
2800 University Capitol Center, Iowa City, Iowa 52242
Office: 319-384-0938
Have a problem or request? Don't let it get lost! Create a ticket!
http://service.uiowa.edu/
uiowa.edu<http://www.uiowa.edu/>
[The University of Iowa Logo]
[https://res.public.onecdn.static.microsoft/assets/bookwithme/misc/CalendarPerson20px.png]<https://outlook.office.com/bookwithme/user/[email protected]?anonymous&ismsaljsauthenabled&ep=bwmEmailSignature>
Book time to meet with
me<https://outlook.office.com/bookwithme/user/[email protected]?anonymous&ismsaljsauthenabled&ep=bwmEmailSignature>
--- End Message ---
--- Begin Message ---
Hi
Yes there is something called "custom fields", which you can set on
various things:
https://github.com/netdisco/netdisco/wiki/Configuration#custom_fields
E.g. we use this to put some information from ACI/APIC into the datbase,
with sql like
UPDATE device_port
SET custom_fields = jsonb_set custom_fields, '{dn}',
'"topology/pod-1/node-102/sys/phys-[eth1/26]"' ::jsonb
WHERE ip = '10.5.1.22' AND port = 'Ethernet1/26';
The tricky bit is when and how to run this SQL. The best option is to
put it into a discover hook
(https://github.com/netdisco/netdisco/wiki/Configuration#hooks), it will
run whenever a device is freshly discovered or updated.
Another option is to use "external links":
<https://github.com/netdisco/netdisco/wiki/Configuration#external_links>.
As the name suggests they don't show attributes directly but just add a
link to another system, but they are easier to deal with. Plus they work
for nodes as well while custom fields currently don't.
Cheers
Christian
On 04.02.2026 23:21, Johnson, Neil M via netdisco-users wrote:
Is there a way to integrate data from an external database into Netdisco?
I’d like to include information for our facilities management system so
that when someone looks up a node or device they can see information
like the jack, room, and building information for the switch port.’
Is there a way to do this? I’m willing to put some effort to figure it out.
Thanks!
-Neil
*Neil Johnson
*Network Architect, ITS Enterprise Infrastructure
2800 University Capitol Center, Iowa City, Iowa 52242
Office: 319-384-0938
Have a problem or request? Don’t let it get lost! Create a ticket!
http://service.uiowa.edu/ <http://service.uiowa.edu/>
*uiowa.edu <http://www.uiowa.edu/>*
The University of Iowa Logo
<https://outlook.office.com/bookwithme/
user/[email protected]?
anonymous&ismsaljsauthenabled&ep=bwmEmailSignature>
Book time to meet with me <https://outlook.office.com/bookwithme/
user/[email protected]?
anonymous&ismsaljsauthenabled&ep=bwmEmailSignature>
_______________________________________________
Netdisco mailing list
[email protected]
https://sourceforge.net/p/netdisco/mailman/netdisco-users/
--
Christian Ramseyer, netnea ag
Network Management. Security. OpenSource.
https://www.netnea.com
Phone: +41 79 644 77 64
--- End Message ---
_______________________________________________
Netdisco mailing list - Digest Mode
[email protected]
https://lists.sourceforge.net/lists/listinfo/netdisco-users