mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 07:28:39 +01:00
zabbix: update to zabbix 3.0.1
zabbix-agent doesn't exist anymore since 3.0 '-f' option (foreground) is now in zabbix-agentd 003-change-user-and-foreground.patch fixes pending issue https://support.zabbix.com/browse/ZBX-10611 you might need to update your config file to add LogType=system Signed-off-by: Etienne CHAMPETIER <champetier.etienne@gmail.com>
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
--- a/conf/zabbix_agentd.conf
|
||||
+++ b/conf/zabbix_agentd.conf
|
||||
@@ -3,12 +3,8 @@
|
||||
@@ -3,12 +3,11 @@
|
||||
|
||||
############ GENERAL PARAMETERS #################
|
||||
|
||||
@@ -12,10 +12,13 @@
|
||||
-# PidFile=/tmp/zabbix_agentd.pid
|
||||
+# We do not need PidFile with procd
|
||||
+# PidFile=/var/run/zabbix_agentd.pid
|
||||
+
|
||||
+# use syslog
|
||||
+LogType=system
|
||||
|
||||
### Option: LogFile
|
||||
# Name of log file.
|
||||
@@ -18,8 +14,6 @@
|
||||
### Option: LogType
|
||||
# Specifies where log messages are written to:
|
||||
@@ -27,8 +26,6 @@
|
||||
# Default:
|
||||
# LogFile=
|
||||
|
||||
@@ -24,7 +27,7 @@
|
||||
### Option: LogFileSize
|
||||
# Maximum size of log file in MB.
|
||||
# 0 - disable automatic log rotation.
|
||||
@@ -104,6 +98,7 @@ Server=127.0.0.1
|
||||
@@ -114,6 +111,7 @@ Server=127.0.0.1
|
||||
# Range: 0-100
|
||||
# Default:
|
||||
# StartAgents=3
|
||||
@@ -32,7 +35,7 @@
|
||||
|
||||
##### Active checks related
|
||||
|
||||
@@ -119,8 +114,6 @@ Server=127.0.0.1
|
||||
@@ -129,8 +127,6 @@ Server=127.0.0.1
|
||||
# Default:
|
||||
# ServerActive=
|
||||
|
||||
@@ -41,7 +44,7 @@
|
||||
### Option: Hostname
|
||||
# Unique, case sensitive hostname.
|
||||
# Required for active checks and must match hostname as configured on the server.
|
||||
@@ -130,8 +123,6 @@ ServerActive=127.0.0.1
|
||||
@@ -140,8 +136,6 @@ ServerActive=127.0.0.1
|
||||
# Default:
|
||||
# Hostname=
|
||||
|
||||
@@ -50,7 +53,7 @@
|
||||
### Option: HostnameItem
|
||||
# Item used for generating Hostname if it is undefined. Ignored if Hostname is defined.
|
||||
# Does not support UserParameters or aliases.
|
||||
@@ -249,8 +240,8 @@ Hostname=Zabbix server
|
||||
@@ -259,8 +253,8 @@ Hostname=Zabbix server
|
||||
# Include=
|
||||
|
||||
# Include=/usr/local/etc/zabbix_agentd.userparams.conf
|
||||
|
||||
Reference in New Issue
Block a user