Heartbeat auto reload configuration file

Hello,

I am setting up heartbeat with auto reload configuration files under the monitor.d path. It works fine and loads new config files but the problem is that it loads only for new files, if I edit an existing file and save it with new configuration, heartbeat does not detect that change.

Can you please advise if there is some workaround that can be implemented for heartbeat?

Thanks.

Hello,

Can you post your heartbeat.yml? Did you set reload.enabled?

heartbeat.config.monitors:
  path: /path/to/my/monitors.d/*.yml
  # If enabled, heartbeat will periodically check the config.monitors path for changes
  reload.enabled: true
  reload.period: 60s

Best regards
Wolfram

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.