What's screwed up is if you delete the old nodes, the asset info sticks around, even if you didn't add any actual asset information.
I got things straightened up enough that OpenNMS and I are getting along fairly well. There was still all this old asset information gumming up the works. I didn't see anything in the UI or help to get rid of them, so I did it the hard way.
Log into the postgres box hosting the database, and don't forget to
use
it. Then run the following:delete from assets using node where node.nodeid = assets.nodeid and node.nodetype = 'D'
That should clear it up, and it doesn't appear to break anything. If you have any trouble after running this, please let me know in the comments, and I'll look into it (since it will probably be a problem for me, too).
Hope this helps.
No comments:
Post a Comment