https://github.com/codigami/elastalert-kubernetes
https://github.com/codigami/elastalert-kubernetes
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/codigami/elastalert-kubernetes
- Owner: Codigami
- Created: 2016-12-13T13:18:11.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-06-15T06:19:58.000Z (almost 9 years ago)
- Last Synced: 2025-10-29T11:42:46.095Z (5 months ago)
- Size: 1.95 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# What does it do ?
Elastalert is used for alerting on unknown scenario in our production environment based on predefined rules of different types of alerts in the rules config file.
# How to create new alerts.
Add a new rules file in the rules directory. More information about different types of rules [here](http://elastalert.readthedocs.io/en/latest/elastalert.html#overview). Once elastalert detects changes in any file, it reloads the applications.
# How to create docker file
e.g. ```docker build -t elastalert:1.0 .```
# How to run elastalert in docker
When running elastalert for the very first time, ```elastalert-create-index``` script needs to be executed once to create the indexes required for elastalert to maintain inforamtion about rules/alerts.
```docker run -v /:/ -i elastalert:1.0 ```
e.g. ```docker run -v /home/elastalert-code:/app/elastalert -i elastalert:1.0 --config config/config.yaml --rule rules/example-test.yaml --verbose```