Marvel agent error

monitoring

(piyush) #1

Hi Team,
From Kibana when i am trying to connect marvel i am getting an error:
"Shield: Sorry, you are not authorized to access Marvel"

But i disabled shield on all ES nodes and also getting below error on ES master node:

Can you help me understand this uncaught exception? how can i get more details about it?

[2017-01-06 12:52:29,710][ERROR][marvel.agent ] [es-master-node] background thread had an uncaught exception
ElasticsearchException[failed to flush exporter bulks]
at org.elasticsearch.marvel.agent.exporter.ExportBulk$Compound.flush(ExportBulk.java:104)
at org.elasticsearch.marvel.agent.exporter.ExportBulk.close(ExportBulk.java:53)
at org.elasticsearch.marvel.agent.AgentService$ExportingWorker.run(AgentService.java:201)
at java.lang.Thread.run(Thread.java:745)
Suppressed: ElasticsearchException[failed to flush [default_local] exporter bulk]; nested: ElasticsearchException[failure in bulk execution, only the first 100 failures are printed:];
at org.elasticsearch.marvel.agent.exporter.ExportBulk$Compound.flush(ExportBulk.java:106)
... 3 more
Caused by: ElasticsearchException[failure in bulk execution, only the first 100 failures are printed:]
at org.elasticsearch.marvel.agent.exporter.local.LocalBulk.flush(LocalBulk.java:118)
at org.elasticsearch.marvel.agent.exporter.ExportBulk$Compound.flush(ExportBulk.java:101)

Thanks & Regards,


(Mark Walkom) #2

What version are you on?
How did you disable Shield?


(Chris Earle) #3

Hi @piyush,

Can you show your Elasticsearch configuration and provide:

curl -XGET localhost:9200/_cat/plugins?v

Thanks,
Chris


(piyush) #4

Marvel 2.2.0 and ES 2.3.1

Disabled shield by making it's property false in elastic search.yml

Shield.enabled = false


(piyush) #5

PFB:
name component version type url
ccsd-es-0033 license 2.3.1 j
ccsd-es-0033 marvel-agent 2.3.1 j
ccsd-es-0033 shield 2.3.1 j
ccsd-es-0033 watcher 2.3.1 j
ccsd-es-0041 license 2.3.1 j
ccsd-es-0041 marvel-agent 2.3.1 j
ccsd-es-0041 shield 2.3.1 j
ccsd-es-0041 watcher 2.3.1 j
ccsd-es-0044 license 2.3.1 j
ccsd-es-0044 marvel-agent 2.3.1 j
ccsd-es-0044 shield 2.3.1 j
ccsd-es-0044 watcher 2.3.1 j
ccsd-es-0034 license 2.3.1 j
ccsd-es-0034 marvel-agent 2.3.1 j
ccsd-es-0034 shield 2.3.1 j
ccsd-es-0034 watcher 2.3.1 j
es-client-node lang-python 2.3.1 j
es-client-node license 2.3.1 j
es-client-node marvel-agent 2.3.1 j
es-client-node shield 2.3.1 j
es-client-node watcher 2.3.1 j
ccsd-es-0043 license 2.3.1 j
ccsd-es-0043 marvel-agent 2.3.1 j
ccsd-es-0043 shield 2.3.1 j
ccsd-es-0043 watcher 2.3.1 j
es-master-node lang-python 2.3.1 j
es-master-node license 2.3.1 j
es-master-node marvel-agent 2.3.1 j
es-master-node shield 2.3.1 j
es-master-node watcher 2.3.1 j
ccsd-es-0039 license 2.3.1 j
ccsd-es-0039 marvel-agent 2.3.1 j
ccsd-es-0039 shield 2.3.1 j
ccsd-es-0039 watcher 2.3.1 j
ccsd-es-0031 license 2.3.1 j
ccsd-es-0031 marvel-agent 2.3.1 j
ccsd-es-0031 shield 2.3.1 j
ccsd-es-0031 watcher 2.3.1 j
ccsd-es-0042 license 2.3.1 j
ccsd-es-0042 marvel-agent 2.3.1 j
ccsd-es-0042 shield 2.3.1 j
ccsd-es-0042 watcher 2.3.1 j
ccsd-es-0040 license 2.3.1 j
ccsd-es-0040 marvel-agent 2.3.1 j
ccsd-es-0040 shield 2.3.1 j
ccsd-es-0040 watcher 2.3.1 j
ccsd-es-0036 license 2.3.1 j
ccsd-es-0036 marvel-agent 2.3.1 j
ccsd-es-0036 shield 2.3.1 j
ccsd-es-0036 watcher 2.3.1 j


(piyush) #6

It's resolved...

i deleted .marvel index.


(system) #7

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.