Zabbix Agent - PostgreSQL
- ksh
- sudo
#~ sudo apt install ksh sudo
#~
#~ sudo yum install ksh sudo
#~
Zabbix user has to have sudo privileges.
#~ 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/zapgix.git
#~ sudo ./zapgix/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/zapgix/