@dkoppenhagen said in Problem with DCI transform script:
I tried this. But it's the same result. So the "Data Type" in configuration section "General" is the type of the final values which is returned after my transformation script
runs on collected data? Or is this the type if the raw data which comes from my script?
As per my knowledge it is the type of the final value.
@dkoppenhagen said in Problem with DCI transform script:
So the main problem is: I need a float for performance tab and a string for object overview.
So probably I have to leave it as it is and I change just the value description from "CPU" to "CPU (%)".
Since you need the same result with different data type, I suggest to leave it as float and change the description (you won't be able to show in performance graph if it is a string). Another solution is to duplicate the DCI and keep one as string and the other as float, the DCI of type string can be shown in overview and the float in the performance tab, but honestly if you have many nodes in my opinion is a waste of resources.
Regards,
Marco