From e60dd9a2028eab028de46f19785f9c94cc3d8692 Mon Sep 17 00:00:00 2001 From: Bachir Soussi Chiadmi Date: Mon, 16 Apr 2018 16:36:43 +0200 Subject: [PATCH] added proxmox-ct.conf zabbix agent conf --- bin/zabbix.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/bin/zabbix.sh b/bin/zabbix.sh index b393253..c9487ab 100755 --- a/bin/zabbix.sh +++ b/bin/zabbix.sh @@ -83,6 +83,12 @@ cp "$_assets"/zabbix/userparameter_nginx.conf "$_agent_conf_d"/ mkdir /etc/zabbix/zabbix_agentd.scripts cp "$_assets"/zabbix/nginx-stat.py /etc/zabbix/zabbix_agentd.scripts/ +echo -n "This is box is a proxmox CT? [Y|n] " +read yn +yn=${yn:-y} +if [ "$yn" = "y" ]; then + cp "$_assets"/zabbix/proxmox-ct.conf "$_agent_conf_d"/ +fi # TODO add modules path to agent ??