-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Docker container does not trigger script #27
Comments
I see that the docker image hasn't been updated to the version that supports this. It's still on 0.8, while we have released 1.0 now. I'll do that this evening. Sorry about that. The binaries found in Github's releases are up to date, though. |
Ok, noted, thanks. Can you take a look at http://lovebeat.readthedocs.io/, I think this doc is outdated too. |
We had to base them on debian now that they are not completely statically compiled. This something we have to investigate in order to be able to run completely on busybox as before. Built using: docker build -t boivie/lovebeat:latest -t boivie/lovebeat:1.0.1 . Available at: https://hub.docker.com/r/boivie/lovebeat/tags/ closes #26, #27
I've updated the docker images now. Could you please tell me what's outdated in the docs and I'll update it |
The alerter configuration example does not work: http://lovebeat.readthedocs.io/en/latest/alerters.html For script alerter it states:
Which triggers an error. The documentation in master is up to date but readthedocs.io isn't. https://github.com/boivie/lovebeat/blob/master/docs/alerters.rst |
I use the script from the documentation (located in /var/www/lovebeat.sh):
And this config file (located in /var/www/lovebeat.sh):
Along with this docker command:
docker run --rm -it -p 8127:8127/udp -p 8127:8127/tcp -p 8082:8080 -v /etc/lovebeat.cfg:/etc/lovebeat.cfg -v /var/log/lovebeat:/var/log/lovebeat/ -v /var/www/lovebeat.sh:/var/www/lovebeat.sh boivie/lovebeat
And then when I send some events with an error timeout of 1 second, the script is not called:
Logs from event-sender terminal (on the same machine):
According to the documentation I should see something like this in the output logs:
But it's not the case.
I also checked script permissions and it's 0777 for now :
The text was updated successfully, but these errors were encountered: