Zabbix Agent - Redis
- ksh
- redis-tools
~# sudo apt install ksh redis-tools
~# sudo yum install ksh redis-tools
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:
- Provided sudo all
~# cat /etc/sudoers.d/user_zabbix
Defaults:zabbix !syslog
Defaults:zabbix !requiretty
zabbix ALL=(ALL) NOPASSWD:ALL
~#
- Limited acccess to run command with sudo
~# 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 *
~#
Please ensure that the zabbix user has the right permissions before continue with the installation.
~# 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