Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sergiotocalini/elasix
Zabbix Agent - Elasticsearch
https://github.com/sergiotocalini/elasix
elasticsearch json monitoring shell zabbix zabbix-templates
Last synced: 1 day ago
JSON representation
Zabbix Agent - Elasticsearch
- Host: GitHub
- URL: https://github.com/sergiotocalini/elasix
- Owner: sergiotocalini
- License: gpl-3.0
- Created: 2018-02-27T13:47:39.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-02-17T17:58:09.000Z (over 5 years ago)
- Last Synced: 2024-03-18T14:14:22.349Z (8 months ago)
- Topics: elasticsearch, json, monitoring, shell, zabbix, zabbix-templates
- Language: Shell
- Size: 35.2 KB
- Stars: 11
- Watchers: 3
- Forks: 9
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# elasix
Zabbix Agent - Elasticsearch# Dependencies
## Packages
* ksh
* jq
* curl__**Debian/Ubuntu**__
```
#~ sudo apt install ksh jq curl
#~
```
__**Red Hat**__
```
#~ sudo yum install ksh jq curl
#~
```
# Deploy
Default variables:NAME|VALUE
----|-----
ELASTIC_URL|http://localhost:9022
ELASTIC_USER|monitor
ELASTIC_PASS|xxxxxxx
CACHE_DIR|
CACHE_TTL|*Note: this variables has to be saved in the config file (elasix.conf) in the same directory than the script.*
## Zabbix
Then you can run the deploy_zabbix script
```
#~ git clone https://github.com/sergiotocalini/elasix.git
#~ sudo ./elasix/deploy_zabbix.sh "" \
"" "" "" ""
#~ sudo systemctl restart zabbix-agent
```
*Note: the installation has to be executed on the zabbix agent host and you have to import the template on the zabbix web. The default installation directory is /etc/zabbix/scripts/agentd/elasix*