Anybody knows a proper request to monitoring API, like IP:port and command (getsummary for ex) ? A remeber cgminer has
The JSON request format required is '{"command":"CMD","parameter":"PARAM"}'
but as i understand ccminer api dosn't support Json api request and answers.
EPSYLON3--
Check out tpruvot/epsylon3's work. The details of the API are explained in his documentation. That sort of stuff is one of his CCminer specialties. Also, KBomba uses the API in his CCmonitor, and in his MinerControl branch. You can find both of them on GitHub, and tpruvot has his own forum on BTC form (here).
--scryptr
Thank you, i found a proper request it's just "summary". So
http://localhost:4068/summary shows that's what i needed
NAME=ccminer;VER=1.5.68-git(SP-MOD);API=1.3;ALGO=lyra2v2;GPUS=3;KHS=25592.25;ACC=0;REJ=0;ACCMN=0.000;DIFF=125460.864079;UPTIME=11276;TS=1443301389
"threads" shows
GPU=0;BUS=11;CARD=GeForce GTX 970;TEMP=74.0;FAN=72;RPM=1816;FREQ=1240500;KHS=8718.79;HWF=0;I=19.6;THR=851968|GPU=1;BUS=7;CARD=GeForce GTX 970;TEMP=74.0;FAN=73;RPM=1836;FREQ=1240500;KHS=8494.52;HWF=0;I=19.6;THR=851968|GPU=2;BUS=13;CARD=GeForce GTX 970;TEMP=80.0;FAN=86;RPM=2171;FREQ=1240500;KHS=8362.02;HWF=0;I=19.6;THR=851968|
Unfortunately it's not a json format. But it's ok also.
And unfortunately it's only localhost bind API ability. Any chance to fix this ? I mean -b 192.168.X.X doesn't work, only 127.0.0.1 With the -b parameter you can open your ccminer to your network, use -b 0.0.0.0:4068 if required.