DCI Table trasform Script help please
-
Hey all,
I'm trying to get a transform script working on my interface table (I'm not very good at scripting).
This is what I have at the moment:
idxbin = $1->getColumnIndex("bytes-in"); idxbout = $1->getColumnIndex("bytes-out"); for (i=0;i<rowCount;i++) { $1->set(i,idxbin,$1->get(i,idxbin * 8); $1->set(i,idxbout,$1->get(i,idxbout * 8); }My columns are "bytes-in" and "bytes-out" and are in octets. Is this correct and also how do I set the transform script to be Delta per second?
A little lost and any help would be gratefully accepted...
How do I get rid of them god dam stupid faces!!! -
What kind of interface table do you mean? Is it a metric of netxms agent or from some SNMP device, or your custom external table? Can you show how data in that table look like?
What result do you want to get? -
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