Good evening,

I have the following situation: I have a script that generates an output prtg.txt for exemple:

"2:2 error while compressing file"

How do i monitor a txt file with the following output?

case of failure:

"2:2 error while compressing file"

case of sucess:

"0:0 file upload with success"

Article Comments

Attention: This article is a record of a conversation with the Paessler support team. The information in this conversation is not updated to preserve the historical record. As a result, some of the information or recommendations in this conversation might be out of date.

Hello Thiago,
we appreciate your contact.

You need to create an SSH script that PRTG will run on the target system and print that output to the console when it runs. This is the sensor:

You can find further details about the API for custom sensors on the following URL or within your PRTG's web-interface under Setup > PRTG API.

Best Regards,
Luciano Lingnau [Paessler Support]


Jul, 2018 - Permalink