How to Troubleshoot Agent¶
Agent reads its configuration files from:
Default installation creates the following files:
/etc/bleemeo/agent.conf: common default configuration and description of some customizable option.
/etc/bleemeo/agent.conf.d/05-system.conf: default option for integration with system. For example it includes syslog logger.
/etc/bleemeo/agent.conf.d/30-graphite_metrics_source.conf: configuration of metrics source (only Telegraf is supported).
/etc/bleemeo/agent.conf.d/30-install.conf: credentials used to communicate with Bleemeo Cloud platform.
For more details on configuration files, see Agent Configuration Files
In case of trouble, the most valuable source of information is the log file.
Log messages may be at various locations, depending how you run the agent:
- In syslog when agent is installed with package or with the standard method.
docker logsfor Docker images
The log destination is set in the configuration files. For example in case
of system installation, logging is setup in
logging: output: syslog
For more details, add the following to your configuration (
to increase log level to DEBUG:
logging: level: DEBUG
Agent is stateful. It keeps in a state file some information specific to the server which run it. For example its registration ID, the metrics seen and the metrics registered with Bleemeo Cloud platform.
The state file is usually stored in