Bitcoin Forum

Bitcoin => Hardware => Topic started by: Tinua on June 26, 2014, 02:20:33 PM



Title: How to monitor several KNC-Jupiter ???
Post by: Tinua on June 26, 2014, 02:20:33 PM
Hi there.

I'm trying for some time with various monitoring tools, such as CryptoGlance, to observe all my KNC-Jupiter.
But it does not work.
Looks like, the API get no output to the network.
I use windows system.

In Jupiter I have the following cgconfig:
------------------------------------------
   "api-listen": true,
   "api-mcast": true,
   "api-mcast-port": "4028",
   "api-port": "4028",
   "expiry": "120",
   "failover-only": true,
   "log", "5",
   "no-pool-disable": true,
   "queue": "1",
   "scan-time": "60",
   "shares": "0",
   "kernel-path": "/ usr / bin"
   "api-allow": "W: 127.0.0.1, W: 192.168.90.0/24"
-------------------------------------------

Has anyone ever done or knows of the error?

Or someone knows monitoring tool that works with the KNC-Jupiters?

greeting
Tinu


Title: Re: How to monitor several KNC-Jupiter ???
Post by: aosmith on June 26, 2014, 08:47:24 PM
Hi there.

I'm trying for some time with various monitoring tools, such as CryptoGlance, to observe all my KNC-Jupiter.
But it does not work.
Looks like, the API get no output to the network.
I use windows system.

In Jupiter I have the following cgconfig:
------------------------------------------
   "api-list": true,
   "api-mcast": true,
   "api-mcast-port": "4028",
   "api-port": "4028",
   "expiry": "120",
   "failover-only": true,
   "log", "5",
   "no-pool-disable": true,
   "queue": "1",
   "scan-time": "60",
   "shares": "0",
   "kernel-path": "/ usr / bin"
   "api-allow": "W: 127.0.0.1, W: 192.168.90.0/24"
-------------------------------------------

Has anyone ever done or knows of the error?

Or someone knows monitoring tool that works with the KNC-Jupiters?

greeting
Tinu

Have you looked into Munin at all?  http://munin-monitoring.org/ (http://munin-monitoring.org/)


Title: Re: How to monitor several KNC-Jupiter ???
Post by: jimrome on June 26, 2014, 09:57:22 PM
Hi there.

I'm trying for some time with various monitoring tools, such as CryptoGlance, to observe all my KNC-Jupiter.
But it does not work.
Looks like, the API get no output to the network.
I use windows system.

In Jupiter I have the following cgconfig:
------------------------------------------
   "api-list": true,
   "api-mcast": true,
   "api-mcast-port": "4028",
   "api-port": "4028",
   "expiry": "120",
   "failover-only": true,
   "log", "5",
   "no-pool-disable": true,
   "queue": "1",
   "scan-time": "60",
   "shares": "0",
   "kernel-path": "/ usr / bin"
   "api-allow": "W: 127.0.0.1, W: 192.168.90.0/24"
-------------------------------------------

Has anyone ever done or knows of the error?

Or someone knows monitoring tool that works with the KNC-Jupiters?

greeting
Tinu

The more recent KNC firmwares have some parameters to set in the UI to control access to the box (after several customers were hacked and their machines hijacked). I don't know if they are just leveraging the built in API functionality in cgminer (e.g. api-allow) or if they have another solution.

At any rate, this is my working config:

{
  "pools": [
    {
      "url": "stratum+tcp://xxxxx",
      "user": "xxxx",
      "pass": "asdf"
    },
    {
      "url": "stratum+tcp:/xxxxx",
      "user": "xxxx",
      "pass": "asdf"
    },
    {
      "url": "stratum+tcp://xxxxx",
      "user": "xxxx",
      "pass": "asdf"
    },
    {
      "url": "",
      "user": "",
      "pass": ""
    }
  ],
  "api-allow": "W:127.0.0.1,W:10.0.1/24",
 "api-listen": true
}

EDIT: looks like you're missing 'api-listen'




Title: Re: How to monitor several KNC-Jupiter ???
Post by: Tinua on June 26, 2014, 10:24:12 PM
The more recent KNC firmwares have some parameters to set in the UI to control access to the box (after several customers were hacked and their machines hijacked). I don't know if they are just leveraging the built in API functionality in cgminer (e.g. api-allow) or if they have another solution.


 
 "api-listen": true


EDIT: looks like you're missing 'api-listen'

Hi Jimrome

I have api-listen. Was a copy failure.



Title: Re: How to monitor several KNC-Jupiter ???
Post by: Tinua on June 26, 2014, 10:28:12 PM
Have you looked into Munin at all?  http://munin-monitoring.org/ (http://munin-monitoring.org/)

Will take a look tomorrow

Thanks


Title: Re: How to monitor several KNC-Jupiter ???
Post by: jimrome on June 26, 2014, 10:29:30 PM
The more recent KNC firmwares have some parameters to set in the UI to control access to the box (after several customers were hacked and their machines hijacked). I don't know if they are just leveraging the built in API functionality in cgminer (e.g. api-allow) or if they have another solution.


 
 "api-listen": true


EDIT: looks like you're missing 'api-listen'

Hi Jimrome

I have api-listen. Was a copy failure.



Why are you using multicast? edit: and you have 4028 as both your api and multicast port?


Title: Re: How to monitor several KNC-Jupiter ???
Post by: Tinua on July 02, 2014, 09:20:08 AM
Problem solved
I had to enter under Networking / Management "0.0.0.0 / 0".

Thank you jimrome