Hello

I have a custom sensor (well several hundred of the same type, which is why I don't want to do this manually, but happy to delete the sensors and let automation re-add them) where once added, populates 2 channels and sets a limit on one as seen below:

{ "prtg": { "result": [ { "channel": "appealMediaTypeDaysRemaining", "value": "65041" }, { "channel": "appealDaysRemaining", "value": "65041", "limitmode": "1", "limitminwarning": "30", "limitminerror": "4" } ], "text": "" }

There's no problem with the above and it all works fine. I want to add to the comments tab when its first run, like the limit thresholds. I figure I'm either missing a field name in the right place in the json results, or it's not possible.

Is there any way I can specify it in the initial results like the limiters so it gets populated.

I am aware I could set it at sensor add time, or bulk change it after they are added. If the above idea works that's an easier method than changing the buildout automation.

Thank you for any ideas suggested.

Wayne


Article Comments

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.