1
0

010-change-agentd-config.patch 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. --- a/conf/zabbix_agentd.conf
  2. +++ b/conf/zabbix_agentd.conf
  3. @@ -3,12 +3,11 @@
  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. +
  14. +# use syslog
  15. +LogType=system
  16. ### Option: LogType
  17. # Specifies where log messages are written to:
  18. @@ -27,8 +26,6 @@
  19. # Default:
  20. # LogFile=
  21. -LogFile=/tmp/zabbix_agentd.log
  22. -
  23. ### Option: LogFileSize
  24. # Maximum size of log file in MB.
  25. # 0 - disable automatic log rotation.
  26. @@ -114,6 +111,7 @@ Server=127.0.0.1
  27. # Range: 0-100
  28. # Default:
  29. # StartAgents=3
  30. +StartAgents=1
  31. ##### Active checks related
  32. @@ -129,8 +127,6 @@ Server=127.0.0.1
  33. # Default:
  34. # ServerActive=
  35. -ServerActive=127.0.0.1
  36. -
  37. ### Option: Hostname
  38. # Unique, case sensitive hostname.
  39. # Required for active checks and must match hostname as configured on the server.
  40. @@ -140,8 +136,6 @@ ServerActive=127.0.0.1
  41. # Default:
  42. # Hostname=
  43. -Hostname=Zabbix server
  44. -
  45. ### Option: HostnameItem
  46. # Item used for generating Hostname if it is undefined. Ignored if Hostname is defined.
  47. # Does not support UserParameters or aliases.
  48. @@ -259,8 +253,8 @@ Hostname=Zabbix server
  49. # Include=
  50. # Include=/usr/local/etc/zabbix_agentd.userparams.conf
  51. -# Include=/usr/local/etc/zabbix_agentd.conf.d/
  52. # Include=/usr/local/etc/zabbix_agentd.conf.d/*.conf
  53. +Include=/etc/zabbix_agentd.conf.d/
  54. ####### USER-DEFINED MONITORED PARAMETERS #######