https://github.com/sergiotocalini/spluix
Zabbix Agent - Splunk
https://github.com/sergiotocalini/spluix
monitoring splunk zabbix zabbix-agent zabbix-templates
Last synced: 10 months ago
JSON representation
Zabbix Agent - Splunk
- Host: GitHub
- URL: https://github.com/sergiotocalini/spluix
- Owner: sergiotocalini
- License: gpl-3.0
- Created: 2018-11-29T13:28:36.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2021-01-12T09:41:54.000Z (over 5 years ago)
- Last Synced: 2025-05-16T13:09:11.133Z (about 1 year ago)
- Topics: monitoring, splunk, zabbix, zabbix-agent, zabbix-templates
- Language: Shell
- Size: 24.4 KB
- Stars: 1
- Watchers: 1
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# spluix
Zabbix Agent - Splunk
# 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
----|-----
SPLUNK_URL|http://localhost:8089
SPLUNK_USER|monitor
SPLUNK_PASS|xxxxxxx
CACHE_DIR|
CACHE_TTL|
*Note: this variables has to be saved in the config file (spluix.conf) in the same directory than the script.*
## Zabbix
Zabbix user has to have sudo privileges (you can limit the sudo access).
```
#~ cat /etc/sudoers.d/user_zabbix
# Allow the user zabbix to execute any command without password
zabbix ALL=(ALL:ALL) NOPASSWD:ALL
```
Then you can run the deploy_zabbix script
```
#~ git clone https://github.com/sergiotocalini/spluix.git
#~ sudo ./spluix/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/spluix*