Daniel Swarbrick
Daniel Swarbrick
This is intriguing. Whilst working on a very trivial patch to eliminate `ioutil.ReadAll` when unmarshalling the XML, I hit a test failure which I haven't yet resolved. However, in the...
> Might be solved by #41 @cubranic Can you please confirm whether this is now working with master?
Set `LC_NUMERIC=C` in the environment (e.g. cronjob) that you are launching the smartmon.py script from, and you should then get floating point numbers in the format that node_exporter expects them.
Since this will affect other distros as well, maybe it makes more sense to implement the fix in the script itself, rather than the systemd unit / cronjob.
You'll probably get more eyes on your problem by posting this to the prometheus-users mailing list / google group. Github issues are not really the best place for general tech...
Obsoleted by https://github.com/prometheus/procfs/pull/412 I think we can close this.
Have you considered using https://github.com/kumina/postfix_exporter (assuming your mail system is postfix)?
If these commands were failing as "not found", this merely suggests that your cron environment is lacking `/usr/sbin` in its path, which I find a bit odd. You could merely...
The `/dev/disk/by-{id,partlabel,partuuid,path,uuid}` directories are created by udev, and thus probably also somewhat variable from one distro to the next (and also not guaranteed to be present at all). The only...
I think that _attempting_ to obtain the array name is ok, so long as it fails gracefully. But obviously the glob pattern at the start of the for-loop should use...