Can someone help me with this issue.
Ad Widget
Collapse
Log Item
Collapse
X
-
-
Hi Alex,
This is a default config file from agent
Code:# This is a configuration file for Zabbix agent daemon (Unix) # To get more information about Zabbix, visit http://www.zabbix.com ############ GENERAL PARAMETERS ################# PidFile=/var/run/zabbix/zabbix_agentd.pid LogFile=/var/log/zabbix/zabbix_agentd.log LogFileSize=0 ### Option: DebugLevel # Specifies debug level: # 0 - basic information about starting and stopping of Zabbix processes # 1 - critical information # 2 - error information # 3 - warnings # 4 - for debugging (produces lots of information) # 5 - extended debugging (produces even more information) # # DebugLevel=3 ### Option: EnableRemoteCommands EnableRemoteCommands=1 ### Option: LogRemoteCommands LogRemoteCommands=1 ##### Passive checks related Server=# ### Option: ListenPort ListenPort=10050 ### Option: ListenIP # ListenIP=0.0.0.0 ### Option: StartAgents StartAgents=3 ##### Active checks related ### Option: ServerActive ServerActive=# ## Deze altijd aanpassen Hostname=data-a.domein ### Option: HostnameItem # HostnameItem=system.hostname ### Option: HostMetadata # HostMetadata= ### Option: HostMetadataItem # HostMetadataItem= ### Option: RefreshActiveChecks RefreshActiveChecks=120 ### Option: BufferSend # BufferSend=5 ### Option: BufferSize # BufferSize=100 ### Option: MaxLinesPerSecond # MaxLinesPerSecond=20 ############ ADVANCED PARAMETERS ################# ### Option: Alias # Sets an alias for an item key. It can be used to substitute long and complex item key with a smaller and simpler one. # Multiple Alias parameters may be present. Multiple parameters with the same Alias key are not allowed. # Different Alias keys may reference the same item key. # For example, to retrieve the ID of user 'zabbix': # Alias=zabbix.userid:vfs.file.regexp[/etc/passwd,^zabbix:.:([0-9]+),,,,\1] # Now shorthand key zabbix.userid may be used to retrieve data. # Aliases can be used in HostMetadataItem but not in HostnameItem parameters. # # Mandatory: no # Range: # Default: ### Option: Timeout # Spend no more than Timeout seconds on processing # # Mandatory: no # Range: 1-30 # Default: # Timeout=3 ### Option: AllowRoot AllowRoot=1 ### Option: User # Drop privileges to a specific, existing user on the system. # Only has effect if run as 'root' and AllowRoot is disabled. # # Mandatory: no # Default: # User=zabbix ### Option: Include # You may include individual files or all files in a directory in the configuration file. # Installing Zabbix will create include directory in /usr/local/etc, unless modified during the compile time. # # Mandatory: no # Default: # Include= Include=/etc/zabbix/zabbix_agentd.d/ # Include=/usr/local/etc/zabbix_agentd.userparams.conf # Include=/usr/local/etc/zabbix_agentd.conf.d/ # Include=/usr/local/etc/zabbix_agentd.conf.d/*.conf ####### USER-DEFINED MONITORED PARAMETERS ####### ### Option: UnsafeUserParameters # Allow all characters to be passed in arguments to user-defined parameters. # The following characters are not allowed: # \ ' " ` * ? [ ] { } ~ $ ! & ; ( ) < > | # @ # Additionally, newline characters are not allowed. # 0 - do not allow # 1 - allow # # Mandatory: no # Range: 0-1 # Default: # UnsafeUserParameters=0 ### Option: UserParameter # User-defined parameter to monitor. There can be several user-defined parameters. # Format: UserParameter=<key>,<shell command> # See 'zabbix_agentd' directory for examples. # # Mandatory: no # Default: # UserParameter= ####### LOADABLE MODULES ####### ### Option: LoadModulePath # Full path to location of agent modules. # Default depends on compilation options. # # Mandatory: no # Default: # LoadModulePath=${libdir}/modules ### Option: LoadModule # Module to load at agent startup. Modules are used to extend functionality of the agent. # Format: LoadModule=<module.so> # The modules must be located in directory specified by LoadModulePath. # It is allowed to include multiple LoadModule parameters. # # Mandatory: no # Default: # LoadModule= ####### TLS-RELATED PARAMETERS ####### ### Option: TLSConnect # How the agent should connect to server or proxy. Used for active checks. # Only one value can be specified: # unencrypted - connect without encryption # psk - connect using TLS and a pre-shared key # cert - connect using TLS and a certificate # # Mandatory: yes, if TLS certificate or PSK parameters are defined (even for 'unencrypted' connection) # Default: # TLSConnect=unencrypted ### Option: TLSAccept # What incoming connections to accept. # Multiple values can be specified, separated by comma: # unencrypted - accept connections without encryption # psk - accept connections secured with TLS and a pre-shared key # cert - accept connections secured with TLS and a certificate # # Mandatory: yes, if TLS certificate or PSK parameters are defined (even for 'unencrypted' connection) # Default: # TLSAccept=unencrypted ### Option: TLSCAFile # Full pathname of a file containing the top-level CA(s) certificates for # peer certificate verification. # # Mandatory: no # Default: # TLSCAFile= ### Option: TLSCRLFile # Full pathname of a file containing revoked certificates. # # Mandatory: no # Default: # TLSCRLFile= ### Option: TLSServerCertIssuer # Allowed server certificate issuer. # # Mandatory: no # Default: # TLSServerCertIssuer= ### Option: TLSServerCertSubject # Allowed server certificate subject. # # Mandatory: no # Default: # TLSServerCertSubject= ### Option: TLSCertFile # Full pathname of a file containing the agent certificate or certificate chain. # # Mandatory: no # Default: # TLSCertFile= ### Option: TLSKeyFile # Full pathname of a file containing the agent private key. # # Mandatory: no # Default: # TLSKeyFile= ### Option: TLSPSKIdentity # Unique, case sensitive string used to identify the pre-shared key. # # Mandatory: no # Default: # TLSPSKIdentity= ### Option: TLSPSKFile # Full pathname of a file containing the pre-shared key. # # Mandatory: no # Default: # TLSPSKFile=Comment
-
I see that there is no configuration for ServerActive= parameter. And which version of agent you are using ?Comment
-
Hi Alex
The # is normal the ip that i use.
So i have set the parameter.
zabbix_agentd (daemon) (Zabbix) 3.0.4
Revision 61185 15 July 2016, compilation time: Jul 24 2016 07:10:55
Copyright (C) 2016 Zabbix SIA
License GPLv2+: GNU GPL version 2 or later <http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it according to
the license. There is NO WARRANTY, to the extent permitted by law.Comment
-
Sby, you were compiling it from sources or you've installed it from repository(packages) ?
Regards,
Alex!Comment
-
Alex,
I have install it from repo.
$ wget http://repo.zabbix.com/zabbix/3.0/ub...trusty_all.deb
$ sudo dpkg -i zabbix-release_3.0-1+trusty_all.deb
$ sudo apt-get update
Follow the next page.
Installing Zabbix Agent on Ubuntu. This tutorial will help you to Install Zabbix Agent on Ubuntu 16.04 LTS, 14.04 LTS, and Debian 9/8/7.
Do i miss some stuff for my agent.
regards,
ByronComment
-
This file keeps updating or no ? If it's not updating then the Zabbix keeps the old error. Try to update the file with any string and then check the latest data.
Regards,
Alex!Comment
-
Dear sby,
sorry but I think it is impossible
But you always can ask for a help from professionals https://www.zabbix.com/services.
Regards,
Alex!Comment
-
Ok,
The file is every minute update with new content.
So the log file is full enough i get the error
Accessible only as active check.
i really not understand what the problem is.
10s 7d Zabbix agent (active) Zabbix agent Not supported
Do i need to update my zabbix version or what.Comment
Comment