I have a custom EXEXML sensor. it works only when showing predefined data type, but what if I want show a string in channel...


Article Comments

Hi,
unfortunately it is not possible to use a string in a channel as these only can handle numerical values. If you are in need to return a string to PRTG, please do so in the <message> tag.
Best regards


Apr, 2014 - Permalink

Thanks for the reply. i ll try the <message> tag. but it not mentioned in API doc, isn't the <text> was designed to show message per sensor like you said?

<Text> — Text the sensor returns in the Message field with every scanning interval. There can be one message per sensor, regardless of the number of channels. Default is OK. Note: This element has to be provided outside of the <result> element. Any string; Max. length: 2000 characters


Apr, 2014 - Permalink

Hi,
you are correct. It is the <text> tag not the message tag. My apologies.


Apr, 2014 - Permalink