https://github.com/sergiotocalini/gunbix
Zabbix Agent - Gunicorn
https://github.com/sergiotocalini/gunbix
gunicorn python zabbix zabbix-agent zabbix-templates
Last synced: about 1 month ago
JSON representation
Zabbix Agent - Gunicorn
- Host: GitHub
- URL: https://github.com/sergiotocalini/gunbix
- Owner: sergiotocalini
- License: gpl-3.0
- Created: 2018-10-31T18:28:53.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-01-10T14:11:12.000Z (over 7 years ago)
- Last Synced: 2025-05-16T13:09:15.855Z (about 1 year ago)
- Topics: gunicorn, python, zabbix, zabbix-agent, zabbix-templates
- Language: Shell
- Size: 23.4 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# gunbix
Zabbix Agent - Gunicorn
# Dependencies
## Projects
* [Stuffs](https://github.com/sergiotocalini/stuffs/tree/master/gunicorn)
## Packages
* ksh
* sudo
* jq
* curl
__**Debian/Ubuntu**__
```
#~ sudo apt install ksh sudo jq curl
#~
```
__**Red Hat**__
```
#~ sudo yum install ksh sudo jq curl
#~
```
# Deploy
Please the script requires to have already installed the gunicorn init.d script. Follow the README for the other [project](https://github.com/sergiotocalini/stuffs/tree/master/gunicorn).
## Zabbix
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/gunicorn.git
#~ sudo ./gunicorn/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/gunicorn/*