Hello! I try to build autolinking templates for host.
Now i have autoregistration process for new agent and try use discovery for linking new templates after deploy new services (PSQL and pgbouncer for example)
Some questions:
1) In Conditions for Actions i see field "Received value". It is hostmetadata? Or active checks?
2) How does metadata work? in any examples i see only Linux/Windows server checks. I write simple bash script, with packages list (search installed DB packages or pgbouncer) and try to create checks - open port + recieved value like pgbouncer => link tempate pgbouncer. No luck
Now i have autoregistration process for new agent and try use discovery for linking new templates after deploy new services (PSQL and pgbouncer for example)
Some questions:
1) In Conditions for Actions i see field "Received value". It is hostmetadata? Or active checks?
2) How does metadata work? in any examples i see only Linux/Windows server checks. I write simple bash script, with packages list (search installed DB packages or pgbouncer) and try to create checks - open port + recieved value like pgbouncer => link tempate pgbouncer. No luck