What is this?

This knowledgebase contains questions and answers about PRTG Network Monitor and network monitoring in general.

Learn more

PRTG Network Monitor

Intuitive to Use. Easy to manage.
More than 500,000 users rely on Paessler PRTG every day. Find out how you can reduce cost, increase QoS and ease planning, as well.

Free Download

Top Tags


View all Tags

Getting PE087 Error with custom sensor

Votes:

0

I have written several custom sensors using a windows console app in c# using the same pattern. System.Environment.Exit(0) for success and System.Environment.Exit(2) for failure. My previously written sensors worked fine and are still working. However, I have written a new sensor with the same pattern and it fails with PRTG saying that it did not get a response. To figure out this issue I have simplified the sensor to the following and it still fails.

class Program { static void Main(string[] args) { System.Environment.Exit(0);

} }

-net custom pe087

Created on Nov 2, 2016 4:17:18 PM



1 Reply

Votes:

0

Dear cstone

That program cannot work in PRTG as is does not produce a console output which can be interpreted by PRTG. Please include a console output which conforms to the PRTG custom sensor API. You can review its format via the PRTG web interface, menu Setup / PRTG API, tab "Custom Sensors".

Created on Nov 3, 2016 1:54:48 PM by  Arne Seifert [Paessler Support]




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.