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.
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'
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.