zabbix-2.0.4-config.patch 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. diff -uNr zabbix-2.0.4.orig/conf/zabbix_agentd.conf zabbix-2.0.4/conf/zabbix_agentd.conf
  2. --- zabbix-2.0.4.orig/conf/zabbix_agentd.conf 2012-12-08 20:09:14.000000000 +0900
  3. +++ zabbix-2.0.4/conf/zabbix_agentd.conf 2013-02-06 23:06:31.629877244 +0900
  4. @@ -10,6 +10,8 @@
  5. # Default:
  6. # PidFile=/tmp/zabbix_agentd.pid
  7. +PidFile=/var/run/zabbix/zabbix_agentd.pid
  8. +
  9. ### Option: LogFile
  10. # Name of log file.
  11. # If not set, syslog is used.
  12. @@ -18,7 +20,7 @@
  13. # Default:
  14. # LogFile=
  15. -LogFile=/tmp/zabbix_agentd.log
  16. +LogFile=/var/log/zabbix/zabbix_agentd.log
  17. ### Option: LogFileSize
  18. # Maximum size of log file in MB.
  19. diff -uNr zabbix-2.0.4.orig/conf/zabbix_proxy.conf zabbix-2.0.4/conf/zabbix_proxy.conf
  20. --- zabbix-2.0.4.orig/conf/zabbix_proxy.conf 2012-12-08 20:09:14.000000000 +0900
  21. +++ zabbix-2.0.4/conf/zabbix_proxy.conf 2013-02-06 23:07:55.307075875 +0900
  22. @@ -74,7 +74,7 @@
  23. # Default:
  24. # LogFile=
  25. -LogFile=/tmp/zabbix_proxy.log
  26. +LogFile=/var/log/zabbix/zabbix_proxy.log
  27. ### Option: LogFileSize
  28. # Maximum size of log file in MB.
  29. @@ -105,6 +105,8 @@
  30. # Default:
  31. # PidFile=/tmp/zabbix_proxy.pid
  32. +PidFile=/var/run/zabbix/zabbix_proxy.pid
  33. +
  34. ### Option: DBHost
  35. # Database host name.
  36. # If set to localhost, socket is used for MySQL.
  37. diff -uNr zabbix-2.0.4.orig/conf/zabbix_server.conf zabbix-2.0.4/conf/zabbix_server.conf
  38. --- zabbix-2.0.4.orig/conf/zabbix_server.conf 2012-12-08 20:09:14.000000000 +0900
  39. +++ zabbix-2.0.4/conf/zabbix_server.conf 2013-02-06 23:07:13.099975936 +0900
  40. @@ -36,7 +36,7 @@
  41. # Default:
  42. # LogFile=
  43. -LogFile=/tmp/zabbix_server.log
  44. +LogFile=/var/log/zabbix/zabbix_server.log
  45. ### Option: LogFileSize
  46. # Maximum size of log file in MB.
  47. @@ -67,6 +67,8 @@
  48. # Default:
  49. # PidFile=/tmp/zabbix_server.pid
  50. +PidFile=/var/run/zabbix/zabbix_server.pid
  51. +
  52. ### Option: DBHost
  53. # Database host name.
  54. # If set to localhost, socket is used for MySQL.