radu-gheorghe / check-es

Nagios/Shinken plugins for Elasticsearch
28 stars 15 forks source link

Python environment ... #8

Open mohierf opened 9 years ago

mohierf commented 9 years ago

I just tested your plugins on my Shinken 2.4 on FreeBSD and I needed to replace first line in scripts by #!/usr/bin/env python to allow direct launching by Shinken !

In command line, ./check_es_docs.py does not run with the original declaration.

Please note that in repo readme :

define command{
  command_name    check_es_docs
  command_line       $PLUGINSDIR$/check_es_docs.py -w 5000000 -c 10000000 -a elasticserver:9200
}
radu-gheorghe commented 9 years ago

Hello and thanks for your feedback!

Would you be able to send a pull request with the suggested changes? I would really appreciate that, because I didn't use the this for a while now :(

mohierf commented 9 years ago

I will try to find some time to do it ...

2015-04-14 9:32 GMT+02:00 Radu Gheorghe notifications@github.com:

Hello and thanks for your feedback!

Would you be able to send a pull request with the suggested changes? I would really appreciate that, because I didn't use the this for a while now :(

— Reply to this email directly or view it on GitHub https://github.com/radu-gheorghe/check-es/issues/8#issuecomment-92676581 .

radu-gheorghe commented 9 years ago

Thanks a lot, @mohierf !