I'm trying to implement a PRTG (9.2) sensor that when 'Down' will send me some text. ie. I could have a RESTful web service that returns
<status>OK</status> when up
and
<status>7 errors. Server xyz has issue A. Server abc has issue B.</status>
I can do this with an XML/HTTP sensor, to a point, ie. using a change notification I can get an email when the <status> changes. However I can't see how to flag the sensor as Down when this occurs. My Channel would have the <status> text in it. I need to be able to define a second channel from another xml node, like <status> <errors>0</errors> <msg>OK</msg> </status>
I want to be able to send emails like:
Subject: Sensor blah in error - 7 is above the error limit of 0 Message: 7 errors. Server xyz has issue A. Server abc has issue B.
Is this possible?
Regards, Chris.
Add comment