Separate monitoring cluster not getting response data from production cluster (error adding the marvel template to [[0:0:0:0:0:0:0:0]:9243] response code [401 Unauthorized)

Hi all,

We have got a separate cluster for monitoring marvel & watcher from the production cluster and below is the reference link, I followed to setup the cluster,

https://www.elastic.co/guide/en/marvel/current/installing-marvel.html#monitoring-cluster

Also we have installed shield in monitoring cluster in order to protect the data & below is the link I followed the same to setup the shield,
https://www.elastic.co/guide/en/shield/current/marvel.html

I have configured the nodes in production cluster to send marvel data to monitoring cluster and below is the changes I given in all the yml files,

Enable the Marvel agent
marvel.agent.enabled: true
marvel.agent.exporters:
id1:
type: http
host: ["http://dayrhegrdp028:9200", "http://dayrhegrdp028:9240"]
auth:
username: agent-user
password: password

Changes were done in all the yml files and did rolling restart of the production cluster and the monitoring cluster not able to get the marvel data from the production cluster and checking the logs I have found the following error response

[2016-04-25 05:44:50,118][ERROR][marvel.agent.exporter ] [tparhebfmi003_PERF_DATA2] could not connect to any configured elasticsearch instances: [[0:0:0:0:0:0:0:0]:9243]
[2016-04-25 05:45:01,514][ERROR][marvel.agent.exporter ] [tparhebfmi003_PERF_DATA2] error adding the marvel template to [[0:0:0:0:0:0:0:0]:9243] response code [401 Unauthorized]. content: [{"error":"AuthenticationException[missing authentication token for REST request [/_template/marvel]]","status":401}]
[2016-04-25 05:45:01,515][ERROR][marvel.agent.exporter ] [tparhebfmi003_PERF_DATA2] failed to verify/upload the marvel template to [[0:0:0:0:0:0:0:0]:9243]:
Server returned HTTP response code: 401 for URL: http://[0:0:0:0:0:0:0:0]:9243/_template/marvel
[2016-04-25 05:45:01,515][ERROR][marvel.agent.exporter ] [tparhebfmi003_PERF_DATA2] could not connect to any configured elasticsearch instances: [[0:0:0:0:0:0:0:0]:9243]

Please guide us to resolve this issue and it would be very helpful..

Thanks,
Ganeshbabu R