Where can we find some sample code for writing a basic sensor in c#? We may monitor some SQL Server databases with the "Microsoft SQL v2 Sensor" and a query. Though we would prefer to write our own executable and install that in PRTG.
How do we write a basic console app sensor in C#?
Modified on 2025-06-10 21:05:39 +0200
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.
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.
Hello Eloos,
You can find the documentation for custom sensors on the Setup > PRTG API > Custom Sensors page of your PRTG installation. You can also find some basic examples in the directory
Best regards, Felix
Oct, 2017 - Permalink