How to delete value from data collection?
-
-
You can delete is directly from the database, it's stored in the table idata_N, where N is node id (e.g. idata_100).
Item ID can be found in table items (filter by node_id and name / description)
-
-
I successfully deleted the data from the DB, but invalid values continue to arrive from the device...
Is there a way to filter and invalidate them directly as a transformation script?
I tried replacing them with NULL, but they appear as "zero" values in the graphs...
Thanks in advance,
ALessio. -
You can do
return DataCollection::ERROR;this will prevent storing of a value into the DB, DCI will show <ERROR>.
These constants can be found here: https://netxms.org/documentation/nxsl-latest/#const-dci-exitcode
-
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