sensu / sensu-go

Simple. Scalable. Multi-cloud monitoring.
https://sensu.io
MIT License
1.01k stars 177 forks source link

Don't use os.Hostname in daemons #4964

Closed echlebek closed 1 year ago

echlebek commented 1 year ago

Fix a bug where os.Hostname was used as the backend name in keepalived and eventd. This breaks keepalives and check TTLs when a backend name is configured in the backend config file. The backend name is now correctly passed through to these daemons.