https://github.com/sergiotocalini/zedisx
Zabbix Agent - Redis
https://github.com/sergiotocalini/zedisx
ksh monitoring redis shell shell-scripts zabbix
Last synced: 10 months ago
JSON representation
Zabbix Agent - Redis
- Host: GitHub
- URL: https://github.com/sergiotocalini/zedisx
- Owner: sergiotocalini
- License: gpl-3.0
- Created: 2018-05-24T11:00:23.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2019-10-07T09:42:52.000Z (over 6 years ago)
- Last Synced: 2025-02-17T23:11:32.064Z (over 1 year ago)
- Topics: ksh, monitoring, redis, shell, shell-scripts, zabbix
- Language: Shell
- Size: 22.5 KB
- Stars: 3
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# zedisx
Zabbix Agent - Redis
# Dependencies
## Packages
* ksh
* redis-tools
### Debian/Ubuntu
```bash
~# sudo apt install ksh redis-tools
```
### Red Hat
```bash
~# sudo yum install ksh redis-tools
```
# Deploy
The deploy script is not intended to advise which approach you should implemented nor
deploy the sudoers configuration but the user that will run the script needs be running
with sudo privileges.
There are two options to setting up sudoers for the user:
1. Provided sudo all
```bash
~# cat /etc/sudoers.d/user_zabbix
Defaults:zabbix !syslog
Defaults:zabbix !requiretty
zabbix ALL=(ALL) NOPASSWD:ALL
~#
```
2. Limited acccess to run command with sudo
```bash
~# cat /etc/sudoers.d/user_zabbix
Defaults:zabbix !syslog
Defaults:zabbix !requiretty
zabbix ALL=(ALL) NOPASSWD: /usr/bin/lsof *
zabbix ALL=(ALL) NOPASSWD: /bin/ps *
~#
```
## Zabbix
Please ensure that the zabbix user has the right permissions before continue with
the installation.
```bash
~# git clone https://github.com/sergiotocalini/zedisx.git
~# sudo ./zedisx/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/zedisx*