Invalidate/skip DCI value using transofrmation?
-
Hi
Is there a way to invalidate a value and just force netxms to NOT write the value recieved in the database.
I need that because we're extensively using imcp.pingresponsetime function on remote agents. When a monitored node goes down the agent returns value of 10000ms which renders my graph useless and also skews the max/avg stats.
What i need is to get no data for icmp round trip time while the node is unreachable. I have partial success with replacing 10000 with 0 which makes the graph look acceptable, but still skews the averages.
So is there a way to prevent a value from being written into the dci value database? -
Hi, currently it is not possible.
There is a feature request for this here, you can follow it to get updates:
https://dev.raden.solutions/issues/676 -
-
Yes, because in transform scrip, you will be able to return a data collection error when the return value ($1) is 10000.
When an actual value is returned again (not timeout), the transform script would do nothing.Is basically exactly what you are doing now, but instead of 0, you will return data collection error object.
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