You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I can not run file check_es_insert.py. It show this error:
File "/usr/local/nagios/libexec/elasticsearch/check_es_insert.py", line 13
class Calculator():
^
SyntaxError: invalid syntax
I'm not good in python, I'm trying to use this script to monitor elasticsearch cluster, please help
The text was updated successfully, but these errors were encountered:
Hmmm... I have Python 2.7.3 and Elasticsearch 1.0.1, and here's what I get:
./check_es_insert.py -w 5000000 -c 10000000
There was an issue getting the previous results from file. # this is normal for the first run
./check_es_insert.py -w 5000000 -c 10000000
Number of documents inserted per second (index: all) is 0.006469 | 'es_insert'=0.006469;5000000;10000000;;
Which version of Python are you running on? Can you try and clone the repository again, maybe some file got corrupted?
My python version is 2.4, I cloned the repository, but it still had error syntax.
I will try to update python version.
thank you very much for your reply
I can not run file check_es_insert.py. It show this error:
File "/usr/local/nagios/libexec/elasticsearch/check_es_insert.py", line 13
class Calculator():
^
SyntaxError: invalid syntax
I'm not good in python, I'm trying to use this script to monitor elasticsearch cluster, please help
The text was updated successfully, but these errors were encountered: