https://github.com/sergiotocalini/lostix
Zabbix Agent - Logstash
https://github.com/sergiotocalini/lostix
logstash monitoring script shell zabbix zabbix-templates
Last synced: about 1 year ago
JSON representation
Zabbix Agent - Logstash
- Host: GitHub
- URL: https://github.com/sergiotocalini/lostix
- Owner: sergiotocalini
- License: gpl-3.0
- Created: 2018-03-12T10:17:27.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2020-09-17T09:29:00.000Z (almost 6 years ago)
- Last Synced: 2025-02-17T23:11:52.195Z (over 1 year ago)
- Topics: logstash, monitoring, script, shell, zabbix, zabbix-templates
- Language: Shell
- Size: 24.4 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# lostix
Logstash monitoring
This script is part of a monitoring solution that allows to monitor several
services and applications.
For more information about this monitoring solution please check out this post
on my [site](https://sergiotocalini.github.io/project/monitoring).
# Dependencies
## Packages
* ksh
* curl
* jq
### Debian/Ubuntu
``` bash
~# sudo apt install ksh curl jq
~#
```
### Red Hat
```bash
~# sudo yum install ksh curl jq
~#
```
# Deploy
Default variables:
NAME|VALUE
----|-----
LOGSTASH_URL|http://localhost:9600
*__Note:__ these variables has to be saved in the config file (lostix.conf) in
the same directory than the script.*
## Zabbix
``` bash
~# git clone https://github.com/sergiotocalini/lostix.git
~# sudo ./lostix/deploy_zabbix.sh -u "http://localhost:9600"
~# 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/lostix*