Ok. Please post a trace so I can look at the json and check how it’s being processed
Here ya go:
devel@devel-vm:[~/WORK/RigMonitor]: ./grm-2.0.b1 -p -1 -m -1 -r 1 -t
INFO: 2018/05/12 21:41:11 main.go:33: Starting rig-monitor...
INFO: 2018/05/12 21:41:11 main.go:46: Tracing is enabled!
INFO: 2018/05/12 21:41:11 main.go:50: Commmand line arguments: -config
INFO: 2018/05/12 21:41:11 main.go:54: No config file specified. Using default config.toml file: config.toml
INFO: 2018/05/12 21:41:11 config.go:86: Reading configuration file...
TRACE: 2018/05/12 21:41:11 config.go:103: Config file: &lib.Config{Grafana:lib.Grafana{Username:"grafana", Password:"grafana"}, Influxdb:lib.InfluxDb{Hostname:"http://localhost:8086", Database:"rigdata", Username:"grafana", Password:"grafana", WriteInterval:0xf, InfluxWriteBufferSize:0x64}, Dynu:lib.Dynu{Enabled:false, Username:"dynu", Password:"dynu", Hostname:"host.dynu.com", UpdateInterval:1800}, Profitability:lib.Profitability{QuoteCurrency:"USD", PowerCostKwh:0.15, PowerRatioDualMining:0.3, EnvPollingInterval:60, MarketPollingInterval:300}, Main:lib.Main{PoolWorkers:3, RigWorkers:3, PoolPollingInterval:600, RigPollingInterval:60, PoolConfig:[]string{"label_supportXMR,nodejs-pool,XMR,https://supportxmr.com,,45UCHuYkQfriTrWoCC2vhFYBSUHtrTsm4DJduNye42ssJagZPjG2tiFBmdgpvehAhSTCqBo2AfiS5Ukx8R1CVv1A2WiEoHk"}, RigConfig:[]string{"MineRig1,xmr-stak,label_supportXMR,,http://192.168.232.30:16000,16,4850,,,,650,75", "MineRig2,xmr-stak,label_supportXMR,,http://192.168.232.31:16000,10,4250,,,,650,75"}}}
INFO: 2018/05/12 21:41:11 main.go:70: Commmand line arguments: -p -1
INFO: 2018/05/12 21:41:11 main.go:82: Commmand line arguments: -r 1
INFO: 2018/05/12 21:41:11 main.go:105: Commmand line arguments: -m -1
TRACE: 2018/05/12 21:41:11 main.go:117: List of rigs: []string{"MineRig1,xmr-stak,label_supportXMR,,http://192.168.232.30:16000,16,4850,,,,650,75"}
TRACE: 2018/05/12 21:41:11 main.go:118: List of pools: []string{}
INFO: 2018/05/12 21:41:11 main.go:122: Connection to influxDB at http://localhost:8086 ...
INFO: 2018/05/12 21:41:11 influxdb.go:18: Starting DBDaemon routine...
INFO: 2018/05/12 21:41:12 main.go:146: Launching pool monitor worker: 0
INFO: 2018/05/12 21:41:12 main.go:146: Launching pool monitor worker: 1
INFO: 2018/05/12 21:41:12 main.go:146: Launching pool monitor worker: 2
INFO: 2018/05/12 21:41:12 main.go:152: Launching rig monitor worker: 0
INFO: 2018/05/12 21:41:12 main.go:152: Launching rig monitor worker: 1
INFO: 2018/05/12 21:41:12 main.go:152: Launching rig monitor worker: 2
INFO: 2018/05/12 21:41:12 main.go:158: Launching power monitor worker: 0
INFO: 2018/05/12 21:41:12 main.go:158: Launching power monitor worker: 1
INFO: 2018/05/12 21:41:12 main.go:158: Launching power monitor worker: 2
INFO: 2018/05/12 21:41:12 main.go:163: Launching market monitor worker: 0
INFO: 2018/05/12 21:41:12 rig-monitor.go:40: New rig monitor job received: MineRig1,xmr-stak,label_supportXMR,,http://192.168.232.30:16000,16,4850,,,,650,75
INFO: 2018/05/12 21:41:12 env.go:46: New environment monitor job received: MineRig1,xmr-stak,label_supportXMR,,http://192.168.232.30:16000,16,4850,,,,650,75
TRACE: 2018/05/12 21:41:12 env.go:48: New environment monitor job received: &lib.RigConfig{RigName:"MineRig1", Miner:"", PoolLabel:"label_supportXMR", PoolLabel2:"", URL:"", InstalledGpus:0, TargetHashRate:0, TargetHashRate2:0, SmartPlugType:"", SmartPlugIP:"", PSUMaxPower:650, TargetTemperature:0}
TRACE: 2018/05/12 21:41:12 rig-monitor.go:42: New rig monitor job received: &lib.RigConfig{RigName:"MineRig1", Miner:"XMR-STAK", PoolLabel:"label_supportXMR", PoolLabel2:"", URL:"http://192.168.232.30:16000", InstalledGpus:16, TargetHashRate:4850, TargetHashRate2:0, SmartPlugType:"", SmartPlugIP:"", PSUMaxPower:0, TargetTemperature:75}
INFO: 2018/05/12 21:41:12 rig-monitor.go:68: Connection to rig MineRig1 OK.
TRACE: 2018/05/12 21:41:12 xmr-stak.go:64: Miner(xmr-stak) response from MineRig1: {
"version": "xmr-stak/2.4.3/26a5d65f/unknown/win/amd-cpu/aeon-cryptonight-monero/0",
"hashrate": {
"threads": [
[
229.1,
229.1,
229.1
],
[
229,
229.1,
229.1
],
[
452.7,
452.7,
452.7
],
[
444.9,
444.7,
444.7
],
[
469.4,
469.4,
469.4
],
[
461.2,
461.1,
461.2
],
[
463.2,
463.5,
463.6
],
[
455.7,
455.5,
455.4
],
[
454.9,
454.8,
454.8
],
[
447,
446.9,
446.8
],
[
238.9,
238.8,
238.8
],
[
238.8,
238.8,
238.8
],
[
70.4,
70.4,
70.4
],
[
72.4,
72.5,
72.3
],
[
72.2,
72.4,
72.3
],
[
71,
71,
71
]
],
"total": [
4870.8,
4870.6,
4870.4
],
"highest": 4873.7
},
"results": {
"diff_current": 141272,
"shares_good": 3137,
"shares_total": 3172,
"avg_time": 29.4,
"hashes_total": 167559063,
"best": [
727401336,
697808744,
216834535,
154470710,
135829103,
110481742,
70728425,
52480418,
49959351,
49316225
],
"error_log": [
{
"count": 1,
"last_seen": 1526069933,
"text": "[NETWORK ERROR]"
},
{
"count": 34,
"last_seen": 1526161221,
"text": "AMD Invalid Result GPU ID 1"
}
]
},
"connection": {
"pool": "pool.supportxmr.com:9000",
"uptime": 35564,
"ping": 114,
"error_log": [
{
"last_seen": 1526161255,
"text": "[pool.supportxmr.com:9000] RECEIVE error: socket closed"
}
]
}
}
TRACE: 2018/05/12 21:41:12 influxdb.go:51: New record received by DBDaemon: miner_system map[label:label_supportXMR miner:XMR-STAK rig_id:MineRig1] map[avg_result_time:29.4 current_difficulty:141272 invalid_shares:35 target_hr:4850 total_shares:3172 valid_shares:3137 avg_hr_10s:4870.8 avg_hr_60s:4870.6 configured_threads:16 error_count:2 total_hashes:167559063 active_threads:3 avg_hr_15m:4870.4] 2018-05-12 21:41:12.097998908 +0000 UTC m=+1.047779093
TRACE: 2018/05/12 21:41:12 influxdb.go:51: New record received by DBDaemon: miner_gpu map[gpu_id:0 miner:XMR-STAK rig_id:MineRig1] map[avg_hr_10s:229.1 avg_hr_15m:229.1 avg_hr_60s:229.1] 2018-05-12 21:41:12.098035279 +0000 UTC m=+1.047815449
TRACE: 2018/05/12 21:41:12 influxdb.go:51: New record received by DBDaemon: miner_gpu map[gpu_id:1 miner:XMR-STAK rig_id:MineRig1] map[avg_hr_10s:229 avg_hr_15m:229.1 avg_hr_60s:229.1] 2018-05-12 21:41:12.098041814 +0000 UTC m=+1.047821981
TRACE: 2018/05/12 21:41:12 influxdb.go:51: New record received by DBDaemon: miner_gpu map[gpu_id:2 miner:XMR-STAK rig_id:MineRig1] map[avg_hr_10s:452.7 avg_hr_15m:452.7 avg_hr_60s:452.7] 2018-05-12 21:41:12.098045882 +0000 UTC m=+1.047826056
INFO: 2018/05/12 21:41:26 influxdb.go:45: DBDaemon ticker expired (15s). Data points (4) saved to influxDB
INFO: 2018/05/12 21:41:41 influxdb.go:45: DBDaemon ticker expired (15s). Data points (0) saved to influxDB
INFO: 2018/05/12 21:41:56 influxdb.go:45: DBDaemon ticker expired (15s). Data points (0) saved to influxDB
INFO: 2018/05/12 21:42:11 influxdb.go:45: DBDaemon ticker expired (15s). Data points (0) saved to influxDB
INFO: 2018/05/12 21:42:12 env.go:46: New environment monitor job received: MineRig1,xmr-stak,label_supportXMR,,http://192.168.232.30:16000,16,4850,,,,650,75
TRACE: 2018/05/12 21:42:12 env.go:48: New environment monitor job received: &lib.RigConfig{RigName:"MineRig1", Miner:"", PoolLabel:"label_supportXMR", PoolLabel2:"", URL:"", InstalledGpus:0, TargetHashRate:0, TargetHashRate2:0, SmartPlugType:"", SmartPlugIP:"", PSUMaxPower:650, TargetTemperature:0}
INFO: 2018/05/12 21:42:12 rig-monitor.go:40: New rig monitor job received: MineRig1,xmr-stak,label_supportXMR,,http://192.168.232.30:16000,16,4850,,,,650,75
TRACE: 2018/05/12 21:42:12 rig-monitor.go:42: New rig monitor job received: &lib.RigConfig{RigName:"MineRig1", Miner:"XMR-STAK", PoolLabel:"label_supportXMR", PoolLabel2:"", URL:"http://192.168.232.30:16000", InstalledGpus:16, TargetHashRate:4850, TargetHashRate2:0, SmartPlugType:"", SmartPlugIP:"", PSUMaxPower:0, TargetTemperature:75}
INFO: 2018/05/12 21:42:12 rig-monitor.go:68: Connection to rig MineRig1 OK.
TRACE: 2018/05/12 21:42:12 xmr-stak.go:64: Miner(xmr-stak) response from MineRig1: {
"version": "xmr-stak/2.4.3/26a5d65f/unknown/win/amd-cpu/aeon-cryptonight-monero/0",
"hashrate": {
"threads": [
[
229,
229,
229.1
],
[
229,
229.1,
229.1
],
[
452.7,
452.7,
452.7
],
[
444.7,
444.7,
444.7
],
[
469.7,
469.4,
469.4
],
[
460.8,
461.1,
461.2
],
[
463.5,
463.6,
463.6
],
[
455.4,
455.4,
455.4
],
[
454.8,
454.8,
454.8
],
[
446.9,
446.9,
446.8
],
[
238.8,
238.8,
238.8
],
[
238.8,
238.8,
238.8
],
[
70.5,
70.7,
70.4
],
[
72.2,
72.4,
72.3
],
[
72.1,
72.6,
72.3
],
[
71,
71.3,
71
]
],
"total": [
4869.9,
4871.4,
4870.4
],
"highest": 4873.7
},
"results": {
"diff_current": 141272,
"shares_good": 3137,
"shares_total": 3172,
"avg_time": 29.5,
"hashes_total": 167559063,
"best": [
727401336,
697808744,
216834535,
154470710,
135829103,
110481742,
70728425,
52480418,
49959351,
49316225
],
"error_log": [
{
"count": 1,
"last_seen": 1526069933,
"text": "[NETWORK ERROR]"
},
{
"count": 34,
"last_seen": 1526161221,
"text": "AMD Invalid Result GPU ID 1"
}
]
},
"connection": {
"pool": "pool.supportxmr.com:9000",
"uptime": 35624,
"ping": 114,
"error_log": [
{
"last_seen": 1526161255,
"text": "[pool.supportxmr.com:9000] RECEIVE error: socket closed"
}
]
}
}
TRACE: 2018/05/12 21:42:12 influxdb.go:51: New record received by DBDaemon: miner_system map[label:label_supportXMR miner:XMR-STAK rig_id:MineRig1] map[error_count:2 target_hr:4850 total_hashes:167559063 active_threads:3 avg_hr_10s:4869.9 avg_hr_60s:4871.4 current_difficulty:141272 invalid_shares:35 total_shares:3172 valid_shares:3137 avg_hr_15m:4870.4 avg_result_time:29.5 configured_threads:16] 2018-05-12 21:42:12.06029473 +0000 UTC m=+61.010074910
TRACE: 2018/05/12 21:42:12 influxdb.go:51: New record received by DBDaemon: miner_gpu map[gpu_id:0 miner:XMR-STAK rig_id:MineRig1] map[avg_hr_10s:229 avg_hr_15m:229.1 avg_hr_60s:229] 2018-05-12 21:42:12.060343136 +0000 UTC m=+61.010123316
TRACE: 2018/05/12 21:42:12 influxdb.go:51: New record received by DBDaemon: miner_gpu map[gpu_id:1 miner:XMR-STAK rig_id:MineRig1] map[avg_hr_15m:229.1 avg_hr_60s:229.1 avg_hr_10s:229] 2018-05-12 21:42:12.060349697 +0000 UTC m=+61.010129884
TRACE: 2018/05/12 21:42:12 influxdb.go:51: New record received by DBDaemon: miner_gpu map[miner:XMR-STAK rig_id:MineRig1 gpu_id:2] map[avg_hr_10s:452.7 avg_hr_15m:452.7 avg_hr_60s:452.7] 2018-05-12 21:42:12.06036155 +0000 UTC m=+61.010141736
^C
devel@devel-vm:[~/WORK/RigMonitor]: