DCI Table Transformation not working
-
Hi @ll,
i try to transform some dci-vlaues, but it does not work for me.
conStat = $1->getColumnIndex("TCPConState");
switch (conStat)
{
case "2":
return "listen";
break;
case "5":
return "established";
break;
case "11":
return "waiting";
break;
default:
return "unknown";
}Whe i try this script for a single dci value ($1) it works.
No Error occurs after applying. I dont know whats wrong

Thx to @ll for help
-
Hi,
Tables are a bit different. Your script is effectively replacing the entire table with one single value.
The following post might help you get this working:
https://www.netxms.org/forum/configuration/transformations-scripts-for-table-dci/Cheers
-
Hi Tursiops,
thanks for your help. I know this post but misunderstod.
>> Your script is effectively replacing the entire table with one single value
This was the decisive note to understand.
Many Thanks for you

How i can mark as solved?
-
-
Thx Tursiops and merry christmas

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