Hey,
is it possible to dynamically create a host list from the result of the http agent. The HTTP agent receives information through the API in the target database, the results are in JSON format. I can get a list with hostnames, and I can create a list of hosts by referencing that list.
The essence of the task. There is a web resource that provides a list. This list column contains the hostname and replication status. The list looks like this Host (Hostname) - Status (Normal, Critical) Unfortunately, the current list of hosts does not match the names in the list, so I cannot use the {HOST.NAME} variable. I am thinking of making a single host group, but I will need to manually add hosts and then apply the template to them. Perhaps I do not understand correctly how to do it better. I just need to react if there is a Critical entry in this list, and display information on that line in the list where the Host has the Critical status.
I made a trigger by binding it to the name of the Hyper-V server. Those. I get an array of virtual machines with Critical replication status, specifically for each Hyper-V server. But this is array, I don`t know how to split it



is it possible to dynamically create a host list from the result of the http agent. The HTTP agent receives information through the API in the target database, the results are in JSON format. I can get a list with hostnames, and I can create a list of hosts by referencing that list.
The essence of the task. There is a web resource that provides a list. This list column contains the hostname and replication status. The list looks like this Host (Hostname) - Status (Normal, Critical) Unfortunately, the current list of hosts does not match the names in the list, so I cannot use the {HOST.NAME} variable. I am thinking of making a single host group, but I will need to manually add hosts and then apply the template to them. Perhaps I do not understand correctly how to do it better. I just need to react if there is a Critical entry in this list, and display information on that line in the list where the Host has the Critical status.
I made a trigger by binding it to the name of the Hyper-V server. Those. I get an array of virtual machines with Critical replication status, specifically for each Hyper-V server. But this is array, I don`t know how to split it
