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 602 forks source link

fix bug: set user and group together: #770

Open ppa-arenadata opened 1 year ago

ppa-arenadata commented 1 year ago

ERROR: Failed to set UID/GID. global name 'user' is not defined

shortdudey123 commented 10 months ago

Please update this to use code similar to #654 since there is two sources for the user that can get used (see line 180). Log message on line 224 should be updated too.