Send netdisco-users mailing list submissions to
netdisco-users@lists.sourceforge.net
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
netdisco-users-requ...@lists.sourceforge.net
You can reach the person managing the list at
netdisco-users-ow...@lists.sourceforge.net
When replying, please edit your Subject line so it is more specific
than "Re: Contents of netdisco-users digest..."
Today's Topics:
1. Re: Can we add custom tags? Trying to get phone extensions
mapped (Christian Ramseyer)
--- Begin Message ---
Hi Ricardo
I don't think there is any support for custom extension fields
currently. What you could do with existing stuff in Netdisco is a
discover hook that takes the remote_type and tacks it onto an existing
field like the interface description. This is of course not the pinnacle
of the third normal form of database design, but it should be in reach
of a couple lines of Perl/SQL :)
General hook documentation:
https://github.com/netdisco/netdisco/wiki/Hooks
I've already made a hook once that does some twiddling in device_port
post-discovery, might be a starting point:
https://github.com/rc9000/netdisco_discover_hook
Cheers
Christian
On 03.01.22 19:49, Ricardo Stella wrote:
I've asked before back in March on how to get phone extensions via LLDP
but it seems that you would need discover_phones enabled, and iour
phones do not have SNMP enabled.
In any case, the information is getting pulled as part of the
"remote_type" - Is there a way to map the contents (and ideally a
substring) into a custom field that can be displayed and/or searched for?
Doing a discover -DIQ you can see remote_type includes the necessary
information: "reqDN 1177" whereas 1177 is the phone's extension. If we
can do this, we could map the model number of the phone as well
"MINET_6920" whereas 6920 is the model.
--- End Message ---
_______________________________________________
Netdisco mailing list - Digest Mode
netdisco-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/netdisco-users