Parsing octet string into integer to draw graph

Hello,

I tried to create datasource from the processor temperature.
My problem is that the temperature returns as octet string, like
" 25 Centigrade". See the picture.
Is there any way to parse/convert such strings to integers using functions?

Thanks in advance,
Jacsa
datasource.jpg

Sorry for the lack of detail but you can create a function and in the function you can use things like string_substring to pull the number out of the string… Then attach that function to a probe.

Here is a function that returns 6 characters from the system name

if (string_size(oid(“iso.org.dod.internet.mgmt.mib-2.system.sysName.0”)), string_substring((oid(“iso.org.dod.internet.mgmt.mib-2.system.sysName.0”),0 ),6 ), “”)

Who better to discuss How should the information be given?
This is my beer, you always give of 0:
iso.org.dod.internet.private.enterprises.lan-module.4.4.0

Thank’s lot