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