Note: The -v option allows you to see all templates including the one that are unresolved.
For example, the following example is a valid Autodiscovery configuration for a Redis template being loaded from a Docker label annotation—not the default redisdb.d/auto_conf.yaml file:
The following examples show issues that could appear when failing to load a valid Autodiscovery configuration for a Redis template:
# docker exec -it <AGENT_CONTAINER_NAME> agent configcheck -v
.
..
...
=== Resolve warnings ===
redisdb
* No service found with this AD identifier: redis
* Can't resolve the template for redisdb at this moment.
=== Unresolved Configs ===
Auto-discovery IDs: redis
Template:
init_config:
instances:
- host: '%%host%%'
port: '%%port%%'