Comments (3)
Hi,
I have the same error with Elasticsearch 5.0
Cheers,
Thomas
from nagios-plugin-elasticsearch.
Had the same problem after upgrading ES from 1.x to 5.x.
An strace showed that prefix is "/" everytime (I do not use a prefix) and this leads to 404 for //_cluster/health
in versions newer than 1.x:
strace sample:
sendto(3, "GET //_cluster/health HTTP/1.1\r\n"..., 134, 0, NULL, 0) = 134 recvfrom(3, "HTTP/1.1 404 Not Found\r\nes.index"..., 8192, 0, NULL, NULL) = 508
This fixed it for me (left original version, right my version):
96,97c96,97
< if not prefix.endswith('/'):
< prefix += '/'
---
> #if not prefix.endswith('/'):
> # prefix += '/'
Second problem arised with stats?all=true
whereas the parametr all
is not valid anymore.
This fixed it for me (left original version, right my version):`
143c143
< 'stats?all=true' % (host, port, prefix))
---
> 'stats' % (host, port, prefix))
Hope this can help you too.
from nagios-plugin-elasticsearch.
I'm astonished that the API failure would also happen on 2.3.1, we've been using it on 2.4.2 without a hitch.
from nagios-plugin-elasticsearch.
Related Issues (20)
- Please add a license HOT 1
- Integrate functionality from JVM check into this one
- some further documentation? HOT 1
- Cannot install... HOT 2
- Timeout HOT 1
- Add tests
- Can requirements in requirements.txt be relaxed?
- Support for pip 6 HOT 3
- please tag 1.0.3 as a release HOT 1
- initializing shard state
- Unhandled Python exception: ValueError("I don't know how to coerce u'0' to a bool",) HOT 4
- One or more indexes are missing replica shards. Use -vv to list them. HOT 7
- High RAM usage when executed for different hosts
- Hand this repository over to a new maintainer HOT 11
- Does it cover the Split-Brain problem? HOT 1
- Support for authentication?
- Duplicate metrics
- Ignore close index HOT 2
- Add thresholds from ElasticHQ HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nagios-plugin-elasticsearch.