Welcome to Questions - Ask OpenNMS, where you can ask questions and receive answers from other members of the community.

Linkd: how to delete all the infos gathered from it?

+1 vote
I would like to restart from the scratch the Linkd process "discovery" and for doing it I have to clean all my previous info since I already started it one week ago.

Does anybody know how can I delete all the info gathered with the Linkd service? I assume there's something written on the DB but I don't know precisely which is the tables and how to clean it on a safety way.

Any help is appriciated!
OpenNMS version
asked Jan 28, 2014 by Alessandro (1,120 points)

1 Answer

+3 votes
Best answer

Hey Alessandro,

our good friend Antonio Russo dropped me a note

linkd populates the following tables:

atinterface, stpnode, stpinterface,vlan,iprouteinterface,datalinkinterface.

The SQL for deleting linkd data is the following:

delete from <tablename>

answered Jan 31, 2014 by indigo (11,140 points)
selected Feb 17, 2014 by DerTak
Hi Ronny! Thanks a lot ;)