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.


Article Comments

If you're using PowerShell or C#, the sensor status is dictated by the application's exit code:

  • 0 - Up
  • 1 - Warning
  • 2 - Error / Down In case you're using SSH Script Sensors, the first number depicts the status: <exit code>:<numeric value>:<message>

Kind regards,
Stephan Linke, Tech Support Team


Feb, 2018 - Permalink