Deleted Instanced DCIs appear again after restart
-
Hello, I want to know why some deleted Instanced DCIs appear again after netxmsd service or OS restart. I tried the following procedure, but not always work:
- Run nxdbmgr unlock
- Delete the base instance DCIs: If I close the DCI table Configuration they dont appear (only at this time)
- Restart the netxmsd service: In the past I restarted the whole OS but I found that the issue can be replicated only restaring the netxmsd service.
At this point and repeating the above steps several times, I could get the DCIs deletion. Also, at times the base DCI is effectively deleted, but the discovered DCIs remained ad I had to delete them one-by-one.
This issue could be a bug??, or maybe am I deleting the instanced DCIs in the wrong way??
Regards.
-
-
I had some issues with instance discovery DCI deletion, in my case to the point of crashing the server.
NetXMS version 2.0.5 includes a fix around deletion of such DCIs, so it may resolve your problem as well.
(Haven't tested at my end yet, as I am waiting on the Ubuntu packages.)Cheers
-
Hello, yesterday I updated to 2.0.5 but the issue persists.
So, Could it be a non-fixed bug??, or maybe Im not deleting the instanced DCIs in the right way?? (I delete the base DCI and opening the DCI config list it seems that the DCIs were deleted, but after a netxmsd service restart, they appear again).
Regards.
-
Hi,
I'll try to test it in a next few days. Can you please try to delete base DCI, check that instance DCIs disappear in GUI, and check if they are in database (table "items"). You can select all DCIs for node with query
SELECT * FROM items WHERE node_id=?;(replace ? with actual node ID). If they will be there, try to change something in node properties (rename it for example), and after some time check DB again.
Best regards,
Victor -
-
Hi,
so there is another bug - node is not marked as changed when instance DCI is deleted and so changes not saved in database unless other changes were made. I'll fix that in next release. And workaround is to change something on the node to trigger save.
Best regards,
Victor
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