What is this?

This knowledgebase contains questions and answers about PRTG Network Monitor and network monitoring in general.

Learn more

PRTG Network Monitor

Intuitive to Use. Easy to manage.
More than 500,000 users rely on Paessler PRTG every day. Find out how you can reduce cost, increase QoS and ease planning, as well.

Free Download

Top Tags


View all Tags

Comments tab - populate on creation (custom exe/script sensor)

Votes:

0

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

automation comment-tab custom-exe json json-results script

Created on Dec 2, 2021 1:24:48 PM



Replies

Nobody has replied yet


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.