https://github.com/sergiotocalini/zaring
Zabbix Agent - Java Springboot
https://github.com/sergiotocalini/zaring
java-spring-boot monitoring scripts shell spring-boot zabbix zabbix-agent zabbix-templates
Last synced: 10 months ago
JSON representation
Zabbix Agent - Java Springboot
- Host: GitHub
- URL: https://github.com/sergiotocalini/zaring
- Owner: sergiotocalini
- License: gpl-3.0
- Created: 2018-05-03T13:33:56.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2019-07-26T07:54:43.000Z (over 6 years ago)
- Last Synced: 2025-02-17T23:11:42.875Z (about 1 year ago)
- Topics: java-spring-boot, monitoring, scripts, shell, spring-boot, zabbix, zabbix-agent, zabbix-templates
- Language: Shell
- Homepage:
- Size: 29.3 KB
- Stars: 0
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# zaring
Zabbix Agent - Java Springboot
# Dependencies
## Projects
* [Stuffs](https://github.com/sergiotocalini/stuffs/tree/master/springboot)
## 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 springboot init.d script. Follow the README for the other [project](https://github.com/sergiotocalini/stuffs/tree/master/springboot).
## 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/zaring.git
#~ sudo ./zaring/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/zaring/*