Deteled template still in Data Colections

Started by marcelm, December 07, 2017, 01:25:01 PM

Previous topic - Next topic

marcelm

Hello
I deleted template PINGTIME.
(DC) DataCollection is still polling from this template parameter. I DC is template location unknown. ID was 255.  How can I bulk delete this parameter from all nodes.
Or recretare tempalte with same ID?

Thanks

Victor Kirhenshtein

Hi,

you could stop server, then run the following SQL query on NetXMS database:

DELETE FROM items WHERE template_id=255;

then run nxdbmgr check, fix any possible errors, and start server again.

Best regards,
Victor