New Question
 
 
PRTG Network Monitor

Intuitive to Use.
Easy to manage.

200.000 administrators have chosen PRTG to monitor their network. Find out how you can reduce cost, increase QoS and ease planning, as well.

Free PRTG
Download >>

 

What is this?

This knowledgebase contains questions and answers about PRTG Network Monitor and network monitoring in general. You are invited to get involved by asking and answering questions!

Learn more

 

Top Tags


View all Tags


How can I send string to a channel?

Votes:

0

Your Vote:

Up

Down

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>

advanced custom date date-format exe script xml

Created on Jun 5, 2017 2:48:01 PM by  Rodrigofl (0) 1



1 Reply

Accepted Answer

Votes:

0

Your Vote:

Up

Down

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

Created on Jun 6, 2017 11:16:35 AM by  Stephan Linke [Paessler Support]



Please log in or register to enter your reply.


Disclaimer: The information in the Paessler Knowledge Base comes without warranty of any kind. Use at your own risk. Before applying any instructions please exercise proper system administrator housekeeping. You must make sure that a proper backup of all your data is available.