mirror of
https://github.com/BastilleBSD/templates.git
synced 2025-12-10 17:00:30 +01:00
consolidated repository cleanup
This commit is contained in:
25
net-mgmt/zabbix-server/Bastillefile
Normal file
25
net-mgmt/zabbix-server/Bastillefile
Normal file
@@ -0,0 +1,25 @@
|
||||
INCLUDE bastillebsd-templates/nginx
|
||||
INCLUDE bastillebsd-templates/mysql-server
|
||||
PKG zabbix54-server zabbix54-frontend zabbix54-agent
|
||||
|
||||
SYSRC zabbix_server_enable=YES
|
||||
SYSRC zabbix_agentd_enable=YES
|
||||
SYSRC nginx_enable=YES
|
||||
|
||||
## Make the needed SCRIPTS directory
|
||||
#CMD mkdir /usr/local/etc/zabbix5/scripts
|
||||
|
||||
## Overlay to the system the scripts needed
|
||||
#OVERLAY zfs-discovery.sh /usr/local/zabbix5/scripts
|
||||
#OVERLAY zpool-discovery.sh /usr/local/zabbix5/scripts
|
||||
#OVERLAY nginx.conf /usr/local/etc/nginx/nginx.conf
|
||||
|
||||
# Set the correct owner for the scipts directory
|
||||
#CMD chown -R zabbix /usr/lcoal/etc/zabbix5/scripts
|
||||
#CMD chmod +x /usr/local/etc/zabbix5/scripts
|
||||
|
||||
CMD cp /usr/local/etc/zabbix54/zabbix_agentd.conf.sample /usr/local/etc/zabbix54/zabbix_agentd.conf
|
||||
CMD cp /usr/local/etc/zabbix54/zabbix_server.conf.sample /usr/local/etc/zabbix54/zabbix_server.conf
|
||||
|
||||
SERVICE zabbix_agentd start
|
||||
SERVICE zabbix_server start
|
||||
17
net-mgmt/zabbix-server/README.md
Normal file
17
net-mgmt/zabbix-server/README.md
Normal file
@@ -0,0 +1,17 @@
|
||||
## Status
|
||||
[](https://gitlab.com/bastillebsd-templates/zabbix-server/commits/master)
|
||||
|
||||
## zabbix-server
|
||||
Bastille template to bootstrap zabbix-server
|
||||
|
||||
## Bootstrap
|
||||
|
||||
```shell
|
||||
bastille bootstrap https://gitlab.com/bastillebsd-templates/zabbix-server
|
||||
```
|
||||
|
||||
## Usage
|
||||
|
||||
```shell
|
||||
bastille template TARGET bastillebsd-templates/zabbix-server
|
||||
```
|
||||
Reference in New Issue
Block a user