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

Windows support for Diamond #636

Open heta89 opened 7 years ago

heta89 commented 7 years ago

I'm getting the below error when I try to start Diamond on a windows machine:

[2017-04-26 23:21:51,026] [MainThread] Unhandled exception: 'module' object has no attribute 'getuid' [2017-04-26 23:21:51,028] [MainThread] traceback: Traceback (most recent call last): File "XXXX\Python2.7\Scripts\diamond", line 220, in main os.getuid(), AttributeError: 'module' object has no attribute 'getuid'

Can somebody please help with this?

I could find some link that explain that this attribute does not work with Windows. (http://stackoverflow.com/questions/28789611/wifite-master-error-in-module-has-no-attrib-getuid-python) But I can see some other issues for windows for Diamond; I'm posting this issue.

shortdudey123 commented 7 years ago

Generally speaking Diamond does not supported or test against Windows platforms.

I can leave this open as a feature request to support windows or i can close this issue if that is not something you are looking for.