Error installing Watcher

alerting

(Akhilesh Anb) #1

I'm using Elasticsearch 2.3.5 ,Shield, marvel. I installed watcher and while verifying that Watcher is set up, using

curl -XGET 'http://localhost:9200/_watcher/stats?pretty'

I'm getting an error like:

{
"error": {
"root_cause": [
{
"type": "action_not_found_transport_exception",
"reason": "No handler for action [cluster:monitor/watcher/stats]"
}
],
"type": "action_not_found_transport_exception",
"reason": "No handler for action [cluster:monitor/watcher/stats]"
},
"status": 500
}

Please help me out.
Thanks in advance


(Mark Walkom) #2

How did you install it?
What does bin/plugin -l or _cat/plugins show?


(Akhilesh Anb) #4

with _cat/plugins

NODE_1 delete-by-query 2.3.5 j
NODE_1 license 2.3.5 j
NODE_1 marvel-agent 2.3.5 j
NODE_1 shield 2.3.5 j
NODE_1 watcher 2.3.5 j
NODE_2 delete-by-query 2.3.5 j
NODE_2 license 2.3.5 j
NODE_2 marvel-agent 2.3.5 j
NODE_2 shield 2.3.5 j
NODE_2 watcher 2.3.5 j
NODE_3 delete-by-query 2.3.5 j
NODE_3 license 2.3.5 j
NODE_3 marvel-agent 2.3.5 j
NODE_3 shield 2.3.5 j


(Mark Walkom) #5

Doesn't show Watcher as installed on them all, did you restart node 3?


(Akhilesh Anb) #6

Restarted node 3 again. Now it's fine

{
"watcher_state": "started",
"watch_count": 0,
"execution_thread_pool": {
"queue_size": 0,
"max_size": 0
},
"manually_stopped": false
}

Thank you very much @warkolm


(system) #7

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