I'm able tot create hosts with the discovery rule where the discovery rule is a script and this return a json formatted output with the necessary macro's. So far so good.
However in that same script I can collect data which I want to use for item creation.
When I want to create an Item prototype of type depending item (because any other option doesn't match) I can't select the discovery rule only a Item of the template.
Running the same script twice seems a bit of strange to me and is unnecessary load on the host and server.
So what would be best practice to achieve both host and item prototypes?
However in that same script I can collect data which I want to use for item creation.
When I want to create an Item prototype of type depending item (because any other option doesn't match) I can't select the discovery rule only a Item of the template.
Running the same script twice seems a bit of strange to me and is unnecessary load on the host and server.
So what would be best practice to achieve both host and item prototypes?
Comment