FDB from Script
-
Hi. I am trying to find a way to do the following.
I have the MAC addresses of most devices connected to my switches on an external server.
What I am hoping to achieve is something like this in a script
- On configuration poll, loop through device FDB
- If there is a single MAC address on an interface, do an external call to a REST API to get a "name" for that port
- Rename the interface in NetXMS
The reason I want to do this is that the devices connected to the switches are not running SNMP and currently NetXMS will report a specific port went offline, which is great, however it will be super helpful if it would tell me *what* went down as I have that information on a seperate server.
So my question is, is it possible to loop through the FDB from a script?
-
Hi,
there is no built-in function specifically for FDB retrieval but you can do SNMP walk and retrieve FDB that way. I see more problems with calling external REST API. Alternatively you can do everything from nxshell script - get FDB, do REST call, and rename interface.
Best regards,
Victor -
Hi.
Thanks for the response. Does NetXMS offer some paid support where I can request and pay someone to do this for me?
-
Hi!
Yes, paid support is provided. Please send a request to [email protected]
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login