I have created a host called betazabbix (server and agent are installs and running correctly).
I have creted a new item to read de /var/log/syslog.
Key: log[/var/log/syslog]
type:zabbix agent
Type of information:log
And I get de following error:
This is the zabbix_server.log:
Parameter [log[/var/log/syslog]] is not supported by agent on host [betazabbix] Old status [0]
This is my zabbix_agentd (it's installed on the server)
Server=127.0.0.1
# Server port for sending active checks
ServerPort=10051
# Unique hostname. Required for active checks.
Hostname=betazabbix
# Listen port. Default is 10050
ListenPort=10050
# IP address to bind agent
# If missing, bind to all available IPs
ListenIP=127.0.0.1
# Number of pre-forked instances of zabbix_agentd.
# Default value is 5
# This parameter must be between 1 and 16
StartAgents=5
# How often refresh list of active checks. 2 minutes by default.
#RefreshActiveChecks=120
# Disable active checks. The agent will work in passive mode listening server.
#DisableActive=1
# Enable remote commands for ZABBIX agent. By default remote commands disabled.
#EnableRemoteCommands=1
# Specifies debug level
# 0 - debug is not created
# 1 - critical information
# 2 - error information
# 3 - warnings (default)
# 4 - for debugging (produces lots of information)
DebugLevel=3
# Name of PID file
PidFile=/var/tmp/zabbix_agentd.pid
# Name of log file.
# If not set, syslog will be used
LogFile=/tmp/zabbix_agentd.log
# Spend no more than Timeout seconds on processing
# Must be between 1 and 30
Timeout=3
Thanks
Pablo
I have creted a new item to read de /var/log/syslog.
Key: log[/var/log/syslog]
type:zabbix agent
Type of information:log
And I get de following error:
This is the zabbix_server.log:
Parameter [log[/var/log/syslog]] is not supported by agent on host [betazabbix] Old status [0]
This is my zabbix_agentd (it's installed on the server)
Server=127.0.0.1
# Server port for sending active checks
ServerPort=10051
# Unique hostname. Required for active checks.
Hostname=betazabbix
# Listen port. Default is 10050
ListenPort=10050
# IP address to bind agent
# If missing, bind to all available IPs
ListenIP=127.0.0.1
# Number of pre-forked instances of zabbix_agentd.
# Default value is 5
# This parameter must be between 1 and 16
StartAgents=5
# How often refresh list of active checks. 2 minutes by default.
#RefreshActiveChecks=120
# Disable active checks. The agent will work in passive mode listening server.
#DisableActive=1
# Enable remote commands for ZABBIX agent. By default remote commands disabled.
#EnableRemoteCommands=1
# Specifies debug level
# 0 - debug is not created
# 1 - critical information
# 2 - error information
# 3 - warnings (default)
# 4 - for debugging (produces lots of information)
DebugLevel=3
# Name of PID file
PidFile=/var/tmp/zabbix_agentd.pid
# Name of log file.
# If not set, syslog will be used
LogFile=/tmp/zabbix_agentd.log
# Spend no more than Timeout seconds on processing
# Must be between 1 and 30
Timeout=3
Thanks
Pablo