hello
sometimes, the discovery rule I create to list a set of resources on which I want to have item / triggers , have different type of resources.
Some of them can be associated with items, that are not relevant for others.
For example, I have Database discovery that basicaly list database services, Some of them are mysql databases, others postgresql databases.
So for most of the items.. these ones are ok for both of them, but a small part of them are just for mysql, and others for pg.
Is there a way to create the item (in item prototype definition) depending on the {#variables} that are return by the discovery script ?
I saw that there is a preprocessing option, but I think this is only to adapt the value, .. to transform it.
Thank you for your insights,
best regards,
Mickaƫl
sometimes, the discovery rule I create to list a set of resources on which I want to have item / triggers , have different type of resources.
Some of them can be associated with items, that are not relevant for others.
For example, I have Database discovery that basicaly list database services, Some of them are mysql databases, others postgresql databases.
So for most of the items.. these ones are ok for both of them, but a small part of them are just for mysql, and others for pg.
Is there a way to create the item (in item prototype definition) depending on the {#variables} that are return by the discovery script ?
I saw that there is a preprocessing option, but I think this is only to adapt the value, .. to transform it.
Thank you for your insights,
best regards,
Mickaƫl
Comment