Ad Widget

Collapse

Zabbix proxy won't start

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • anghinonic
    Junior Member
    • Jul 2020
    • 8

    #1

    Zabbix proxy won't start

    please help me
    I have been trying to configure the zabbix proxy for a few days but I cannot find a solution.

    the proxy log reports the following error message
    19643:20200710:085115.298 listener failed: zbx_tcp_listen() fatal error: unable to serve on any address [[-]:10051]

    my proxy is configured as a passive proxy (i want to get devices info from my home network by using snmp), in the dashboard i see that zabbix server is running but is under "unknown hosts"
  • Hamardaban
    Senior Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • May 2019
    • 2713

    #2
    Check which config uses the proxy at startup and whether it has the ListenIP parameter?

    Comment

    • anghinonic
      Junior Member
      • Jul 2020
      • 8

      #3
      Sorry but it's hard to know
      ListenIP parameter in zabbix_proxy.conf is commented, so that "Trapper will listen on all network interfaces" (as specified in the comments)

      the following one is my zabbix-proxy.conf

      Code:
      # This is a configuration file for Zabbix proxy daemon
      # To get more information about Zabbix, visit http://www.zabbix.com
      
      ############ GENERAL PARAMETERS #################
      
      ### Option: ProxyMode
      # Proxy operating mode.
      # 0 - proxy in the active mode
      # 1 - proxy in the passive mode
      #
      # Mandatory: no
      # Default:
      # ProxyMode=0
      #ProxyMode=1
      
      ### Option: Server
      # If ProxyMode is set to active mode:
      # IP address or DNS name of Zabbix server to get configuration data from and send data to.
      # If ProxyMode is set to passive mode:
      # List of comma delimited IP addresses, optionally in CIDR notation, or DNS names of Zabbix server.
      # Incoming connections will be accepted only from the addresses listed here.
      # If IPv6 support is enabled then '127.0.0.1', '::127.0.0.1', '::ffff:127.0.0.1' are treated equally
      # and '::/0' will allow any IPv4 or IPv6 address.
      # '0.0.0.0/0' can be used to allow any IPv4 address.
      # Example: Server=127.0.0.1,192.168.1.0/24,::1,2001:db8::/32,zabbix.example.com
      #
      # Mandatory: yes
      # Default:
      # Server=
      
      Server=192.168.1.8
      
      ### Option: ServerPort
      # Port of Zabbix trapper on Zabbix server.
      # For a proxy in the passive mode this parameter will be ignored.
      #
      # Mandatory: no
      # Range: 1024-32767
      # Default:
      # ServerPort=10051
      
      ### Option: Hostname
      # Unique, case sensitive Proxy name. Make sure the Proxy name is known to the server!
      # Value is acquired from HostnameItem if undefined.
      #
      # Mandatory: no
      # Default:
      # Hostname=
      
      Hostname=cfaProxy
      
      ### Option: HostnameItem
      # Item used for generating Hostname if it is undefined.
      # Ignored if Hostname is defined.
      #
      # Mandatory: no
      # Default:
      # HostnameItem=system.hostname
      
      ### Option: ListenPort
      # Listen port for trapper.
      #
      # Mandatory: no
      # Range: 1024-32767
      # Default:
      # ListenPort=10051
      
      ### Option: SourceIP
      # Source IP address for outgoing connections.
      #
      # Mandatory: no
      # Default:
      # SourceIP=
      
      ### Option: LogType
      # Specifies where log messages are written to:
      # system - syslog
      # file - file specified with LogFile parameter
      # console - standard output
      #
      # Mandatory: no
      # Default:
      LogType=file
      
      ### Option: LogFile
      # Log file name for LogType 'file' parameter.
      #
      # Mandatory: yes, if LogType is set to file, otherwise no
      # Default:
      # LogFile=
      
      LogFile=/var/log/zabbix/zabbix_proxy.log
      
      ### Option: LogFileSize
      # Maximum size of log file in MB.
      # 0 - disable automatic log rotation.
      #
      # Mandatory: no
      # Range: 0-1024
      # Default:
      # LogFileSize=1
      
      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)
      #
      # Mandatory: no
      # Range: 0-5
      # Default:
      # DebugLevel=3
      DebugLevel=5
      ### Option: EnableRemoteCommands
      # Whether remote commands from Zabbix server are allowed.
      # 0 - not allowed
      # 1 - allowed
      #
      # Mandatory: no
      # Default:
      # EnableRemoteCommands=0
      
      ### Option: LogRemoteCommands
      # Enable logging of executed shell commands as warnings.
      # 0 - disabled
      # 1 - enabled
      #
      # Mandatory: no
      # Default:
      # LogRemoteCommands=0
      
      ### Option: PidFile
      # Name of PID file.
      #
      # Mandatory: no
      # Default:
      # PidFile=/tmp/zabbix_proxy.pid
      
      PidFile=/var/run/zabbix/zabbix_proxy.pid
      
      ### Option: SocketDir
      # IPC socket directory.
      # Directory to store IPC sockets used by internal Zabbix services.
      #
      # Mandatory: no
      # Default:
      # SocketDir=/tmp
      
      SocketDir=/var/run/zabbix
      
      ### Option: DBHost
      # Database host name.
      # If set to localhost, socket is used for MySQL.
      # If set to empty string, socket is used for PostgreSQL.
      #
      # Mandatory: no
      # Default:
      # DBHost=localhost
      
      ### Option: DBName
      # Database name.
      # For SQLite3 path to database file must be provided. DBUser and DBPassword are ignored.
      # Warning: do not attempt to use the same database Zabbix server is using.
      #
      # Mandatory: yes
      # Default:
      # DBName=
      
      DBName=zabbix_proxy
      
      ### Option: DBSchema
      # Schema name. Used for PostgreSQL.
      #
      # Mandatory: no
      # Default:
      # DBSchema=
      
      ### Option: DBUser
      # Database user. Ignored for SQLite.
      #
      # Default:
      # DBUser=
      
      DBUser=zabbix
      
      ### Option: DBPassword
      # Database password. Ignored for SQLite.
      # Comment this line if no password is used.
      #
      # Mandatory: no
      # Default:
      # DBPassword=
      
      DBPassword=<hidden_here_for_security_reasons>
      
      ### Option: DBSocket
      # Path to MySQL socket.
      #
      # Mandatory: no
      # Default:
      # DBSocket=
      
      # Option: DBPort
      # Database port when not using local socket. Ignored for SQLite.
      #
      # Mandatory: no
      # Default:
      # DBPort=
      
      ######### PROXY SPECIFIC PARAMETERS #############
      
      ### Option: ProxyLocalBuffer
      # Proxy will keep data locally for N hours, even if the data have already been synced with the server.
      # This parameter may be used if local data will be used by third party applications.
      #
      # Mandatory: no
      # Range: 0-720
      # Default:
      # ProxyLocalBuffer=0
      
      ### Option: ProxyOfflineBuffer
      # Proxy will keep data for N hours in case if no connectivity with Zabbix Server.
      # Older data will be lost.
      #
      # Mandatory: no
      # Range: 1-720
      # Default:
      # ProxyOfflineBuffer=1
      
      ### Option: HeartbeatFrequency
      # Frequency of heartbeat messages in seconds.
      # Used for monitoring availability of Proxy on server side.
      # 0 - heartbeat messages disabled.
      # For a proxy in the passive mode this parameter will be ignored.
      #
      # Mandatory: no
      # Range: 0-3600
      # Default:
      # HeartbeatFrequency=60
      
      ### Option: ConfigFrequency
      # How often proxy retrieves configuration data from Zabbix Server in seconds.
      # For a proxy in the passive mode this parameter will be ignored.
      #
      # Mandatory: no
      # Range: 1-3600*24*7
      # Default:
      # ConfigFrequency=3600
      
      ConfigFrequency=3600
      
      ### Option: DataSenderFrequency
      # Proxy will send collected data to the Server every N seconds.
      # For a proxy in the passive mode this parameter will be ignored.
      #
      # Mandatory: no
      # Range: 1-3600
      # Default:
      # DataSenderFrequency=1
      
      ############ ADVANCED PARAMETERS ################
      
      ### Option: StartPollers
      # Number of pre-forked instances of pollers.
      #
      # Mandatory: no
      # Range: 0-1000
      # Default:
      # StartPollers=5
      
      ### Option: StartIPMIPollers
      # Number of pre-forked instances of IPMI pollers.
      # The IPMI manager process is automatically started when at least one IPMI poller is started.
      #
      # Mandatory: no
      # Range: 0-1000
      # Default:
      # StartIPMIPollers=0
      
      ### Option: StartPreprocessors
      # Number of pre-forked instances of preprocessing workers.
      # The preprocessing manager process is automatically started when preprocessor worker is started.
      #
      # Mandatory: no
      # Range: 1-1000
      # Default:
      # StartPreprocessors=3
      
      ### Option: StartPollersUnreachable
      # Number of pre-forked instances of pollers for unreachable hosts (including IPMI and Java).
      # At least one poller for unreachable hosts must be running if regular, IPMI or Java pollers
      # are started.
      #
      # Mandatory: no
      # Range: 0-1000
      # Default:
      # StartPollersUnreachable=1
      
      ### Option: StartTrappers
      # Number of pre-forked instances of trappers.
      # Trappers accept incoming connections from Zabbix sender and active agents.
      #
      # Mandatory: no
      # Range: 0-1000
      # Default:
      # StartTrappers=5
      
      ### Option: StartPingers
      # Number of pre-forked instances of ICMP pingers.
      #
      # Mandatory: no
      # Range: 0-1000
      # Default:
      # StartPingers=1
      
      ### Option: StartDiscoverers
      # Number of pre-forked instances of discoverers.
      #
      # Mandatory: no
      # Range: 0-250
      # Default:
      # StartDiscoverers=1
      
      ### Option: StartHTTPPollers
      # Number of pre-forked instances of HTTP pollers.
      #
      # Mandatory: no
      # Range: 0-1000
      # Default:
      # StartHTTPPollers=1
      
      ### Option: JavaGateway
      # IP address (or hostname) of Zabbix Java gateway.
      # Only required if Java pollers are started.
      #
      # Mandatory: no
      # Default:
      # JavaGateway=
      
      ### Option: JavaGatewayPort
      # Port that Zabbix Java gateway listens on.
      #
      # Mandatory: no
      # Range: 1024-32767
      # Default:
      # JavaGatewayPort=10052
      
      ### Option: StartJavaPollers
      # Number of pre-forked instances of Java pollers.
      #
      # Mandatory: no
      # Range: 0-1000
      # Default:
      # StartJavaPollers=0
      
      ### Option: StartVMwareCollectors
      # Number of pre-forked vmware collector instances.
      #
      # Mandatory: no
      # Range: 0-250
      # Default:
      # StartVMwareCollectors=0
      
      ### Option: VMwareFrequency
      # How often Zabbix will connect to VMware service to obtain a new data.
      #
      # Mandatory: no
      # Range: 10-86400
      # Default:
      # VMwareFrequency=60
      
      ### Option: VMwarePerfFrequency
      # How often Zabbix will connect to VMware service to obtain performance data.
      #
      # Mandatory: no
      # Range: 10-86400
      # Default:
      # VMwarePerfFrequency=60
      
      ### Option: VMwareCacheSize
      # Size of VMware cache, in bytes.
      # Shared memory size for storing VMware data.
      # Only used if VMware collectors are started.
      #
      # Mandatory: no
      # Range: 256K-2G
      # Default:
      # VMwareCacheSize=8M
      
      ### Option: VMwareTimeout
      # Specifies how many seconds vmware collector waits for response from VMware service.
      #
      # Mandatory: no
      # Range: 1-300
      # Default:
      # VMwareTimeout=10
      
      ### Option: SNMPTrapperFile
      # Temporary file used for passing data from SNMP trap daemon to the proxy.
      # Must be the same as in zabbix_trap_receiver.pl or SNMPTT configuration file.
      #
      # Mandatory: no
      # Default:
      # SNMPTrapperFile=/tmp/zabbix_traps.tmp
      
      SNMPTrapperFile=/var/log/snmptrap/snmptrap.log
      
      ### Option: StartSNMPTrapper
      # If 1, SNMP trapper process is started.
      #
      # Mandatory: no
      # Range: 0-1
      # Default:
      # StartSNMPTrapper=0
      
      ### Option: ListenIP
      # List of comma delimited IP addresses that the trapper should listen on.
      # Trapper will listen on all network interfaces if this parameter is missing.
      #
      #Mandatory: yes
      # Default:
      #ListenIP=0.0.0.0
      
      ### Option: HousekeepingFrequency
      # How often Zabbix will perform housekeeping procedure (in hours).
      # Housekeeping is removing outdated information from the database.
      # To prevent Housekeeper from being overloaded, no more than 4 times HousekeepingFrequency
      # hours of outdated information are deleted in one housekeeping cycle.
      # To lower load on proxy startup housekeeping is postponed for 30 minutes after proxy start.
      # With HousekeepingFrequency=0 the housekeeper can be only executed using the runtime control option.
      # In this case the period of outdated information deleted in one housekeeping cycle is 4 times the
      # period since the last housekeeping cycle, but not less than 4 hours and not greater than 4 days.
      #
      # Mandatory: no
      # Range: 0-24
      # Default:
      # HousekeepingFrequency=1
      
      ### Option: CacheSize
      # Size of configuration cache, in bytes.
      # Shared memory size, for storing hosts and items data.
      #
      # Mandatory: no
      # Range: 128K-64G
      # Default:
      # CacheSize=8M
      
      ### Option: StartDBSyncers
      # Number of pre-forked instances of DB Syncers.
      #
      # Mandatory: no
      # Range: 1-100
      # Default:
      # StartDBSyncers=4
      
      ### Option: HistoryCacheSize
      # Size of history cache, in bytes.
      # Shared memory size for storing history data.
      #
      # Mandatory: no
      # Range: 128K-2G
      # Default:
      # HistoryCacheSize=16M
      
      ### Option: HistoryIndexCacheSize
      # Size of history index cache, in bytes.
      # Shared memory size for indexing history cache.
      #
      # Mandatory: no
      # Range: 128K-2G
      # Default:
      # HistoryIndexCacheSize=4M
      
      ### Option: Timeout
      # Specifies how long we wait for agent, SNMP device or external check (in seconds).
      #
      # Mandatory: no
      # Range: 1-30
      # Default:
      # Timeout=3
      
      Timeout=4
      
      ### Option: TrapperTimeout
      # Specifies how many seconds trapper may spend processing new data.
      #
      # Mandatory: no
      # Range: 1-300
      # Default:
      # TrapperTimeout=300
      
      ### Option: UnreachablePeriod
      # After how many seconds of unreachability treat a host as unavailable.
      #
      # Mandatory: no
      # Range: 1-3600
      # Default:
      # UnreachablePeriod=45
      
      ### Option: UnavailableDelay
      # How often host is checked for availability during the unavailability period, in seconds.
      #
      #Mandatory: no
      # Range: 1-3600
      # Default:
      # UnavailableDelay=60
      
      ### Option: UnreachableDelay
      # How often host is checked for availability during the unreachability period, in seconds.
      #
      # Mandatory: no
      # Range: 1-3600
      # Default:
      # UnreachableDelay=15
      
      ### Option: ExternalScripts
      # Full path to location of external scripts.
      # Default depends on compilation options.
      # To see the default path run command "zabbix_proxy --help".
      #
      # Mandatory: no
      # Default:
      # ExternalScripts=${datadir}/zabbix/externalscripts
      
      ExternalScripts=/usr/lib/zabbix/externalscripts
      
      ### Option: FpingLocation
      # Location of fping.
      # Make sure that fping binary has root ownership and SUID flag set.
      #
      # Mandatory: no
      # Default:
      # FpingLocation=/usr/sbin/fping
      
      FpingLocation=/usr/bin/fping
      
      ### Option: Fping6Location
      # Location of fping6.
      # Make sure that fping6 binary has root ownership and SUID flag set.
      # Make empty if your fping utility is capable to process IPv6 addresses.
      #
      # Mandatory: no
      # Default:
      # Fping6Location=/usr/sbin/fping6
      
      Fping6Location=/usr/bin/fping6
      
      ### Option: SSHKeyLocation
      # Location of public and private keys for SSH checks and actions.
      #
      # Mandatory: no
      # Default:
      # SSHKeyLocation=
      
      ### Option: LogSlowQueries
      # How long a database query may take before being logged (in milliseconds).
      # Only works if DebugLevel set to 3 or 4.
      # 0 - don't log slow queries.
      #
      # Mandatory: no
      # Range: 1-3600000
      # Default:
      # LogSlowQueries=0
      
      LogSlowQueries=3000
      
      ### Option: TmpDir
      # Temporary directory.
      #
      # Mandatory: no
      # Default:
      # TmpDir=/tmp
      
      ### Option: AllowRoot
      # Allow the proxy to run as 'root'. If disabled and the proxy is started by 'root', the proxy
      # will try to switch to the user specified by the User configuration option instead.
      # Has no effect if started under a regular user.
      # 0 - do not allow
      # 1 - allow
      #
      # Mandatory: no
      # Default:
      # AllowRoot=0
      
      ### 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=/usr/local/etc/zabbix_proxy.general.conf
      # Include=/usr/local/etc/zabbix_proxy.conf.d/
      # Include=/usr/local/etc/zabbix_proxy.conf.d/*.conf
      
      ### Option: SSLCertLocation
      # Location of SSL client certificates.
      # This parameter is used only in web monitoring.
      # Default depends on compilation options.
      # To see the default path run command "zabbix_proxy --help".
      #
      # Mandatory: no
      # Default:
      # SSLCertLocation=${datadir}/zabbix/ssl/certs
      
      ### Option: SSLKeyLocation
      # Location of private keys for SSL client certificates.
      # This parameter is used only in web monitoring.
      # Default depends on compilation options.
      # To see the default path run command "zabbix_proxy --help".
      #
      # Mandatory: no
      # Default:
      # SSLKeyLocation=${datadir}/zabbix/ssl/keys
      
      ### Option: SSLCALocation
      # Location of certificate authority (CA) files for SSL server certificate verification.
      # If not set, system-wide directory will be used.
      # This parameter is used only in web monitoring.
      #
      # Mandatory: no
      # Default:
      # SSLCALocation=
      
      ####### LOADABLE MODULES #######
      
      ### Option: LoadModulePath
      # Full path to location of proxy modules.
      # Default depends on compilation options.
      # To see the default path run command "zabbix_proxy --help".
      #
      # Mandatory: no
      # Default:
      # LoadModulePath=${libdir}/modules
      
      ### Option: LoadModule
      # Module to load at proxy startup. Modules are used to extend functionality of the proxy.
      # Formats:
      # LoadModule=<module.so>
      # LoadModule=<path/module.so>
      # LoadModule=</abs_path/module.so>
      # Either the module must be located in directory specified by LoadModulePath or the path must precede the module name.
      # If the preceding path is absolute (starts with '/') then LoadModulePath is ignored.
      # It is allowed to include multiple LoadModule parameters.
      #
      # Mandatory: no
      # Default:
      # LoadModule=
      
      ### Option: StatsAllowedIP
      # List of comma delimited IP addresses, optionally in CIDR notation, or DNS names of external Zabbix instances.
      # Stats request will be accepted only from the addresses listed here. If this parameter is not set no stats requests
      # will be accepted.
      # If IPv6 support is enabled then '127.0.0.1', '::127.0.0.1', '::ffff:127.0.0.1' are treated equally
      # and '::/0' will allow any IPv4 or IPv6 address.
      # '0.0.0.0/0' can be used to allow any IPv4 address.
      # Example: StatsAllowedIP=127.0.0.1,192.168.1.0/24,::1,2001:db8::/32,zabbix.example.com
      #
      # Mandatory: no
      # Default:
      # StatsAllowedIP=
      StatsAllowedIP=127.0.0.1,192.168.1.0/24,10.67.0.0/24,192.168.67.0/24,10.16.0.0/24,10.7.0.0/24,192.168.16.0/24
      
      ####### TLS-RELATED PARAMETERS #######
      
      ### Option: TLSConnect
      # How the proxy should connect to Zabbix server. Used for an active proxy, ignored on a passive proxy.
      # 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 from Zabbix server. Used for a passive proxy, ignored on an active proxy.
      # 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 proxy certificate or certificate chain.
      #
      # Mandatory: no
      # Default:
      # TLSCertFile=
      
      ### Option: TLSKeyFile
      # Full pathname of a file containing the proxy 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=
      
      ####### For advanced users - TLS ciphersuite selection criteria #######
      
      ### Option: TLSCipherCert13
      # Cipher string for OpenSSL 1.1.1 or newer in TLS 1.3.
      # Override the default ciphersuite selection criteria for certificate-based encryption.
      #
      # Mandatory: no
      # Default:
      # TLSCipherCert13=
      
      ### Option: TLSCipherCert
      # GnuTLS priority string or OpenSSL (TLS 1.2) cipher string.
      # Override the default ciphersuite selection criteria for certificate-based encryption.
      # Example for GnuTLS:
      # NONE:+VERS-TLS1.2:+ECDHE-RSA:+RSA:+AES-128-GCM:+AES-128-CBC:+AEAD:+SHA256:+SHA1:+CURVE-ALL:+COMP-NULL:+SIGN-ALL:+CTYPE-X.509
      # Example for OpenSSL:
      # EECDH+aRSA+AES128:RSA+aRSA+AES128
      #
      # Mandatory: no
      # Default:
      # TLSCipherCert=
      
      ### Option: TLSCipherPSK13
      # Cipher string for OpenSSL 1.1.1 or newer in TLS 1.3.
      # Override the default ciphersuite selection criteria for PSK-based encryption.
      # Example:
      # TLS_CHACHA20_POLY1305_SHA256:TLS_AES_128_GCM_SHA25 6
      #
      # Mandatory: no
      # Default:
      # TLSCipherPSK13=
      
      ### Option: TLSCipherPSK
      # GnuTLS priority string or OpenSSL (TLS 1.2) cipher string.
      # Override the default ciphersuite selection criteria for PSK-based encryption.
      # Example for GnuTLS:
      # NONE:+VERS-TLS1.2:+ECDHE-PSK:+PSK:+AES-128-GCM:+AES-128-CBC:+AEAD:+SHA256:+SHA1:+CURVE-ALL:+COMP-NULL:+SIGN-ALL
      # Example for OpenSSL:
      # kECDHEPSK+AES128:kPSK+AES128
      #
      # Mandatory: no
      # Default:
      # TLSCipherPSK=
      
      ### Option: TLSCipherAll13
      # Cipher string for OpenSSL 1.1.1 or newer in TLS 1.3.
      # Override the default ciphersuite selection criteria for certificate- and PSK-based encryption.
      # Example:
      # TLS_AES_256_GCM_SHA384:TLS_CHACHA20_POLY1305_SHA25 6:TLS_AES_128_GCM_SHA256
      #
      # Mandatory: no
      # Default:
      # TLSCipherAll13=
      
      ### Option: TLSCipherAll
      # GnuTLS priority string or OpenSSL (TLS 1.2) cipher string.
      # Override the default ciphersuite selection criteria for certificate- and PSK-based encryption.
      # Example for GnuTLS:
      # NONE:+VERS-TLS1.2:+ECDHE-RSA:+RSA:+ECDHE-PSK:+PSK:+AES-128-GCM:+AES-128-CBC:+AEAD:+SHA256:+SHA1:+CURVE-ALL:+COMP-NULL:+SIGN-ALL:+CTYPE-X.509
      # Example for OpenSSL:
      # EECDH+aRSA+AES128:RSA+aRSA+AES128:kECDHEPSK+AES128 :kPSK+AES128
      #
      # Mandatory: no
      # Default:
      # TLSCipherAll=
      
      ### Option: DBTLSConnect
      # Setting this option enforces to use TLS connection to database.
      # required - connect using TLS
      # verify_ca - connect using TLS and verify certificate
      # verify_full - connect using TLS, verify certificate and verify that database identity specified by DBHost
      # matches its certificate
      # On MySQL starting from 5.7.11 and PostgreSQL following values are supported: "required", "verify_ca" and
      # "verify_full".
      # On MariaDB starting from version 10.2.6 "required" and "verify_full" values are supported.
      # Default is not to set any option and behavior depends on database configuration
      #
      # Mandatory: no
      # Default:
      # DBTLSConnect=
      
      ### Option: DBTLSCAFile
      # Full pathname of a file containing the top-level CA(s) certificates for database certificate verification.
      # Supported only for MySQL and PostgreSQL
      #
      # Mandatory: no
      # (yes, if DBTLSConnect set to one of: verify_ca, verify_full)
      # Default:
      # DBTLSCAFile=
      
      ### Option: DBTLSCertFile
      # Full pathname of file containing Zabbix proxy certificate for authenticating to database.
      # Supported only for MySQL and PostgreSQL
      #
      # Mandatory: no
      # Default:
      # DBTLSCertFile=
      
      ### Option: DBTLSKeyFile
      # Full pathname of file containing the private key for authenticating to database.
      # Supported only for MySQL and PostgreSQL
      #
      # Mandatory: no
      # Default:
      # DBTLSKeyFile=
      
      ### Option: DBTLSCipher
      # The list of encryption ciphers that Zabbix proxy permits for TLS protocols up through TLSv1.2
      # Supported only for MySQL
      #
      # Mandatory no
      # Default:
      # DBTLSCipher=
      
      ### Option: DBTLSCipher13
      # The list of encryption ciphersuites that Zabbix proxy permits for TLSv1.3 protocol
      # Supported only for MySQL, starting from version 8.0.16
      #
      # Mandatory no
      # Default:
      # DBTLSCipher13=

      Comment

      • anghinonic
        Junior Member
        • Jul 2020
        • 8

        #4
        the following are:
        1 zabbix_agentd.log
        Code:
        23624:20200711:101827.670 Starting Zabbix Agent [cfaProxy]. Zabbix 5.0.1 (revision c2a0b03480).
        23624:20200711:101827.670 **** Enabled features ****
        23624:20200711:101827.670 IPv6 support: YES
        23624:20200711:101827.670 TLS support: YES
        23624:20200711:101827.670 **************************
        23624:20200711:101827.670 using configuration file: /etc/zabbix/zabbix_agentd.conf
        23624:20200711:101827.671 agent #0 started [main process]
        23625:20200711:101827.674 agent #1 started [collector]
        23626:20200711:101827.675 agent #2 started[listener #1]
        23627:20200711:101827.677 agent #3 started[listener #2]
        23629:20200711:101827.680 agent #5 started [active checks #1]
        23628:20200711:101827.686 agent #4 started[listener #3]
        23629:20200711:101827.694 no active checks on server [192.168.1.8:10051]: host [cfaProxy] not found
        2 zabbix_proxy.log
        Code:
        23689:20200711:101832.083 Starting Zabbix Proxy (active) [cfaProxy]. Zabbix 5.0.1 (revision c2a0b03480).
        23689:20200711:101832.083 **** Enabled features ****
        23689:20200711:101832.083 SNMP monitoring: YES
        23689:20200711:101832.083 IPMI monitoring: YES
        23689:20200711:101832.083 Web monitoring: YES
        23689:20200711:101832.083 VMware monitoring: YES
        23689:20200711:101832.083 ODBC: YES
        23689:20200711:101832.083 SSH support: YES
        23689:20200711:101832.083 IPv6 support: YES
        23689:20200711:101832.083 TLS support: YES
        23689:20200711:101832.083 **************************
        23689:20200711:101832.083 using configuration file: /etc/zabbix/zabbix_proxy.conf
        23689:20200711:101832.083 In zbx_load_modules()
        23689:20200711:101832.083 End of zbx_load_modules():SUCCEED
        23689:20200711:101832.084 In init_database_cache()
        23689:20200711:101832.084 In zbx_mem_create() param:'HistoryCacheSize' size:16777216
        23689:20200711:101832.084 valid user addresses: [0xb2b5e0e0, 0xb3b5dff0] total size: 16776976
        23689:20200711:101832.084 End of zbx_mem_create()
        23689:20200711:101832.084 In zbx_mem_create() param:'HistoryIndexCacheSize' size:4194304
        23689:20200711:101832.084 valid user addresses: [0xb275e0f0, 0xb2b5dff0] total size: 4194048
        23689:20200711:101832.084 End of zbx_mem_create()
        23689:20200711:101832.084 End of init_database_cache()
        23689:20200711:101832.084 In init_configuration_cache() size:8388608
        23689:20200711:101832.084 In zbx_mem_create() param:'CacheSize' size:8388608
        23689:20200711:101832.084 valid user addresses: [0xb1f5e0e0, 0xb275dff0] total size: 8388368
        23689:20200711:101832.084 End of zbx_mem_create()
        23689:20200711:101832.085 End of init_configuration_cache()
        23689:20200711:101832.085 In init_selfmon_collector()
        23689:20200711:101832.085 init_selfmon_collector() size:8432
        23689:20200711:101832.085 End of init_selfmon_collector() collector:0xb6ebb000
        23689:20200711:101832.085 In zbx_db_get_database_type()
        23689:20200711:101832.085 In DBconnect() flag:0
        23689:20200711:101832.090 End of DBconnect():0
        23689:20200711:101832.090 query [txnlev:0] [select userid from users limit 1]
        23689:20200711:101832.090 no records in "users" table
        23689:20200711:101832.091 End of zbx_db_get_database_type():ZBX_DB_PROXY
        23689:20200711:101832.091 In DBcheck_version()
        23689:20200711:101832.091 In DBconnect() flag:0
        23689:20200711:101832.092 End of DBconnect():0
        23689:20200711:101832.092 query [txnlev:0] [show tables like 'dbversion']
        23689:20200711:101832.093 query [txnlev:0] [select mandatory,optional from dbversion]
        23689:20200711:101832.093 current database version (mandatory/optional): 05000000/05000000
        23689:20200711:101832.093 required mandatory version: 05000000
        23689:20200711:101832.093 End of DBcheck_version():SUCCEED
        23689:20200711:101832.093 In DBconnect() flag:0
        23689:20200711:101832.094 End of DBconnect():0
        23689:20200711:101832.094 query [txnlev:0] [select default_character_set_name,default_collation_name from information_schema.SCHEMATA where schema_name='zabbix_proxy']
        23689:20200711:101832.095 query [txnlev:0] [select count(*) from information_schema.`COLUMNS` where table_schema='zabbix_proxy' and data_type in ('text','varchar','longtext') and (character_set_name<>'utf8' or collation_name<>'utf8_bin')]
        23689:20200711:101832.103 listener failed: zbx_tcp_listen() fatal error: unable to serve on any address [[-]:10051]
        23793:20200711:101842.293 Starting Zabbix Proxy (active) [cfaProxy]. Zabbix 5.0.1 (revision c2a0b03480).
        23793:20200711:101842.293 **** Enabled features ****
        23793:20200711:101842.293 SNMP monitoring: YES
        23793:20200711:101842.294 IPMI monitoring: YES
        23793:20200711:101842.294 Web monitoring: YES
        23793:20200711:101842.294 VMware monitoring: YES
        23793:20200711:101842.294 ODBC: YES
        23793:20200711:101842.294 SSH support: YES
        23793:20200711:101842.294 IPv6 support: YES
        23793:20200711:101842.294 TLS support: YES
        23793:20200711:101842.294 **************************
        23793:20200711:101842.294 using configuration file: /etc/zabbix/zabbix_proxy.conf
        23793:20200711:101842.294 In zbx_load_modules()
        23793:20200711:101842.295 End of zbx_load_modules():SUCCEED
        23793:20200711:101842.295 In init_database_cache()
        23793:20200711:101842.295 In zbx_mem_create() param:'HistoryCacheSize' size:16777216
        23793:20200711:101842.295 valid user addresses: [0xb2c170e0, 0xb3c16ff0] total size: 16776976
        23793:20200711:101842.295 End of zbx_mem_create()
        23793:20200711:101842.295 In zbx_mem_create() param:'HistoryIndexCacheSize' size:4194304
        23793:20200711:101842.296 valid user addresses: [0xb28170f0, 0xb2c16ff0] total size: 4194048
        23793:20200711:101842.296 End of zbx_mem_create()
        23793:20200711:101842.296 End of init_database_cache()
        23793:20200711:101842.298 In init_configuration_cache() size:8388608
        23793:20200711:101842.298 In zbx_mem_create() param:'CacheSize' size:8388608
        23793:20200711:101842.298 valid user addresses: [0xb20170e0, 0xb2816ff0] total size: 8388368
        23793:20200711:101842.298 End of zbx_mem_create()
        23793:20200711:101842.299 End of init_configuration_cache()
        23793:20200711:101842.299 In init_selfmon_collector()
        23793:20200711:101842.299 init_selfmon_collector() size:8432
        23793:20200711:101842.299 End of init_selfmon_collector() collector:0xb6f74000
        23793:20200711:101842.299 In zbx_db_get_database_type()
        23793:20200711:101842.300 In DBconnect() flag:0
        23793:20200711:101842.306 End of DBconnect():0
        23793:20200711:101842.306 query [txnlev:0] [select userid from users limit 1]
        23793:20200711:101842.306 no records in "users" table
        23793:20200711:101842.306 End of zbx_db_get_database_type():ZBX_DB_PROXY
        23793:20200711:101842.306 In DBcheck_version()
        23793:20200711:101842.306 In DBconnect() flag:0
        23793:20200711:101842.308 End of DBconnect():0
        23793:20200711:101842.308 query [txnlev:0] [show tables like 'dbversion']
        23793:20200711:101842.310 query [txnlev:0] [select mandatory,optional from dbversion]
        23793:20200711:101842.310 current database version (mandatory/optional): 05000000/05000000
        23793:20200711:101842.310 required mandatory version: 05000000
        23793:20200711:101842.310 End of DBcheck_version():SUCCEED
        23793:20200711:101842.310 In DBconnect() flag:0
        23793:20200711:101842.311 End of DBconnect():0
        23793:20200711:101842.311 query [txnlev:0] [select default_character_set_name,default_collation_name from information_schema.SCHEMATA where schema_name='zabbix_proxy']
        23793:20200711:101842.312 query [txnlev:0] [select count(*) from information_schema.`COLUMNS` where table_schema='zabbix_proxy' and data_type in ('text','varchar','longtext') and (character_set_name<>'utf8' or collation_name<>'utf8_bin')]
        23793:20200711:101842.323 listener failed: zbx_tcp_listen() fatal error: unable to serve on any address [[-]:10051]
        23891:20200711:101852.548 Starting Zabbix Proxy (active) [cfaProxy]. Zabbix 5.0.1 (revision c2a0b03480).
        23891:20200711:101852.548 **** Enabled features ****
        23891:20200711:101852.548 SNMP monitoring: YES
        23891:20200711:101852.548 IPMI monitoring: YES
        23891:20200711:101852.548 Web monitoring: YES
        23891:20200711:101852.548 VMware monitoring: YES
        23891:20200711:101852.548 ODBC: YES
        23891:20200711:101852.548 SSH support: YES
        23891:20200711:101852.548 IPv6 support: YES
        23891:20200711:101852.548 TLS support: YES
        23891:20200711:101852.549 **************************
        23891:20200711:101852.549 using configuration file: /etc/zabbix/zabbix_proxy.conf
        23891:20200711:101852.549 In zbx_load_modules()
        23891:20200711:101852.549 End of zbx_load_modules():SUCCEED
        23891:20200711:101852.549 In init_database_cache()
        23891:20200711:101852.549 In zbx_mem_create() param:'HistoryCacheSize' size:16777216
        23891:20200711:101852.549 valid user addresses: [0xb2c0d0e0, 0xb3c0cff0] total size: 16776976
        23891:20200711:101852.549 End of zbx_mem_create()
        23891:20200711:101852.550 In zbx_mem_create() param:'HistoryIndexCacheSize' size:4194304
        23891:20200711:101852.550 valid user addresses: [0xb280d0f0, 0xb2c0cff0] total size: 4194048
        23891:20200711:101852.550 End of zbx_mem_create()
        23891:20200711:101852.550 End of init_database_cache()
        23891:20200711:101852.550 In init_configuration_cache() size:8388608
        23891:20200711:101852.550 In zbx_mem_create() param:'CacheSize' size:8388608
        23891:20200711:101852.552 valid user addresses: [0xb200d0e0, 0xb280cff0] total size: 8388368
        23891:20200711:101852.552 End of zbx_mem_create()
        23891:20200711:101852.553 End of init_configuration_cache()
        23891:20200711:101852.553 In init_selfmon_collector()
        23891:20200711:101852.553 init_selfmon_collector() size:8432
        23891:20200711:101852.553 End of init_selfmon_collector() collector:0xb6f6a000
        23891:20200711:101852.553 In zbx_db_get_database_type()
        23891:20200711:101852.554 In DBconnect() flag:0
        23891:20200711:101852.560 End of DBconnect():0
        23891:20200711:101852.560 query [txnlev:0] [select userid from users limit 1]
        23891:20200711:101852.560 no records in "users" table
        23891:20200711:101852.560 End of zbx_db_get_database_type():ZBX_DB_PROXY
        23891:20200711:101852.560 In DBcheck_version()
        23891:20200711:101852.560 In DBconnect() flag:0
        23891:20200711:101852.561 End of DBconnect():0
        23891:20200711:101852.562 query [txnlev:0] [show tables like 'dbversion']
        23891:20200711:101852.563 query [txnlev:0] [select mandatory,optional from dbversion]
        23891:20200711:101852.564 current database version (mandatory/optional): 05000000/05000000
        23891:20200711:101852.564 required mandatory version: 05000000
        23891:20200711:101852.564 End of DBcheck_version():SUCCEED
        23891:20200711:101852.564 In DBconnect() flag:0
        23891:20200711:101852.565 End of DBconnect():0
        23891:20200711:101852.565 query [txnlev:0] [select default_character_set_name,default_collation_name from information_schema.SCHEMATA where schema_name='zabbix_proxy']
        23891:20200711:101852.566 query [txnlev:0] [select count(*) from information_schema.`COLUMNS` where table_schema='zabbix_proxy' and data_type in ('text','varchar','longtext') and (character_set_name<>'utf8' or collation_name<>'utf8_bin')]
        23891:20200711:101852.582 listener failed: zbx_tcp_listen() fatal error: unable to serve on any address [[-]:10051]
        24003:20200711:101902.791 Starting Zabbix Proxy (active) [cfaProxy]. Zabbix 5.0.1 (revision c2a0b03480).
        24003:20200711:101902.792 **** Enabled features ****
        24003:20200711:101902.792 SNMP monitoring: YES
        24003:20200711:101902.792 IPMI monitoring: YES
        24003:20200711:101902.792 Web monitoring: YES
        24003:20200711:101902.792 VMware monitoring: YES
        24003:20200711:101902.792 ODBC: YES
        24003:20200711:101902.792 SSH support: YES
        24003:20200711:101902.792 IPv6 support: YES
        24003:20200711:101902.792 TLS support: YES
        24003:20200711:101902.792 **************************
        24003:20200711:101902.792 using configuration file: /etc/zabbix/zabbix_proxy.conf
        24003:20200711:101902.793 In zbx_load_modules()
        24003:20200711:101902.793 End of zbx_load_modules():SUCCEED
        24003:20200711:101902.793 In init_database_cache()
        24003:20200711:101902.793 In zbx_mem_create() param:'HistoryCacheSize' size:16777216
        24003:20200711:101902.793 valid user addresses: [0xb2c570e0, 0xb3c56ff0] total size: 16776976
        24003:20200711:101902.793 End of zbx_mem_create()
        24003:20200711:101902.793 In zbx_mem_create() param:'HistoryIndexCacheSize' size:4194304
        24003:20200711:101902.794 valid user addresses: [0xb28570f0, 0xb2c56ff0] total size: 4194048
        24003:20200711:101902.794 End of zbx_mem_create()
        24003:20200711:101902.794 End of init_database_cache()
        24003:20200711:101902.794 In init_configuration_cache() size:8388608
        24003:20200711:101902.794 In zbx_mem_create() param:'CacheSize' size:8388608
        24003:20200711:101902.797 valid user addresses: [0xb20570e0, 0xb2856ff0] total size: 8388368
        24003:20200711:101902.797 End of zbx_mem_create()
        24003:20200711:101902.798 End of init_configuration_cache()
        24003:20200711:101902.798 In init_selfmon_collector()
        24003:20200711:101902.798 init_selfmon_collector() size:8432
        24003:20200711:101902.798 End of init_selfmon_collector() collector:0xb6fb4000
        24003:20200711:101902.798 In zbx_db_get_database_type()
        24003:20200711:101902.798 In DBconnect() flag:0
        24003:20200711:101902.804 End of DBconnect():0
        24003:20200711:101902.804 query [txnlev:0] [select userid from users limit 1]
        24003:20200711:101902.804 no records in "users" table
        24003:20200711:101902.804 End of zbx_db_get_database_type():ZBX_DB_PROXY
        24003:20200711:101902.805 In DBcheck_version()
        24003:20200711:101902.805 In DBconnect() flag:0
        24003:20200711:101902.806 End of DBconnect():0
        24003:20200711:101902.806 query [txnlev:0] [show tables like 'dbversion']
        24003:20200711:101902.808 query [txnlev:0] [select mandatory,optional from dbversion]
        24003:20200711:101902.808 current database version (mandatory/optional): 05000000/05000000
        24003:20200711:101902.808 required mandatory version: 05000000
        24003:20200711:101902.808 End of DBcheck_version():SUCCEED
        24003:20200711:101902.808 In DBconnect() flag:0
        24003:20200711:101902.809 End of DBconnect():0
        24003:20200711:101902.809 query [txnlev:0] [select default_character_set_name,default_collation_name from information_schema.SCHEMATA where schema_name='zabbix_proxy']
        24003:20200711:101902.810 query [txnlev:0] [select count(*) from information_schema.`COLUMNS` where table_schema='zabbix_proxy' and data_type in ('text','varchar','longtext') and (character_set_name<>'utf8' or collation_name<>'utf8_bin')]
        24003:20200711:101902.818 listener failed: zbx_tcp_listen() fatal error: unable to serve on any address [[-]:10051]
        24186:20200711:101913.044 Starting Zabbix Proxy (active) [cfaProxy]. Zabbix 5.0.1 (revision c2a0b03480).
        24186:20200711:101913.044 **** Enabled features ****
        24186:20200711:101913.044 SNMP monitoring: YES
        24186:20200711:101913.044 IPMI monitoring: YES
        24186:20200711:101913.044 Web monitoring: YES
        24186:20200711:101913.044 VMware monitoring: YES
        24186:20200711:101913.044 ODBC: YES
        24186:20200711:101913.044 SSH support: YES
        24186:20200711:101913.044 IPv6 support: YES
        24186:20200711:101913.044 TLS support: YES
        24186:20200711:101913.045 **************************
        24186:20200711:101913.045 using configuration file: /etc/zabbix/zabbix_proxy.conf
        24186:20200711:101913.045 In zbx_load_modules()
        24186:20200711:101913.045 End of zbx_load_modules():SUCCEED
        24186:20200711:101913.045 In init_database_cache()
        24186:20200711:101913.045 In zbx_mem_create() param:'HistoryCacheSize' size:16777216
        24186:20200711:101913.045 valid user addresses: [0xb2c2b0e0, 0xb3c2aff0] total size: 16776976
        24186:20200711:101913.045 End of zbx_mem_create()
        24186:20200711:101913.045 In zbx_mem_create() param:'HistoryIndexCacheSize' size:4194304
        24186:20200711:101913.046 valid user addresses: [0xb282b0f0, 0xb2c2aff0] total size: 4194048
        24186:20200711:101913.046 End of zbx_mem_create()
        24186:20200711:101913.046 End of init_database_cache()
        24186:20200711:101913.046 In init_configuration_cache() size:8388608
        24186:20200711:101913.046 In zbx_mem_create() param:'CacheSize' size:8388608
        24186:20200711:101913.046 valid user addresses: [0xb202b0e0, 0xb282aff0] total size: 8388368
        24186:20200711:101913.046 End of zbx_mem_create()
        24186:20200711:101913.048 End of init_configuration_cache()
        24186:20200711:101913.048 In init_selfmon_collector()
        24186:20200711:101913.048 init_selfmon_collector() size:8432
        24186:20200711:101913.048 End of init_selfmon_collector() collector:0xb6f88000
        24186:20200711:101913.048 In zbx_db_get_database_type()
        24186:20200711:101913.048 In DBconnect() flag:0
        24186:20200711:101913.053 End of DBconnect():0
        24186:20200711:101913.053 query [txnlev:0] [select userid from users limit 1]
        24186:20200711:101913.053 no records in "users" table
        24186:20200711:101913.053 End of zbx_db_get_database_type():ZBX_DB_PROXY
        24186:20200711:101913.053 In DBcheck_version()
        24186:20200711:101913.053 In DBconnect() flag:0
        24186:20200711:101913.054 End of DBconnect():0
        24186:20200711:101913.054 query [txnlev:0] [show tables like 'dbversion']
        24186:20200711:101913.056 query [txnlev:0] [select mandatory,optional from dbversion]
        24186:20200711:101913.056 current database version (mandatory/optional): 05000000/05000000
        24186:20200711:101913.056 required mandatory version: 05000000
        24186:20200711:101913.056 End of DBcheck_version():SUCCEED
        24186:20200711:101913.056 In DBconnect() flag:0
        24186:20200711:101913.057 End of DBconnect():0
        24186:20200711:101913.058 query [txnlev:0] [select default_character_set_name,default_collation_name from information_schema.SCHEMATA where schema_name='zabbix_proxy']
        24186:20200711:101913.058 query [txnlev:0] [select count(*) from information_schema.`COLUMNS` where table_schema='zabbix_proxy' and data_type in ('text','varchar','longtext') and (character_set_name<>'utf8' or collation_name<>'utf8_bin')]
        24186:20200711:101913.069 listener failed: zbx_tcp_listen() fatal error: unable to serve on any address [[-]:10051]
        3 zabbix_server.log
        Code:
        23529:20200711:101823.077 Starting Zabbix Server. Zabbix 5.0.1 (revision c2a0b03480).
        23529:20200711:101823.078 ****** Enabled features ******
        23529:20200711:101823.078 SNMP monitoring: YES
        23529:20200711:101823.078 IPMI monitoring: YES
        23529:20200711:101823.078 Web monitoring: YES
        23529:20200711:101823.078 VMware monitoring: YES
        23529:20200711:101823.078 SMTP authentication: YES
        23529:20200711:101823.078 ODBC: YES
        23529:20200711:101823.078 SSH support: YES
        23529:20200711:101823.078 IPv6 support: YES
        23529:20200711:101823.078 TLS support: YES
        23529:20200711:101823.078 ******************************
        23529:20200711:101823.078 using configuration file: /etc/zabbix/zabbix_server.conf
        23529:20200711:101823.095 current database version (mandatory/optional): 05000000/05000000
        23529:20200711:101823.095 required mandatory version: 05000000
        23529:20200711:101823.117 server #0 started [main process]
        23538:20200711:101823.120 server #1 started [configuration syncer #1]
        23539:20200711:101823.222 server #2 started [housekeeper #1]
        23540:20200711:101823.224 server #3 started [timer #1]
        23541:20200711:101823.225 server #4 started [http poller #1]
        23543:20200711:101823.232 server #6 started [history syncer #1]
        23544:20200711:101823.232 server #7 started [history syncer #2]
        23542:20200711:101823.235 server #5 started [discoverer #1]
        23546:20200711:101823.236 server #9 started [history syncer #4]
        23545:20200711:101823.236 server #8 started [history syncer #3]
        23549:20200711:101823.241 server #12 started [self-monitoring #1]
        23551:20200711:101823.244 server #14 started [poller #1]
        23547:20200711:101823.246 server #10 started [escalator #1]
        23548:20200711:101823.246 server #11 started [proxy poller #1]
        23553:20200711:101823.255 server #16 started [poller #3]
        23555:20200711:101823.261 server #18 started [poller #5]
        23552:20200711:101823.262 server #15 started [poller #2]
        23550:20200711:101823.262 server #13 started [task manager #1]
        23554:20200711:101823.266 server #17 started [poller #4]
        23556:20200711:101823.269 server #19 started [unreachable poller #1]
        23559:20200711:101823.281 server #22 started [trapper #3]
        23558:20200711:101823.296 server #21 started [trapper #2]
        23560:20200711:101823.297 server #23 started [trapper #4]
        23557:20200711:101823.306 server #20 started [trapper #1]
        23561:20200711:101823.306 server #24 started [trapper #5]
        23564:20200711:101823.316 server #27 started [alerter #1]
        23562:20200711:101823.317 server #25 started [icmp pinger #1]
        23566:20200711:101823.318 server #29 started [alerter #3]
        23563:20200711:101823.321 server #26 started [alert manager #1]
        23565:20200711:101823.322 server #28 started [alerter #2]
        23567:20200711:101823.330 server #30 started [preprocessing manager #1]
        23568:20200711:101823.335 server #31 started [preprocessing worker #1]
        23569:20200711:101823.337 server #32 started [preprocessing worker #2]
        23570:20200711:101823.338 server #33 started [preprocessing worker #3]
        23572:20200711:101823.339 server #35 started [lld worker #1]
        23573:20200711:101823.341 server #36 started [lld worker #2]
        23571:20200711:101823.342 server #34 started [lld manager #1]
        23574:20200711:101823.344 server #37 started [alert syncer #1]
        23558:20200711:101824.255 cannot parse proxy data from active proxy at "192.168.1.8": missing name of proxy
        23548:20200711:101824.258 cannot process proxy "cfaProxy": protocol version 3.2 is not supported anymore
        23559:20200711:101825.261 cannot parse proxy data from active proxy at "192.168.1.8": missing name of proxy
        23557:20200711:101826.267 cannot parse proxy data from active proxy at "192.168.1.8": missing name of proxy
        23560:20200711:101827.274 cannot parse proxy data from active proxy at "192.168.1.8": missing name of proxy
        23559:20200711:101827.694 cannot send list of active checks to "192.168.1.8": host [cfaProxy] not found
        23559:20200711:101828.278 cannot parse proxy data from active proxy at "192.168.1.8": missing name of proxy
        23557:20200711:101829.282 cannot parse proxy data from active proxy at "192.168.1.8": missing name of proxy
        23559:20200711:101830.295 cannot parse proxy data from active proxy at "192.168.1.8": missing name of proxy
        23560:20200711:101831.300 cannot parse proxy data from active proxy at "192.168.1.8": missing name of proxy
        23559:20200711:101832.304 cannot parse proxy data from active proxy at "192.168.1.8": missing name of proxy
        23557:20200711:101833.307 cannot parse proxy data from active proxy at "192.168.1.8": missing name of proxy
        23559:20200711:101834.311 cannot parse proxy data from active proxy at "192.168.1.8": missing name of proxy
        23560:20200711:101835.315 cannot parse proxy data from active proxy at "192.168.1.8": missing name of proxy
        23559:20200711:101836.328 cannot parse proxy data from active proxy at "192.168.1.8": missing name of proxy
        23559:20200711:101837.333 cannot parse proxy data from active proxy at "192.168.1.8": missing name of proxy
        23559:20200711:101838.338 cannot parse proxy data from active proxy at "192.168.1.8": missing name of proxy
        23557:20200711:101839.345 cannot parse proxy data from active proxy at "192.168.1.8": missing name of proxy
        23559:20200711:101840.350 cannot parse proxy data from active proxy at "192.168.1.8": missing name of proxy
        23560:20200711:101841.355 cannot parse proxy data from active proxy at "192.168.1.8": missing name of proxy
        23559:20200711:101842.367 cannot parse proxy data from active proxy at "192.168.1.8": missing name of proxy
        23561:20200711:101843.372 cannot parse proxy data from active proxy at "192.168.1.8": missing name of proxy
        23557:20200711:101844.376 cannot parse proxy data from active proxy at "192.168.1.8": missing name of proxy
        23559:20200711:101845.380 cannot parse proxy data from active proxy at "192.168.1.8": missing name of proxy
        23560:20200711:101846.385 cannot parse proxy data from active proxy at "192.168.1.8": missing name of proxy
        23559:20200711:101847.389 cannot parse proxy data from active proxy at "192.168.1.8": missing name of proxy
        23558:20200711:101848.399 cannot parse proxy data from active proxy at "192.168.1.8": missing name of proxy
        23559:20200711:101849.401 cannot parse proxy data from active proxy at "192.168.1.8": missing name of proxy
        23557:20200711:101850.405 cannot parse proxy data from active proxy at "192.168.1.8": missing name of proxy
        23559:20200711:101851.410 cannot parse proxy data from active proxy at "192.168.1.8": missing name of proxy
        23558:20200711:101852.414 cannot parse proxy data from active proxy at "192.168.1.8": missing name of proxy
        23559:20200711:101853.419 cannot parse proxy data from active proxy at "192.168.1.8": missing name of proxy
        23559:20200711:101854.435 cannot parse proxy data from active proxy at "192.168.1.8": missing name of proxy
        23559:20200711:101855.439 cannot parse proxy data from active proxy at "192.168.1.8": missing name of proxy
        23559:20200711:101856.443 cannot parse proxy data from active proxy at "192.168.1.8": missing name of proxy
        23559:20200711:101857.447 cannot parse proxy data from active proxy at "192.168.1.8": missing name of proxy
        23559:20200711:101858.450 cannot parse proxy data from active proxy at "192.168.1.8": missing name of proxy
        23560:20200711:101859.454 cannot parse proxy data from active proxy at "192.168.1.8": missing name of proxy
        23559:20200711:101900.465 cannot parse proxy data from active proxy at "192.168.1.8": missing name of proxy
        23557:20200711:101901.470 cannot parse proxy data from active proxy at "192.168.1.8": missing name of proxy
        23559:20200711:101902.475 cannot parse proxy data from active proxy at "192.168.1.8": missing name of proxy
        23559:20200711:101903.479 cannot parse proxy data from active proxy at "192.168.1.8": missing name of proxy
        23559:20200711:101904.483 cannot parse proxy data from active proxy at "192.168.1.8": missing name of proxy
        23559:20200711:101905.487 cannot parse proxy data from active proxy at "192.168.1.8": missing name of proxy
        23559:20200711:101906.503 cannot parse proxy data from active proxy at "192.168.1.8": missing name of proxy
        23558:20200711:101907.507 cannot parse proxy data from active proxy at "192.168.1.8": missing name of proxy
        23557:20200711:101908.510 cannot parse proxy data from active proxy at "192.168.1.8": missing name of proxy
        23557:20200711:101909.515 cannot parse proxy data from active proxy at "192.168.1.8": missing name of proxy
        23557:20200711:101910.518 cannot parse proxy data from active proxy at "192.168.1.8": missing name of proxy
        23559:20200711:101911.523 cannot parse proxy data from active proxy at "192.168.1.8": missing name of proxy
        23558:20200711:101912.535 cannot parse proxy data from active proxy at "192.168.1.8": missing name of proxy
        23558:20200711:101913.540 cannot parse proxy data from active proxy at "192.168.1.8": missing name of proxy
        23558:20200711:101914.543 cannot parse proxy data from active proxy at "192.168.1.8": missing name of proxy
        23558:20200711:101915.547 cannot parse proxy data from active proxy at "192.168.1.8": missing name of proxy

        Comment

        • Hamardaban
          Senior Member
          Zabbix Certified SpecialistZabbix Certified Professional
          • May 2019
          • 2713

          #5
          Try EXPLICITLY specifying the IP address for listening.

          Comment

          • anghinonic
            Junior Member
            • Jul 2020
            • 8

            #6
            i'll try, but which IP address needs to be specified, each single host?? or it's possible to set a list of CIDR
            ex. 192.168.16.0/24, 10.67.0.0/24, etc.

            Comment

            • Hamardaban
              Senior Member
              Zabbix Certified SpecialistZabbix Certified Professional
              • May 2019
              • 2713

              #7
              «List of comma delimited IP addresses that the trapper should listen on. «
              Specify the IP address at which this proxy will be available to the server. This is usually one of the IP addresses configured in the operating system.

              Comment

              • anghinonic
                Junior Member
                • Jul 2020
                • 8

                #8
                none
                zabbix_agent.log
                Code:
                9159:20200711:192545.253 Starting Zabbix Agent [cfaProxy]. Zabbix 5.0.1 (revision c2a0b03480).
                9159:20200711:192545.254 **** Enabled features ****
                9159:20200711:192545.254 IPv6 support: YES
                9159:20200711:192545.254 TLS support: YES
                9159:20200711:192545.254 **************************
                9159:20200711:192545.254 using configuration file: /etc/zabbix/zabbix_agentd.conf
                9159:20200711:192545.255 agent #0 started [main process]
                9161:20200711:192545.258 agent #2 started[listener #1]
                9160:20200711:192545.261 agent #1 started [collector]
                9165:20200711:192545.262 agent #5 started [active checks #1]
                9164:20200711:192545.262 agent #4 started[listener #3]
                9162:20200711:192545.265 agent #3 started[listener #2]
                9165:20200711:192545.274 no active checks on server [192.168.1.8:10051]: host [cfaProxy] not found
                proxy
                Code:
                9796:20200711:192651.992 Starting Zabbix Proxy (active) [cfaProxy]. Zabbix 5.0.1 (revision c2a0b03480).
                9796:20200711:192651.992 **** Enabled features ****
                9796:20200711:192651.992 SNMP monitoring: YES
                9796:20200711:192651.992 IPMI monitoring: YES
                9796:20200711:192651.992 Web monitoring: YES
                9796:20200711:192651.993 VMware monitoring: YES
                9796:20200711:192651.993 ODBC: YES
                9796:20200711:192651.993 SSH support: YES
                9796:20200711:192651.993 IPv6 support: YES
                9796:20200711:192651.993 TLS support: YES
                9796:20200711:192651.993 **************************
                9796:20200711:192651.993 using configuration file: /etc/zabbix/zabbix_proxy.conf
                9796:20200711:192651.993 In zbx_load_modules()
                9796:20200711:192651.993 End of zbx_load_modules():SUCCEED
                9796:20200711:192651.994 In init_database_cache()
                9796:20200711:192651.994 In zbx_mem_create() param:'HistoryCacheSize' size:16777216
                9796:20200711:192651.994 valid user addresses: [0xb2c0d0e0, 0xb3c0cff0] total size: 16776976
                9796:20200711:192651.994 End of zbx_mem_create()
                9796:20200711:192651.994 In zbx_mem_create() param:'HistoryIndexCacheSize' size:4194304
                9796:20200711:192651.995 valid user addresses: [0xb280d0f0, 0xb2c0cff0] total size: 4194048
                9796:20200711:192651.995 End of zbx_mem_create()
                9796:20200711:192651.995 End of init_database_cache()
                9796:20200711:192651.995 In init_configuration_cache() size:8388608
                9796:20200711:192651.995 In zbx_mem_create() param:'CacheSize' size:8388608
                9796:20200711:192651.996 valid user addresses: [0xb200d0e0, 0xb280cff0] total size: 8388368
                9796:20200711:192651.996 End of zbx_mem_create()
                9796:20200711:192651.996 End of init_configuration_cache()
                9796:20200711:192651.996 In init_selfmon_collector()
                9796:20200711:192651.997 init_selfmon_collector() size:8432
                9796:20200711:192651.997 End of init_selfmon_collector() collector:0xb6f6a000
                9796:20200711:192651.997 In zbx_db_get_database_type()
                9796:20200711:192651.997 In DBconnect() flag:0
                9796:20200711:192652.005 End of DBconnect():0
                9796:20200711:192652.005 query [txnlev:0] [select userid from users limit 1]
                9796:20200711:192652.005 no records in "users" table
                9796:20200711:192652.005 End of zbx_db_get_database_type():ZBX_DB_PROXY
                9796:20200711:192652.005 In DBcheck_version()
                9796:20200711:192652.005 In DBconnect() flag:0
                9796:20200711:192652.007 End of DBconnect():0
                9796:20200711:192652.007 query [txnlev:0] [show tables like 'dbversion']
                9796:20200711:192652.009 query [txnlev:0] [select mandatory,optional from dbversion]
                9796:20200711:192652.010 current database version (mandatory/optional): 05000000/05000000
                9796:20200711:192652.010 required mandatory version: 05000000
                9796:20200711:192652.010 End of DBcheck_version():SUCCEED
                9796:20200711:192652.010 In DBconnect() flag:0
                9796:20200711:192652.011 End of DBconnect():0
                9796:20200711:192652.011 query [txnlev:0] [select default_character_set_name,default_collation_name from information_schema.SCHEMATA where schema_name='zabbix_proxy']
                9796:20200711:192652.011 query [txnlev:0] [select count(*) from information_schema.`COLUMNS` where table_schema='zabbix_proxy' and data_type in ('text','varchar','longtext') and (character_set_name<>'utf8' or collation_name<>'utf8_bin')]
                9796:20200711:192652.019 listener failed: bind() for [[192.168.1.1]:10051] failed: [99] Cannot assign requested address
                Server

                Code:
                9071:20200711:192540.978 Starting Zabbix Server. Zabbix 5.0.1 (revision c2a0b03480).
                9071:20200711:192540.979 ****** Enabled features ******
                9071:20200711:192540.979 SNMP monitoring: YES
                9071:20200711:192540.979 IPMI monitoring: YES
                9071:20200711:192540.979 Web monitoring: YES
                9071:20200711:192540.979 VMware monitoring: YES
                9071:20200711:192540.979 SMTP authentication: YES
                9071:20200711:192540.979 ODBC: YES
                9071:20200711:192540.979 SSH support: YES
                9071:20200711:192540.979 IPv6 support: YES
                9071:20200711:192540.979 TLS support: YES
                9071:20200711:192540.979 ******************************
                9071:20200711:192540.979 using configuration file: /etc/zabbix/zabbix_server.conf
                9071:20200711:192540.989 current database version (mandatory/optional): 05000000/05000000
                9071:20200711:192540.989 required mandatory version: 05000000
                9071:20200711:192541.013 server #0 started [main process]
                9074:20200711:192541.015 server #1 started [configuration syncer #1]
                9076:20200711:192541.118 server #2 started [housekeeper #1]
                9077:20200711:192541.120 server #3 started [timer #1]
                9079:20200711:192541.123 server #5 started [discoverer #1]
                9080:20200711:192541.126 server #6 started [history syncer #1]
                9078:20200711:192541.127 server #4 started [http poller #1]
                9081:20200711:192541.129 server #7 started [history syncer #2]
                9083:20200711:192541.134 server #9 started [history syncer #4]
                9084:20200711:192541.137 server #10 started [escalator #1]
                9082:20200711:192541.143 server #8 started [history syncer #3]
                9086:20200711:192541.144 server #12 started [self-monitoring #1]
                9087:20200711:192541.144 server #13 started [task manager #1]
                9085:20200711:192541.147 server #11 started [proxy poller #1]
                9088:20200711:192541.149 server #14 started [poller #1]
                9089:20200711:192541.153 server #15 started [poller #2]
                9090:20200711:192541.157 server #16 started [poller #3]
                9091:20200711:192541.163 server #17 started [poller #4]
                9092:20200711:192541.165 server #18 started [poller #5]
                9098:20200711:192541.167 server #24 started [trapper #5]
                9094:20200711:192541.173 server #20 started [trapper #1]
                9097:20200711:192541.174 server #23 started [trapper #4]
                9096:20200711:192541.182 server #22 started [trapper #3]
                9093:20200711:192541.183 server #19 started [unreachable poller #1]
                9101:20200711:192541.184 server #27 started [alerter #1]
                9100:20200711:192541.184 server #26 started [alert manager #1]
                9095:20200711:192541.186 server #21 started [trapper #2]
                9099:20200711:192541.194 server #25 started [icmp pinger #1]
                9104:20200711:192541.203 server #30 started [preprocessing manager #1]
                9105:20200711:192541.205 server #31 started [preprocessing worker #1]
                9103:20200711:192541.213 server #29 started [alerter #3]
                9102:20200711:192541.214 server #28 started [alerter #2]
                9108:20200711:192541.220 server #34 started [lld manager #1]
                9107:20200711:192541.224 server #33 started [preprocessing worker #3]
                9111:20200711:192541.228 server #35 started [lld worker #1]
                9113:20200711:192541.232 server #37 started [alert syncer #1]
                9112:20200711:192541.238 server #36 started [lld worker #2]
                9106:20200711:192541.242 server #32 started [preprocessing worker #2]
                9095:20200711:192542.171 cannot parse proxy data from active proxy at "192.168.1.8": missing name of proxy
                9085:20200711:192542.174 cannot process proxy "cfaProxy": protocol version 3.2 is not supported anymore
                9098:20200711:192543.177 cannot parse proxy data from active proxy at "192.168.1.8": missing name of proxy
                9096:20200711:192544.184 cannot parse proxy data from active proxy at "192.168.1.8": missing name of proxy
                9094:20200711:192545.190 cannot parse proxy data from active proxy at "192.168.1.8": missing name of proxy
                9097:20200711:192545.274 cannot send list of active checks to "192.168.1.8": host [cfaProxy] not found
                9094:20200711:192546.194 cannot parse proxy data from active proxy at "192.168.1.8": missing name of proxy
                9096:20200711:192547.206 cannot parse proxy data from active proxy at "192.168.1.8": missing name of proxy
                9095:20200711:192548.209 cannot parse proxy data from active proxy at "192.168.1.8": missing name of proxy
                9094:20200711:192549.213 cannot parse proxy data from active proxy at "192.168.1.8": missing name of proxy
                9098:20200711:192550.216 cannot parse proxy data from active proxy at "192.168.1.8": missing name of proxy
                9095:20200711:192551.221 cannot parse proxy data from active proxy at "192.168.1.8": missing name of proxy

                Comment

                • Hamardaban
                  Senior Member
                  Zabbix Certified SpecialistZabbix Certified Professional
                  • May 2019
                  • 2713

                  #9
                  Please show the output of the ifconfig command on a computer with a proxy.

                  Comment

                  • anghinonic
                    Junior Member
                    • Jul 2020
                    • 8

                    #10
                    eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
                    inet 192.168.1.8 netmask 255.255.255.0 broadcast 192.168.1.255
                    inet6 fe80::b37a:a28f:1aed:17a prefixlen 64 scopeid 0x20<link>
                    ether dc:a6:32:28:80:75 txqueuelen 1000 (Ethernet)
                    RX packets 2752898 bytes 1842757598 (1.7 GiB)
                    RX errors 0 dropped 0 overruns 0 frame 0
                    TX packets 1854446 bytes 131712561 (125.6 MiB)
                    TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

                    lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
                    inet 127.0.0.1 netmask 255.0.0.0
                    inet6 ::1 prefixlen 128 scopeid 0x10<host>
                    loop txqueuelen 1000 (Local Loopback)
                    RX packets 690782 bytes 49215666 (46.9 MiB)
                    RX errors 0 dropped 0 overruns 0 frame 0
                    TX packets 690782 bytes 49215666 (46.9 MiB)
                    TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

                    wlan0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
                    inet 192.168.67.104 netmask 255.255.255.0 broadcast 192.168.67.255
                    inet6 fe80::d9eb:b402:9647:cd8d prefixlen 64 scopeid 0x20<link>
                    inet6 fdde:1fff:b601:1:cd86:6b65:3e29:29ca prefixlen 64 scopeid 0x0<global>
                    ether dc:a6:32:28:80:76 txqueuelen 1000 (Ethernet)
                    RX packets 22662 bytes 2442669 (2.3 MiB)
                    RX errors 0 dropped 0 overruns 0 frame 0
                    TX packets 576844 bytes 85953621 (81.9 MiB)
                    TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

                    Comment

                    • Hamardaban
                      Senior Member
                      Zabbix Certified SpecialistZabbix Certified Professional
                      • May 2019
                      • 2713

                      #11
                      Try to explain to yourself why you specified the proxy address 192.168.1.1 in the config which is not in the system.

                      Comment

                      • anghinonic
                        Junior Member
                        • Jul 2020
                        • 8

                        #12
                        192.168.1.1 where??? just in ListenIP parameter, as you suggest in previous post

                        but no problem, zabbix removed! i'm going to nagios that helps me to install & configure my monitors without lag

                        Comment

                        • Hamardaban
                          Senior Member
                          Zabbix Certified SpecialistZabbix Certified Professional
                          • May 2019
                          • 2713

                          #13
                          I am very happy for you that you were able to find a system for your knowledge and skills. With best wishes.

                          Comment

                          • anghinonic
                            Junior Member
                            • Jul 2020
                            • 8

                            #14
                            or maybe just someone who writes their documentation better

                            Comment

                            • Chassepa
                              Junior Member
                              • Sep 2016
                              • 5

                              #15
                              HI,

                              Sorry I am late to answer this post. Hope that you will be noticed that I answered your post.

                              I agree with you that the documentation on how to use a proxy server is not the best.
                              I read all the posts and I have two observations:

                              1) You wrote on your first post that your proxy was configured as a passive proxy. But in the code you provided for your zabbix_proxy.conf file in the second post the line 'ProxyMode=1' is commented out. So your proxy was running as a 'active proxy'

                              2) From the remaining of the discussion I believe that your problem was that you did not create a 'proxy host' on you zabbix server. That's the reason why you had those messages:

                              Code:
                              cannot parse proxy data from[B] active proxy[/B] at "192.168.1.8": missing name of proxy
                              To create a proxy on the server you use the web interface and go to the Administration->Proxies menu and click on the 'Create a proxy' button.

                              One last word. Before we decided to use zabbix at my organization, we have tested 3 other products: Whatsup Gold, PRTG and Nagios. Nagios did good but we choose Zabbix because of its versatility.

                              Bye

                              Comment

                              Working...