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?
Hi,
In the bottom left you should see a few buttons (for any topics started by you): Remove Topic, Lock Topic and Topic Solved.
Cheers
Thx Tursiops and merry christmas 8)