An open API service indexing awesome lists of open source software.

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

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*