Giter Site home page Giter Site logo

Comments (5)

vvuksan avatar vvuksan commented on June 22, 2024

I suspect output format has changed for the Elastic Search stats. You may need to take a look at

https://github.com/ganglia/gmond_python_modules/blob/master/elasticsearch/python_modules/elasticsearch.py#L189

and dump the stats URLs to see what the difference is.

from gmond_python_modules.

appasahebs avatar appasahebs commented on June 22, 2024

Stats URLs are working when I am trying those on browsers. But no luck in python script. I am using elasticsearch 1.3.0

from gmond_python_modules.

RoopendraV avatar RoopendraV commented on June 22, 2024

I am too facing similar problem. Can you please let us know what changes are requires to make it work in elasticsearch 1.3.0 ? Thanks

from gmond_python_modules.

alpha01 avatar alpha01 commented on June 22, 2024

Using node specific call, rather then the old cluster state status. http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/cluster.html

diff updated_elasticsearch.py elasticsearch.py 
198c198
<         url_cluster = '{0}_nodes/_local/stats?all=true'.format(host)
---
>         url_cluster = '{0}_cluster/state/nodes'.format(host)

from gmond_python_modules.

appasahebs avatar appasahebs commented on June 22, 2024

Thanks for the help. Its working fine after changing above api path url.

from gmond_python_modules.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.