No information in perf-top dashboards(just static template)

Hi,
I have a Elastic cluster of 3 nodes, and i installed perf-top on one node, and tried to run this,
*

./perf-top-linux --dashboard NodeAnalysis --nodename node-1 --endpoint localhost:9600

But i get only static template of that dashboard, no information about node.

Regards,
Mohan

I am getting this in log file,

{ Error: connect ECONNREFUSED 127.0.0.1:9600
    at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1158:14)
  errno: 'ECONNREFUSED',
  code: 'ECONNREFUSED',
  syscall: 'connect',
  address: '127.0.0.1',
  port: 9600 }
Failed to retrieve units for metrics. HTTP(S) response was empty.
HTTP(S) Response for metricUnits was not in JSON format:
        
{ Error: connect ECONNREFUSED 127.0.0.1:9600
    at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1158:14)
  errno: 'ECONNREFUSED',
  code: 'ECONNREFUSED',
  syscall: 'connect',
  address: '127.0.0.1',
  port: 9600 }

If i give endpoint as my elasticserver, i get this

Failed to retrieve units for metrics. HTTP(S) response was:
          {"error":"no handler found for uri [/_opendistro/_performanceanalyzer/metrics/units] and method [GET]"}
Data returned for nodeName=error was in an unexpected format:
        {"root_cause":[{"type":"illegal_argument_exception","reason":"request [/_opendistro/_performanceanalyzer/metrics] contains unrecognized parameters: [agg], [dim], [metrics], [nodes]"}],"type":"illegal_argument_exception","reason":"request [/_opendistro/_performanceanalyzer/metrics] contains unrecognized parameters: [agg], [dim], [metrics], [nodes]"}

can you figure out whats going on?