I'm using EXE/Script advanced sensor. I want a channel only for information, this channel will not show alerts or warnings, it's only to show a string. Example a date format: 6/5/2017 11:00:00.

Is it possible?

<?xml version="1.0" encoding="Windows-1252" ?> <prtg> <result> <channel>LAST(Date)</channel> <value>6/5/2017 1:54:49 AM</value> <mode>Absolute</mode> </result> <text>OK</text> </prtg>


Article Comments

Hi there,

PRTG cannot evaluate strings, only integers and floats. You'll need to use 0 as value and the text node:

<?xml version="1.0" encoding="Windows-1252" ?> 
   <prtg> 
     <result> 
         <channel>LAST(Date)</channel> 
         <value>0</value> 
         <mode>Absolute</mode> 
     </result> 
     <text>6/5/2017 1:54:49 AM</text>
   </prtg>

Then it will be displayed properly.


Kind regards,
Stephan Linke, Paessler Tech Support


Jun, 2017 - Permalink