I'm trying to monitor mirth channels with the help of their API but having a hard time to wrap my head around discovery rules.
I've created a template with an item and some simple preprocessing that retrieves and converts XML to the json data we need.

Example of the JSON:

We'd like to monitor the 'queued' count and 'state' of every channel.
How to create a discovery rule to discovery every channel in the JSON?
I tried the following but am getting nowhere.


I've created a template with an item and some simple preprocessing that retrieves and converts XML to the json data we need.
Example of the JSON:
We'd like to monitor the 'queued' count and 'state' of every channel.
How to create a discovery rule to discovery every channel in the JSON?
I tried the following but am getting nowhere.
Comment