python-diamond / Diamond

Diamond is a python daemon that collects system metrics and publishes them to Graphite (and others). It is capable of collecting cpu, memory, network, i/o, load and disk metrics. Additionally, it features an API for implementing custom collectors for gathering metrics from almost any source.
http://diamond.readthedocs.org/
MIT License
1.74k stars 600 forks source link

fail server startup on collector problems #742

Closed cove closed 2 years ago

cove commented 4 years ago

currently diamond will report to systemd that it has started up successfully even if there are configuration problems such as collectors not being found. this patch causes it to eventually fail the startup process so checking the status of the service shows that it has failed.