Code Monkey home page Code Monkey logo

claymore-ethereum-log-genereator's People

Contributors

bobdobs avatar davidpkatz avatar kgara avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

claymore-ethereum-log-genereator's Issues

Issue influxDB no gpu0 series (5gpus on mu rig)

Hi on Grafana I seen the GPU0 has a N/A error. I found in influxDB the series are:

eth_gpu,gpu=GPU1,host=minr
eth_gpu,gpu=GPU2,host=minr
eth_gpu,gpu=GPU3,host=minr
eth_gpu,gpu=GPU4,host=minr
I searched into the php file but dont find the bug. Can you explain me how to fix that?
https://imgur.com/a/hBZHU
Thank you.

Data from measurement `eth_totals` does not reach influxdb

Data from measurement eth_totals does not reach influxdb, yet being written into totals.log.
Investigated the issue and found the following error:

< X-Influxdb-Error: partial write: unable to parse 'eth_totals,host=mxhome2 avg_temp=62,avg_fan=32,eth_total_speed=31.020,eth_total_shares=1237,eth_total_rejected=0,eth_avg_speed_per_card=31.02,eth_avg_shares_per_card=1237,dcr_total_speed=930.606,dcr_total_shares=2134,,dcr_total_rejected=63,dcr_avg_speed_per_card=930.61,dcr_avg_shares_per_card=2134 1523181416000000000': invalid field format dropped=0

Later noticed that comma appears to be present in dcr_total_shares.

Array
(
   ...
    [dcr_total_speed] => 931.172
    [dcr_total_shares] => 2150,
    [dcr_total_rejected] => 64
   ...
)

Seems like I fixed it and will make the pull request now.

Windows PHP 7.2 - error

Thank you for the script.

I have error output under Windows 10, PHP 7.2.2

PHP Notice: Undefined index: temp in claymore-log-generator.php on line 217
PHP Notice: Undefined index: fan in claymore-log-generator.php on line 218

                        $temp_total += $gpu['temp'];
                        $fan_total  += $gpu['fan'];

It is because of Win or PHP7?

Regards

PHP Parse error: syntax error, unexpected '?' on line 143

Hi very nice work ¡¡¡¡
I have a problem when execute the Php Script :

root@icinga2 claymore-ethereum-log-genereator]# /usr/bin/php ./eth_log_gen.php

PHP Parse error:  syntax error, unexpected '?' in /usr/local/src/claymore-ethereum-log-genereator/eth_log_gen.php on line 143

My version of PHP:

[root@icinga2 claymore-ethereum-log-genereator]# php -v
PHP 5.6.40-0+deb8u2 (cli) (built: Mar 30 2019 20:26:13) 
Copyright (c) 1997-2016 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2016 Zend Technologies
    with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2016, by Zend Technologies

The error is for the version of Php ?
A lot of thanks

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.