I have written a custom sensor and need to be able to return error. I have tried negative values and also putting the work error in the message, neither works.
Custom sensor return error
Modified on 2025-06-10 20:46:04 +0200
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.
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.
If you're using PowerShell or C#, the sensor status is dictated by the application's exit code:
<exit code>:<numeric value>:<message>Kind regards,
Stephan Linke, Tech Support Team
Feb, 2018 - Permalink