NetXMS Support Forum

English Support => General Support => Topic started by: abkulakli on October 17, 2019, 08:56:35 AM

Title: Cannot delete template DCI from node
Post by: abkulakli on October 17, 2019, 08:56:35 AM
Hello,

I have two <<TABLE>> DCI's coming from a template but shown as <unknown> in Template column for nodes. I could not manage to find where it come from. I also could not delete it (I mean I can delete it bu it reappears some time later). Can you help me what might be wrong or How can a manually delete that DCI.

I am currently using ver 3.0 but the problem exists for a while (on ver 2.2 also).

Regards,
Burak
Title: Re: Cannot delete template DCI from node
Post by: Filipp Sudanov on October 17, 2019, 11:22:20 AM
Hello!

DCIs coming from templates if deleted on a node, are restored after some time, since the system periodically reapplies templates. So to delete a DCI coming from template, you have to delete it from that template (or unbind that template from that node and make sure there is no autoapply rule for that template).
If you open Data Collection Configuration for your node, on the right hand side in that table should be column Table. In that could you should see the template from where a given DCI is coming.
Title: Re: Cannot delete template DCI from node
Post by: abkulakli on October 17, 2019, 11:57:58 AM
Thank you.

True. I can see all the origin templates (Like Templates/Operating Systems/Windows) but except for those two. They say <unknown> in the Template column. That's why I could not find the template.
Title: Re: Cannot delete template DCI from node
Post by: Filipp Sudanov on October 17, 2019, 01:42:56 PM
Ok. It means that you don't the user under which you are logged in has no access rights to that template. This could also happen due to some errors in the database, in that case you can try to login under user system, by setting password for that user in configuration -> user manager. It's possible that under system user that template will be visible.
The other thing you can try to do is stop netxms server and launch nxdbmgr check
Title: Re: Cannot delete template DCI from node
Post by: abkulakli on October 21, 2019, 12:39:04 PM
Thanks,

After log in with system user, I've found the template and deleted it.