Guest User

Untitled

a guest
Mar 6th, 2018
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.90 KB | None | 0 0
  1. zabbix zabbix-agent zabbix-server
  2. =================================
  3.  
  4. ## zabbix server
  5. 直接使用默认配置,关键用webUI进行配置
  6. ```
  7. LogFile=/var/log/zabbix/zabbix_server.log
  8. LogFileSize=0
  9. PidFile=/var/run/zabbix/zabbix_server.pid
  10. SocketDir=/var/run/zabbix
  11. DBName=zabbix
  12. DBUser=zabbix
  13. DBPassword=zabbix_U1
  14. SNMPTrapperFile=/var/log/snmptrap/snmptrap.log
  15. Timeout=4
  16. AlertScriptsPath=/usr/lib/zabbix/alertscripts
  17. ExternalScripts=/usr/lib/zabbix/externalscripts
  18. LogSlowQueries=3000
  19. ```
  20.  
  21. ## zabbix agent
  22. ```
  23. PidFile=/var/run/zabbix/zabbix_agentd.pid
  24. LogFile=/var/log/zabbix/zabbix_agentd.log
  25. LogFileSize=0
  26. ## 重要配置 <---------
  27. Server=10.27.230.160 # 远端zabbix服务
  28. ServerActive=10.27.230.160 # 远端zabbix服务,并且用active模式,主动上报(支持自动发现)
  29. Hostname=10.153.200.143 # 当前服务器的 hostname
  30. ## 重要配置 ---------->
  31. Include=/etc/zabbix/zabbix_agentd.d/*.conf
  32. ```
Add Comment
Please, Sign In to add comment