Has anyone been able to run a script once a host is linked to a template?
I have a discovery rule that runs, and adds the host to a group, and links it to a template, and then I need to run a global script that will call some external APIs. The issue is, each different template has a different API endpoint, so I've put in in there as a macro. I would prefer to not have to write a separate script for each template, as I already have quite a few one off processes that need to be added to get a discovery rule up and running.
Thanks,
Robert
I have a discovery rule that runs, and adds the host to a group, and links it to a template, and then I need to run a global script that will call some external APIs. The issue is, each different template has a different API endpoint, so I've put in in there as a macro. I would prefer to not have to write a separate script for each template, as I already have quite a few one off processes that need to be added to get a discovery rule up and running.
Thanks,
Robert