Good day! I have such problem: I want prtg to show me string values, i.e. I have script, that peforms an SQL query and returns me 4 columns: date\time | integer1 | integer2 | integer3. PRTG shows message "OK" for this sensor, but I want to see this message. In the script I parsed result to 4 channels. PRTG excellently integers, but I can't see date\time message. Is there any way to show string values in PRTG? Thx.


Article Comments

To display a custom last message, you can put the tag

<text>Your message</text>

at the end of the output for your script and this message will be shown as the last message rather than OK.

String values cannot show up in PRTG channels. PRTG is only able to handle text as the last message or channel name so you could put the date in the sensor that way.


Apr, 2014 - Permalink

You might want to look at this answer as it provides more information about how you can handle string results.

KB: How can I monitor strings from an SQL database and show a sensor status depending on it?


Jul, 2015 - Permalink