Difference between revisions of "Zabbix proxies"

From UVOO Tech Wiki
Jump to navigation Jump to search
(Created page with "https://www.zabbix.com/documentation/current/en/manual/appendix/config/zabbix_proxy")
 
 
Line 1: Line 1:
 
https://www.zabbix.com/documentation/current/en/manual/appendix/config/zabbix_proxy
 
https://www.zabbix.com/documentation/current/en/manual/appendix/config/zabbix_proxy
 +
 +
# Example of simple config (default is active proxy)
 +
 +
/etc/zabbix/zabbix_proxy.conf
 +
```
 +
Server=10.x.x.x
 +
Hostname=zabbixproxy1
 +
LogFile=/var/log/zabbix/zabbix_proxy.log
 +
LogFileSize=0
 +
PidFile=/run/zabbix/zabbix_proxy.pid
 +
SocketDir=/run/zabbix
 +
DBName=zabbix_proxy
 +
DBUser=zabbix
 +
DBPassword=MyPass
 +
SNMPTrapperFile=/var/log/snmptrap/snmptrap.log
 +
Timeout=4
 +
FpingLocation=/usr/bin/fping
 +
Fping6Location=/usr/bin/fping6
 +
LogSlowQueries=3000
 +
StatsAllowedIP=127.0.0.1
 +
 +
TLSConnect=psk
 +
TLSAccept=psk
 +
TLSPSKIdentity=zabbixproxy1
 +
TLSPSKFile=/etc/zabbix/zabbix_proxy.psk
 +
```

Latest revision as of 16:25, 27 April 2022

https://www.zabbix.com/documentation/current/en/manual/appendix/config/zabbix_proxy

Example of simple config (default is active proxy)

/etc/zabbix/zabbix_proxy.conf

Server=10.x.x.x
Hostname=zabbixproxy1
LogFile=/var/log/zabbix/zabbix_proxy.log
LogFileSize=0
PidFile=/run/zabbix/zabbix_proxy.pid
SocketDir=/run/zabbix
DBName=zabbix_proxy
DBUser=zabbix
DBPassword=MyPass
SNMPTrapperFile=/var/log/snmptrap/snmptrap.log
Timeout=4
FpingLocation=/usr/bin/fping
Fping6Location=/usr/bin/fping6
LogSlowQueries=3000
StatsAllowedIP=127.0.0.1

TLSConnect=psk
TLSAccept=psk
TLSPSKIdentity=zabbixproxy1
TLSPSKFile=/etc/zabbix/zabbix_proxy.psk