Nenhuma descrição

010-change-agentd-config.patch 1.4KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. --- a/conf/zabbix_agentd.conf
  2. +++ b/conf/zabbix_agentd.conf
  3. @@ -3,12 +3,8 @@
  4. ############ GENERAL PARAMETERS #################
  5. -### Option: PidFile
  6. -# Name of PID file.
  7. -#
  8. -# Mandatory: no
  9. -# Default:
  10. -# PidFile=/tmp/zabbix_agentd.pid
  11. +# We do not need PidFile with procd
  12. +# PidFile=/var/run/zabbix_agentd.pid
  13. ### Option: LogFile
  14. # Name of log file.
  15. @@ -18,8 +14,6 @@
  16. # Default:
  17. # LogFile=
  18. -LogFile=/tmp/zabbix_agentd.log
  19. -
  20. ### Option: LogFileSize
  21. # Maximum size of log file in MB.
  22. # 0 - disable automatic log rotation.
  23. @@ -104,6 +98,7 @@ Server=127.0.0.1
  24. # Range: 0-100
  25. # Default:
  26. # StartAgents=3
  27. +StartAgents=1
  28. ##### Active checks related
  29. @@ -119,8 +114,6 @@ Server=127.0.0.1
  30. # Default:
  31. # ServerActive=
  32. -ServerActive=127.0.0.1
  33. -
  34. ### Option: Hostname
  35. # Unique, case sensitive hostname.
  36. # Required for active checks and must match hostname as configured on the server.
  37. @@ -130,8 +123,6 @@ ServerActive=127.0.0.1
  38. # Default:
  39. # Hostname=
  40. -Hostname=Zabbix server
  41. -
  42. ### Option: HostnameItem
  43. # Item used for generating Hostname if it is undefined. Ignored if Hostname is defined.
  44. # Does not support UserParameters or aliases.
  45. @@ -249,8 +240,8 @@ Hostname=Zabbix server
  46. # Include=
  47. # Include=/usr/local/etc/zabbix_agentd.userparams.conf
  48. -# Include=/usr/local/etc/zabbix_agentd.conf.d/
  49. # Include=/usr/local/etc/zabbix_agentd.conf.d/*.conf
  50. +Include=/etc/zabbix_agentd.conf.d/
  51. ####### USER-DEFINED MONITORED PARAMETERS #######