mirror of
https://github.com/zabbix/zabbix-docker.git
synced 2024-12-23 06:49:34 +01:00
Added SMSDevices for server images
This commit is contained in:
parent
9ef9ef633c
commit
8d654cc4c9
@ -177,6 +177,7 @@ ZBX_VMWARECACHESIZE=8M
|
||||
ZBX_VMWARETIMEOUT=10
|
||||
ZBX_ENABLE_SNMP_TRAPS=false
|
||||
ZBX_SOURCEIP=
|
||||
ZBX_SMSDEVICES=
|
||||
ZBX_HOUSEKEEPINGFREQUENCY=1
|
||||
ZBX_MAXHOUSEKEEPERDELETE=5000
|
||||
ZBX_PROBLEMHOUSEKEEPINGFREQUENCY=60 # Available since 6.0.0
|
||||
|
@ -527,6 +527,8 @@ update_zbx_config() {
|
||||
update_config_var $ZBX_CONFIG "ServiceManagerSyncFrequency" "${ZBX_SERVICEMANAGERSYNCFREQUENCY}"
|
||||
update_config_var $ZBX_CONFIG "AllowSoftwareUpdateCheck" "${ZBX_ALLOWSOFTWAREUPDATECHECK}"
|
||||
|
||||
update_config_var $ZBX_CONFIG "SMSDevices" "${ZBX_SMSDEVICES}"
|
||||
|
||||
if [ "${ZBX_AUTOHANODENAME}" == 'fqdn' ] && [ ! -n "${ZBX_HANODENAME}" ]; then
|
||||
update_config_var $ZBX_CONFIG "HANodeName" "$(hostname -f)"
|
||||
elif [ "${ZBX_AUTOHANODENAME}" == 'hostname' ] && [ ! -n "${ZBX_HANODENAME}" ]; then
|
||||
|
@ -524,6 +524,8 @@ update_zbx_config() {
|
||||
update_config_var $ZBX_CONFIG "ServiceManagerSyncFrequency" "${ZBX_SERVICEMANAGERSYNCFREQUENCY}"
|
||||
update_config_var $ZBX_CONFIG "AllowSoftwareUpdateCheck" "${ZBX_ALLOWSOFTWAREUPDATECHECK}"
|
||||
|
||||
update_config_var $ZBX_CONFIG "SMSDevices" "${ZBX_SMSDEVICES}"
|
||||
|
||||
if [ "${ZBX_AUTOHANODENAME}" == 'fqdn' ] && [ ! -n "${ZBX_HANODENAME}" ]; then
|
||||
update_config_var $ZBX_CONFIG "HANodeName" "$(hostname -f)"
|
||||
elif [ "${ZBX_AUTOHANODENAME}" == 'hostname' ] && [ ! -n "${ZBX_HANODENAME}" ]; then
|
||||
|
@ -524,6 +524,8 @@ update_zbx_config() {
|
||||
update_config_var $ZBX_CONFIG "ServiceManagerSyncFrequency" "${ZBX_SERVICEMANAGERSYNCFREQUENCY}"
|
||||
update_config_var $ZBX_CONFIG "AllowSoftwareUpdateCheck" "${ZBX_ALLOWSOFTWAREUPDATECHECK}"
|
||||
|
||||
update_config_var $ZBX_CONFIG "SMSDevices" "${ZBX_SMSDEVICES}"
|
||||
|
||||
if [ "${ZBX_AUTOHANODENAME}" == 'fqdn' ] && [ ! -n "${ZBX_HANODENAME}" ]; then
|
||||
update_config_var $ZBX_CONFIG "HANodeName" "$(hostname -f)"
|
||||
elif [ "${ZBX_AUTOHANODENAME}" == 'hostname' ] && [ ! -n "${ZBX_HANODENAME}" ]; then
|
||||
|
@ -121,6 +121,7 @@ podman run --name some-zabbix-server-mysql <span class="hljs-_">-e</span> DB_SER
|
||||
<span class="hljs-attr">ZBX_VMWARETIMEOUT</span>=<span class="hljs-number">10</span>
|
||||
<span class="hljs-attr">ZBX_ENABLE_SNMP_TRAPS</span>=<span class="hljs-literal">false</span>
|
||||
<span class="hljs-attr">ZBX_SOURCEIP</span>=
|
||||
<span class="hljs-attr">ZBX_SMSDEVICES</span>=
|
||||
<span class="hljs-attr">ZBX_HOUSEKEEPINGFREQUENCY</span>=<span class="hljs-number">1</span>
|
||||
<span class="hljs-attr">ZBX_MAXHOUSEKEEPERDELETE</span>=<span class="hljs-number">5000</span>
|
||||
<span class="hljs-attr">ZBX_PROBLEMHOUSEKEEPINGFREQUENCY</span>=<span class="hljs-number">60</span> # Available since <span class="hljs-number">6.0</span>.<span class="hljs-number">0</span>
|
||||
|
@ -524,6 +524,8 @@ update_zbx_config() {
|
||||
update_config_var $ZBX_CONFIG "ServiceManagerSyncFrequency" "${ZBX_SERVICEMANAGERSYNCFREQUENCY}"
|
||||
update_config_var $ZBX_CONFIG "AllowSoftwareUpdateCheck" "${ZBX_ALLOWSOFTWAREUPDATECHECK}"
|
||||
|
||||
update_config_var $ZBX_CONFIG "SMSDevices" "${ZBX_SMSDEVICES}"
|
||||
|
||||
if [ "${ZBX_AUTOHANODENAME}" == 'fqdn' ] && [ ! -n "${ZBX_HANODENAME}" ]; then
|
||||
update_config_var $ZBX_CONFIG "HANodeName" "$(hostname -f)"
|
||||
elif [ "${ZBX_AUTOHANODENAME}" == 'hostname' ] && [ ! -n "${ZBX_HANODENAME}" ]; then
|
||||
|
@ -524,6 +524,8 @@ update_zbx_config() {
|
||||
update_config_var $ZBX_CONFIG "ServiceManagerSyncFrequency" "${ZBX_SERVICEMANAGERSYNCFREQUENCY}"
|
||||
update_config_var $ZBX_CONFIG "AllowSoftwareUpdateCheck" "${ZBX_ALLOWSOFTWAREUPDATECHECK}"
|
||||
|
||||
update_config_var $ZBX_CONFIG "SMSDevices" "${ZBX_SMSDEVICES}"
|
||||
|
||||
if [ "${ZBX_AUTOHANODENAME}" == 'fqdn' ] && [ ! -n "${ZBX_HANODENAME}" ]; then
|
||||
update_config_var $ZBX_CONFIG "HANodeName" "$(hostname -f)"
|
||||
elif [ "${ZBX_AUTOHANODENAME}" == 'hostname' ] && [ ! -n "${ZBX_HANODENAME}" ]; then
|
||||
|
@ -178,6 +178,7 @@ ZBX_VMWARECACHESIZE=8M
|
||||
ZBX_VMWARETIMEOUT=10
|
||||
ZBX_ENABLE_SNMP_TRAPS=false
|
||||
ZBX_SOURCEIP=
|
||||
ZBX_SMSDEVICES=
|
||||
ZBX_HOUSEKEEPINGFREQUENCY=1
|
||||
ZBX_MAXHOUSEKEEPERDELETE=5000
|
||||
ZBX_PROBLEMHOUSEKEEPINGFREQUENCY=60 # Available since 6.0.0
|
||||
@ -218,7 +219,6 @@ ZBX_TLSCIPHERPSK= # Available since 4.4.7
|
||||
ZBX_TLSCIPHERPSK13= # Available since 4.4.7
|
||||
ZBX_WEBDRIVERURL= # Available since 7.0.0
|
||||
ZBX_STARTBROWSERPOLLERS=1 # Available since 7.0.0
|
||||
|
||||
```
|
||||
|
||||
Default values of these variables are specified after equal sign.
|
||||
|
@ -544,6 +544,8 @@ update_zbx_config() {
|
||||
update_config_var $ZBX_CONFIG "ServiceManagerSyncFrequency" "${ZBX_SERVICEMANAGERSYNCFREQUENCY}"
|
||||
update_config_var $ZBX_CONFIG "AllowSoftwareUpdateCheck" "${ZBX_ALLOWSOFTWAREUPDATECHECK}"
|
||||
|
||||
update_config_var $ZBX_CONFIG "SMSDevices" "${ZBX_SMSDEVICES}"
|
||||
|
||||
if [ "${ZBX_AUTOHANODENAME}" == 'fqdn' ] && [ ! -n "${ZBX_HANODENAME}" ]; then
|
||||
update_config_var $ZBX_CONFIG "HANodeName" "$(hostname -f)"
|
||||
elif [ "${ZBX_AUTOHANODENAME}" == 'hostname' ] && [ ! -n "${ZBX_HANODENAME}" ]; then
|
||||
|
@ -544,6 +544,8 @@ update_zbx_config() {
|
||||
update_config_var $ZBX_CONFIG "ServiceManagerSyncFrequency" "${ZBX_SERVICEMANAGERSYNCFREQUENCY}"
|
||||
update_config_var $ZBX_CONFIG "AllowSoftwareUpdateCheck" "${ZBX_ALLOWSOFTWAREUPDATECHECK}"
|
||||
|
||||
update_config_var $ZBX_CONFIG "SMSDevices" "${ZBX_SMSDEVICES}"
|
||||
|
||||
if [ "${ZBX_AUTOHANODENAME}" == 'fqdn' ] && [ ! -n "${ZBX_HANODENAME}" ]; then
|
||||
update_config_var $ZBX_CONFIG "HANodeName" "$(hostname -f)"
|
||||
elif [ "${ZBX_AUTOHANODENAME}" == 'hostname' ] && [ ! -n "${ZBX_HANODENAME}" ]; then
|
||||
|
@ -544,6 +544,8 @@ update_zbx_config() {
|
||||
update_config_var $ZBX_CONFIG "ServiceManagerSyncFrequency" "${ZBX_SERVICEMANAGERSYNCFREQUENCY}"
|
||||
update_config_var $ZBX_CONFIG "AllowSoftwareUpdateCheck" "${ZBX_ALLOWSOFTWAREUPDATECHECK}"
|
||||
|
||||
update_config_var $ZBX_CONFIG "SMSDevices" "${ZBX_SMSDEVICES}"
|
||||
|
||||
if [ "${ZBX_AUTOHANODENAME}" == 'fqdn' ] && [ ! -n "${ZBX_HANODENAME}" ]; then
|
||||
update_config_var $ZBX_CONFIG "HANodeName" "$(hostname -f)"
|
||||
elif [ "${ZBX_AUTOHANODENAME}" == 'hostname' ] && [ ! -n "${ZBX_HANODENAME}" ]; then
|
||||
|
@ -120,6 +120,7 @@ podman run --name some-zabbix-server-pgsql <span class="hljs-_">-e</span> DB_SER
|
||||
<span class="hljs-attr">ZBX_VMWARECACHESIZE</span>=<span class="hljs-number">8</span>M
|
||||
<span class="hljs-attr">ZBX_VMWARETIMEOUT</span>=<span class="hljs-number">10</span>
|
||||
<span class="hljs-attr">ZBX_ENABLE_SNMP_TRAPS</span>=<span class="hljs-literal">false</span>
|
||||
<span class="hljs-attr">ZBX_SMSDEVICES</span>=
|
||||
<span class="hljs-attr">ZBX_SOURCEIP</span>=
|
||||
<span class="hljs-attr">ZBX_HOUSEKEEPINGFREQUENCY</span>=<span class="hljs-number">1</span>
|
||||
<span class="hljs-attr">ZBX_MAXHOUSEKEEPERDELETE</span>=<span class="hljs-number">5000</span>
|
||||
|
@ -544,6 +544,8 @@ update_zbx_config() {
|
||||
update_config_var $ZBX_CONFIG "ServiceManagerSyncFrequency" "${ZBX_SERVICEMANAGERSYNCFREQUENCY}"
|
||||
update_config_var $ZBX_CONFIG "AllowSoftwareUpdateCheck" "${ZBX_ALLOWSOFTWAREUPDATECHECK}"
|
||||
|
||||
update_config_var $ZBX_CONFIG "SMSDevices" "${ZBX_SMSDEVICES}"
|
||||
|
||||
if [ "${ZBX_AUTOHANODENAME}" == 'fqdn' ] && [ ! -n "${ZBX_HANODENAME}" ]; then
|
||||
update_config_var $ZBX_CONFIG "HANodeName" "$(hostname -f)"
|
||||
elif [ "${ZBX_AUTOHANODENAME}" == 'hostname' ] && [ ! -n "${ZBX_HANODENAME}" ]; then
|
||||
|
@ -544,6 +544,8 @@ update_zbx_config() {
|
||||
update_config_var $ZBX_CONFIG "ServiceManagerSyncFrequency" "${ZBX_SERVICEMANAGERSYNCFREQUENCY}"
|
||||
update_config_var $ZBX_CONFIG "AllowSoftwareUpdateCheck" "${ZBX_ALLOWSOFTWAREUPDATECHECK}"
|
||||
|
||||
update_config_var $ZBX_CONFIG "SMSDevices" "${ZBX_SMSDEVICES}"
|
||||
|
||||
if [ "${ZBX_AUTOHANODENAME}" == 'fqdn' ] && [ ! -n "${ZBX_HANODENAME}" ]; then
|
||||
update_config_var $ZBX_CONFIG "HANodeName" "$(hostname -f)"
|
||||
elif [ "${ZBX_AUTOHANODENAME}" == 'hostname' ] && [ ! -n "${ZBX_HANODENAME}" ]; then
|
||||
|
@ -46,6 +46,7 @@ ZBX_STARTJAVAPOLLERS=5
|
||||
# ZBX_VMWARETIMEOUT=10
|
||||
ZBX_ENABLE_SNMP_TRAPS=true
|
||||
# ZBX_SOURCEIP=
|
||||
# ZBX_SMSDEVICES=
|
||||
# ZBX_HOUSEKEEPINGFREQUENCY=1
|
||||
# ZBX_MAXHOUSEKEEPERDELETE=5000
|
||||
# ZBX_PROBLEMHOUSEKEEPINGFREQUENCY=60
|
||||
|
Loading…
Reference in New Issue
Block a user