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

correct execute permission checking in nagios collector #658

Closed wleese closed 1 year ago

wleese commented 7 years ago

The current boolean with cause the collect() to return when you enable sudo, but as the current user cannot access the nagiosstats binary. This seems incorrect because that is precisely the reason one would use sudo.

wleese commented 7 years ago

I believe I corrected the whitespace, but travis needs to be re-triggered?