Ad Widget

Collapse

Failed to accept an incoming connection: connection from rejected

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • al_limelab
    Junior Member
    • Jan 2017
    • 3

    #1

    Failed to accept an incoming connection: connection from rejected

    I have been able to get the agent to connect, but over the course of a few minutes the system reports the agent is not reachable.

    I have debugging on right now and receiving the following error
    "failed to accept an incoming connection: connection from "192.168.200.196" rejected, allowed hosts: "192.168.200.7""

    I have verified my ServerActive and Server options and they are correct. I found a few other threads, with this thread relating pretty closely



    However I am not sure how it was fixed as there was nothing to elaborate on the fix.
  • batchenr
    Senior Member
    • Sep 2016
    • 440

    #2
    Originally posted by al_limelab
    I have been able to get the agent to connect, but over the course of a few minutes the system reports the agent is not reachable.

    I have debugging on right now and receiving the following error
    "failed to accept an incoming connection: connection from "192.168.200.196" rejected, allowed hosts: "192.168.200.7""

    I have verified my ServerActive and Server options and they are correct. I found a few other threads, with this thread relating pretty closely



    However I am not sure how it was fixed as there was nothing to elaborate on the fix.
    1.can you post your agent.conf file ?
    2.please try to add debug to agent conf and restart agent and post some logs.
    3.check at the conf at the server where you have set 192.168.200.7 as allowed host.
    4.the reference site you added - they say something about agented.d file
    check it and see if you have something overriding your configurations.

    /etc/zabbix/zabbix_agentd.d/

    Comment

    • al_limelab
      Junior Member
      • Jan 2017
      • 3

      #3
      I was able to resolve the error about the failed to accept an incoming connection. However now I have a few devices that will not stay connected.

      agent.conf


      # This is a configuration file for Zabbix agent service (Windows)
      # To get more information about Zabbix, visit http://www.zabbix.com

      ############ GENERAL PARAMETERS #################

      ### Option: LogType
      # Specifies where log messages are written to:
      # system - Windows event log
      # file - file specified with LogFile parameter
      # console - standard output
      #
      # Mandatory: no
      # Default:
      # LogType=file

      ### Option: LogFile
      # Log file name for LogType 'file' parameter.
      #
      # Mandatory: no
      # Default:
      # LogFile=

      LogFile=c:\zabbix_agentd.log

      ### Option: LogFileSize
      # Maximum size of log file in MB.
      # 0 - disable automatic log rotation.
      #
      # Mandatory: no
      # Range: 0-1024
      # Default:
      # LogFileSize=1

      ### 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

      ### Option: SourceIP
      # Source IP address for outgoing connections.
      #
      # Mandatory: no
      # Default:
      # SourceIP=

      ### 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

      ##### Passive checks related

      ### Option: Server
      # List of comma delimited IP addresses (or hostnames) of Zabbix servers.
      # Incoming connections will be accepted only from the hosts listed here.
      # If IPv6 support is enabled then '127.0.0.1', '::127.0.0.1', '::ffff:127.0.0.1' are treated equally.
      #
      # Mandatory: no
      # Default:
      # Server=

      Server=192.168.200.196

      ### Option: ListenPort
      # Agent will listen on this port for connections from the server.
      #
      # Mandatory: no
      # Range: 1024-32767
      # Default:
      # ListenPort=10050

      ### Option: ListenIP
      # List of comma delimited IP addresses that the agent should listen on.
      # First IP address is sent to Zabbix server if connecting to it to retrieve list of active checks.
      #
      # Mandatory: no
      # Default:
      # ListenIP=0.0.0.0

      ### Option: StartAgents
      # Number of pre-forked instances of zabbix_agentd that process passive checks.
      # If set to 0, disables passive checks and the agent will not listen on any TCP port.
      #
      # Mandatory: no
      # Range: 0-100
      # Default:
      # StartAgents=3

      ##### Active checks related

      ### Option: ServerActive
      # List of comma delimited IPort (or hostnameort) pairs of Zabbix servers for active checks.
      # If port is not specified, default port is used.
      # IPv6 addresses must be enclosed in square brackets if port for that host is specified.
      # If port is not specified, square brackets for IPv6 addresses are optional.
      # If this parameter is not specified, active checks are disabled.
      # Example: ServerActive=127.0.0.1:20051,zabbix.domain,[::1]:30051,::1,[12fc::1]
      #
      # Mandatory: no
      # Default:
      # ServerActive=

      ServerActive=192.168.200.196

      ### Option: Hostname
      # Unique, case sensitive hostname.
      # Required for active checks and must match hostname as configured on the server.
      # Value is acquired from HostnameItem if undefined.
      #
      # Mandatory: no
      # Default:
      # Hostname=

      Hostname=AWS-135-FS-02

      ### Option: HostnameItem
      # Item used for generating Hostname if it is undefined. Ignored if Hostname is defined.
      # Does not support UserParameters or aliases.
      #
      # Mandatory: no
      # Default:
      # HostnameItem=system.hostname

      ### Option: HostMetadata
      # Optional parameter that defines host metadata.
      # Host metadata is used at host auto-registration process.
      # An agent will issue an error and not start if the value is over limit of 255 characters.
      # If not defined, value will be acquired from HostMetadataItem.
      #
      # Mandatory: no
      # Range: 0-255 characters
      # Default:
      # HostMetadata=

      ### Option: HostMetadataItem
      # Optional parameter that defines an item used for getting host metadata.
      # Host metadata is used at host auto-registration process.
      # During an auto-registration request an agent will log a warning message if
      # the value returned by specified item is over limit of 255 characters.
      # This option is only used when HostMetadata is not defined.
      #
      # Mandatory: no
      # Default:
      # HostMetadataItem=

      ### Option: RefreshActiveChecks
      # How often list of active checks is refreshed, in seconds.
      #
      # Mandatory: no
      # Range: 60-3600
      # Default:
      # RefreshActiveChecks=120

      ### Option: BufferSend
      # Do not keep data longer than N seconds in buffer.
      #
      # Mandatory: no
      # Range: 1-3600
      # Default:
      # BufferSend=5

      ### Option: BufferSize
      # Maximum number of values in a memory buffer. The agent will send
      # all collected data to Zabbix server or Proxy if the buffer is full.
      #
      # Mandatory: no
      # Range: 2-65535
      # Default:
      # BufferSize=100

      ### Option: MaxLinesPerSecond
      # Maximum number of new lines the agent will send per second to Zabbix Server
      # or Proxy processing 'log', 'logrt' and 'eventlog' active checks.
      # The provided value will be overridden by the parameter 'maxlines',
      # provided in 'log', 'logrt' or 'eventlog' item keys.
      #
      # Mandatory: no
      # Range: 1-1000
      # Default:
      # 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 paging file usage in percents from the server:
      # Alias=pg_usageerf_counter[\Paging File(_Total)\% Usage]
      # Now shorthand key pg_usage may be used to retrieve data.
      # Aliases can be used in HostMetadataItem but not in HostnameItem or PerfCounter parameters.
      #
      # Mandatory: no
      # Range:
      # Default:

      ### Option: Timeout
      # Spend no more than Timeout seconds on processing.
      #
      # Mandatory: no
      # Range: 1-30
      # Default:
      # Timeout=3

      ### Option: PerfCounter
      # Syntax: <parameter_name>,"<perf_counter_path>",<period>
      # Defines new parameter <parameter_name> which is an average value for system performance counter <perf_counter_path> for the specified time period <period> (in seconds).
      # For example, if you wish to receive average number of processor interrupts per second for last minute, you can define new parameter "interrupts" as following:
      # PerfCounter = interrupts,"\Processor(0)\Interrupts/sec",60
      # Please note double quotes around performance counter path.
      # Samples for calculating average value will be taken every second.
      # You may run "typeperf -qx" to get list of all performance counters available in Windows.
      #
      # Mandatory: no
      # Range:
      # Default:

      ### Option: Include
      # You may include individual files in the configuration file.
      #
      # Mandatory: no
      # Default:
      # Include=

      # Include=c:\zabbix\zabbix_agentd.userparams.conf
      # Include=c:\zabbix\zabbix_agentd.conf.d\
      # Include=c:\zabbix\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>
      #
      # Mandatory: no
      # Default:
      # UserParameter=

      ####### 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=


      Debug =5 for this dump below

      3600:20170112:100922.568 Starting Zabbix Agent [AWS-135-FS-02]. Zabbix 3.0.4 (revision 61174).
      3600:20170112:100922.568 **** Enabled features ****
      3600:20170112:100922.568 IPv6 support: YES
      3600:20170112:100922.568 TLS support: NO
      3600:20170112:100922.568 **************************
      3600:20170112:100922.568 using configuration file: C:\Zabbix Agent\zabbix_agentd.win.conf
      3600:20170112:100922.568 In init_collector_data()
      3600:20170112:100922.568 End of init_collector_data()
      3600:20170112:100922.568 In init_perf_collector()
      3600:20170112:100922.568 End of init_perf_collector():SUCCEED
      3600:20170112:100922.568 agent #0 started [main process]
      3884:20170112:100922.584 agent #1 started [collector]
      3884:20170112:100922.584 In init_cpu_collector()
      3884:20170112:100922.584 In get_counter_name() pdhIndex:238
      812:20170112:100922.599 agent #2 started[listener #1]
      2560:20170112:100922.599 agent #3 started[listener #2]
      3984:20170112:100922.599 agent #4 started[listener #3]
      1720:20170112:100922.599 agent #5 started [active checks #1]
      1720:20170112:100922.599 In init_active_metrics()
      1720:20170112:100922.599 buffer: first allocation for 100 elements
      1720:20170112:100922.599 End of init_active_metrics()
      1720:20170112:100922.599 In send_buffer() host:'192.168.200.196' port:10051 entries:0/100
      1720:20170112:100922.599 End of send_buffer():SUCCEED
      1720:20170112:100922.599 In refresh_active_checks() host:'192.168.200.196' port:10051
      1720:20170112:100922.615 sending [{"request":"active checks","host":"AWS-135-FS-02"}]
      1720:20170112:100922.615 before read
      1720:20170112:100922.646 got [{"response":"success","data":[]}]
      1720:20170112:100922.646 In parse_list_of_checks()
      1720:20170112:100922.646 End of parse_list_of_checks():SUCCEED
      1720:20170112:100922.646 End of refresh_active_checks():SUCCEED
      1720:20170112:100922.646 In process_active_checks() server:'192.168.200.196' port:10051
      1720:20170112:100922.646 End of process_active_checks()
      1720:20170112:100922.646 In get_min_nextcheck()
      1720:20170112:100922.646 End of get_min_nextcheck():-1
      3884:20170112:100922.662 End of get_counter_name():SUCCEED
      3884:20170112:100922.662 In get_counter_name() pdhIndex:6
      3884:20170112:100922.662 End of get_counter_name():SUCCEED
      3884:20170112:100922.662 In add_perf_counter() counter:'\Processor(_Total)\% Processor Time' interval:900
      3884:20170112:100922.662 add_perf_counter(): PerfCounter '\Processor(_Total)\% Processor Time' successfully added
      3884:20170112:100922.662 End of add_perf_counter(): SUCCEED
      3884:20170112:100922.662 In add_perf_counter() counter:'\Processor(0)\% Processor Time' interval:900
      3884:20170112:100922.662 add_perf_counter(): PerfCounter '\Processor(0)\% Processor Time' successfully added
      3884:20170112:100922.662 End of add_perf_counter(): SUCCEED
      3884:20170112:100922.662 In get_counter_name() pdhIndex:2
      3884:20170112:100922.662 End of get_counter_name():SUCCEED
      3884:20170112:100922.662 In get_counter_name() pdhIndex:44
      3884:20170112:100922.662 End of get_counter_name():SUCCEED
      3884:20170112:100922.662 In add_perf_counter() counter:'\System\Processor Queue Length' interval:900
      3884:20170112:100922.662 add_perf_counter(): PerfCounter '\System\Processor Queue Length' successfully added
      3884:20170112:100922.662 End of add_perf_counter(): SUCCEED
      3884:20170112:100922.662 End of init_cpu_collector():SUCCEED
      3884:20170112:100922.662 In collect_perfstat()
      3884:20170112:100922.662 End of collect_perfstat()
      1720:20170112:100923.662 In send_buffer() host:'192.168.200.196' port:10051 entries:0/100
      1720:20170112:100923.662 End of send_buffer():SUCCEED
      3884:20170112:100923.677 In collect_perfstat()
      3884:20170112:100923.677 End of collect_perfstat()
      1720:20170112:100924.677 In send_buffer() host:'192.168.200.196' port:10051 entries:0/100
      1720:20170112:100924.677 End of send_buffer():SUCCEED
      3884:20170112:100924.693 In collect_perfstat()
      3884:20170112:100924.693 End of collect_perfstat()
      1720:20170112:100925.693 In send_buffer() host:'192.168.200.196' port:10051 entries:0/100
      1720:20170112:100925.693 End of send_buffer():SUCCEED
      3884:20170112:100925.709 In collect_perfstat()
      3884:20170112:100925.709 End of collect_perfstat()
      1720:20170112:100926.709 In send_buffer() host:'192.168.200.196' port:10051 entries:0/100
      1720:20170112:100926.709 End of send_buffer():SUCCEED
      3884:20170112:100926.724 In collect_perfstat()
      3884:20170112:100926.724 End of collect_perfstat()
      1720:20170112:100927.724 In send_buffer() host:'192.168.200.196' port:10051 entries:0/100
      1720:20170112:100927.724 End of send_buffer():SUCCEED
      3884:20170112:100927.740 In collect_perfstat()
      3884:20170112:100927.740 End of collect_perfstat()
      1720:20170112:100928.740 In send_buffer() host:'192.168.200.196' port:10051 entries:0/100
      1720:20170112:100928.740 End of send_buffer():SUCCEED
      3884:20170112:100928.755 In collect_perfstat()
      3884:20170112:100928.755 End of collect_perfstat()
      1720:20170112:100929.755 In send_buffer() host:'192.168.200.196' port:10051 entries:0/100
      1720:20170112:100929.755 End of send_buffer():SUCCEED
      3884:20170112:100929.771 In collect_perfstat()
      3884:20170112:100929.771 End of collect_perfstat()
      1720:20170112:100930.771 In send_buffer() host:'192.168.200.196' port:10051 entries:0/100
      1720:20170112:100930.771 End of send_buffer():SUCCEED
      3884:20170112:100930.787 In collect_perfstat()
      3884:20170112:100930.787 End of collect_perfstat()
      1720:20170112:100931.787 In send_buffer() host:'192.168.200.196' port:10051 entries:0/100
      1720:20170112:100931.787 End of send_buffer():SUCCEED
      3884:20170112:100931.802 In collect_perfstat()
      3884:20170112:100931.802 End of collect_perfstat()
      1720:20170112:100932.802 In send_buffer() host:'192.168.200.196' port:10051 entries:0/100
      1720:20170112:100932.802 End of send_buffer():SUCCEED
      3884:20170112:100932.818 In collect_perfstat()
      3884:20170112:100932.818 End of collect_perfstat()
      1720:20170112:100933.818 In send_buffer() host:'192.168.200.196' port:10051 entries:0/100
      1720:20170112:100933.818 End of send_buffer():SUCCEED
      3884:20170112:100933.834 In collect_perfstat()
      3884:20170112:100933.834 End of collect_perfstat()
      1720:20170112:100934.834 In send_buffer() host:'192.168.200.196' port:10051 entries:0/100
      1720:20170112:100934.834 End of send_buffer():SUCCEED
      3884:20170112:100934.849 In collect_perfstat()
      3884:20170112:100934.849 End of collect_perfstat()
      1720:20170112:100935.849 In send_buffer() host:'192.168.200.196' port:10051 entries:0/100
      1720:20170112:100935.849 End of send_buffer():SUCCEED
      3884:20170112:100935.865 In collect_perfstat()
      3884:20170112:100935.865 End of collect_perfstat()
      1720:20170112:100936.865 In send_buffer() host:'192.168.200.196' port:10051 entries:0/100
      1720:20170112:100936.865 End of send_buffer():SUCCEED
      3884:20170112:100936.880 In collect_perfstat()
      3884:20170112:100936.880 End of collect_perfstat()
      1720:20170112:100937.880 In send_buffer() host:'192.168.200.196' port:10051 entries:0/100
      1720:20170112:100937.880 End of send_buffer():SUCCEED
      3884:20170112:100937.896 In collect_perfstat()
      3884:20170112:100937.896 End of collect_perfstat()
      1720:20170112:100938.896 In send_buffer() host:'192.168.200.196' port:10051 entries:0/100
      1720:20170112:100938.896 End of send_buffer():SUCCEED
      3884:20170112:100938.912 In collect_perfstat()
      3884:20170112:100938.912 End of collect_perfstat()
      1720:20170112:100939.912 In send_buffer() host:'192.168.200.196' port:10051 entries:0/100
      1720:20170112:100939.912 End of send_buffer():SUCCEED
      3884:20170112:100939.927 In collect_perfstat()
      3884:20170112:100939.927 End of collect_perfstat()
      1720:20170112:100940.927 In send_buffer() host:'192.168.200.196' port:10051 entries:0/100
      1720:20170112:100940.927 End of send_buffer():SUCCEED
      3884:20170112:100940.943 In collect_perfstat()
      3884:20170112:100940.943 End of collect_perfstat()
      1720:20170112:100941.943 In send_buffer() host:'192.168.200.196' port:10051 entries:0/100
      1720:20170112:100941.943 End of send_buffer():SUCCEED
      3884:20170112:100941.959 In collect_perfstat()
      3884:20170112:100941.959 End of collect_perfstat()
      1720:20170112:100942.959 In send_buffer() host:'192.168.200.196' port:10051 entries:0/100
      1720:20170112:100942.959 End of send_buffer():SUCCEED
      3884:20170112:100942.974 In collect_perfstat()
      3884:20170112:100942.974 End of collect_perfstat()
      1720:20170112:100943.974 In send_buffer() host:'192.168.200.196' port:10051 entries:0/100
      1720:20170112:100943.974 End of send_buffer():SUCCEED
      3884:20170112:100943.990 In collect_perfstat()
      3884:20170112:100943.990 End of collect_perfstat()
      1720:20170112:100944.990 In send_buffer() host:'192.168.200.196' port:10051 entries:0/100
      1720:20170112:100944.990 End of send_buffer():SUCCEED
      3884:20170112:100945.005 In collect_perfstat()
      3884:20170112:100945.005 End of collect_perfstat()
      1720:20170112:100946.005 In send_buffer() host:'192.168.200.196' port:10051 entries:0/100
      1720:20170112:100946.005 End of send_buffer():SUCCEED
      3884:20170112:100946.021 In collect_perfstat()
      3884:20170112:100946.021 End of collect_perfstat()
      1720:20170112:100947.021 In send_buffer() host:'192.168.200.196' port:10051 entries:0/100
      1720:20170112:100947.021 End of send_buffer():SUCCEED
      3884:20170112:100947.037 In collect_perfstat()
      3884:20170112:100947.037 End of collect_perfstat()
      1720:20170112:100948.037 In send_buffer() host:'192.168.200.196' port:10051 entries:0/100
      1720:20170112:100948.037 End of send_buffer():SUCCEED
      3884:20170112:100948.052 In collect_perfstat()
      3884:20170112:100948.052 End of collect_perfstat()
      1720:20170112:100949.052 In send_buffer() host:'192.168.200.196' port:10051 entries:0/100
      1720:20170112:100949.052 End of send_buffer():SUCCEED
      3884:20170112:100949.068 In collect_perfstat()
      3884:20170112:100949.068 End of collect_perfstat()
      1720:20170112:100950.068 In send_buffer() host:'192.168.200.196' port:10051 entries:0/100
      1720:20170112:100950.068 End of send_buffer():SUCCEED
      3884:20170112:100950.084 In collect_perfstat()
      3884:20170112:100950.084 End of collect_perfstat()
      1720:20170112:100951.084 In send_buffer() host:'192.168.200.196' port:10051 entries:0/100
      1720:20170112:100951.084 End of send_buffer():SUCCEED
      3884:20170112:100951.099 In collect_perfstat()
      3884:20170112:100951.099 End of collect_perfstat()
      1720:20170112:100952.099 In send_buffer() host:'192.168.200.196' port:10051 entries:0/100
      1720:20170112:100952.099 End of send_buffer():SUCCEED
      3884:20170112:100952.115 In collect_perfstat()
      3884:20170112:100952.115 End of collect_perfstat()
      1720:20170112:100953.115 In send_buffer() host:'192.168.200.196' port:10051 entries:0/100
      1720:20170112:100953.115 End of send_buffer():SUCCEED
      3884:20170112:100953.131 In collect_perfstat()
      3884:20170112:100953.131 End of collect_perfstat()
      1720:20170112:100954.131 In send_buffer() host:'192.168.200.196' port:10051 entries:0/100
      1720:20170112:100954.131 End of send_buffer():SUCCEED
      3884:20170112:100954.146 In collect_perfstat()
      3884:20170112:100954.146 End of collect_perfstat()
      1720:20170112:100955.146 In send_buffer() host:'192.168.200.196' port:10051 entries:0/100
      1720:20170112:100955.146 End of send_buffer():SUCCEED
      3884:20170112:100955.162 In collect_perfstat()
      3884:20170112:100955.162 End of collect_perfstat()
      1720:20170112:100956.162 In send_buffer() host:'192.168.200.196' port:10051 entries:0/100
      1720:20170112:100956.162 End of send_buffer():SUCCEED
      3884:20170112:100956.177 In collect_perfstat()
      3884:20170112:100956.177 End of collect_perfstat()
      1720:20170112:100957.177 In send_buffer() host:'192.168.200.196' port:10051 entries:0/100
      1720:20170112:100957.177 End of send_buffer():SUCCEED
      3884:20170112:100957.193 In collect_perfstat()
      3884:20170112:100957.193 End of collect_perfstat()
      1720:20170112:100958.193 In send_buffer() host:'192.168.200.196' port:10051 entries:0/100
      1720:20170112:100958.193 End of send_buffer():SUCCEED
      3884:20170112:100958.209 In collect_perfstat()
      3884:20170112:100958.209 End of collect_perfstat()
      1720:20170112:100959.209 In send_buffer() host:'192.168.200.196' port:10051 entries:0/100
      1720:20170112:100959.209 End of send_buffer():SUCCEED
      3884:20170112:100959.224 In collect_perfstat()
      3884:20170112:100959.224 End of collect_perfstat()
      1720:20170112:101000.224 In send_buffer() host:'192.168.200.196' port:10051 entries:0/100
      1720:20170112:101000.224 End of send_buffer():SUCCEED
      3884:20170112:101000.240 In collect_perfstat()
      3884:20170112:101000.240 End of collect_perfstat()

      Comment

      • bbrendon
        Senior Member
        • Sep 2005
        • 870

        #4
        The zabbix agent configuration needs the "Server=" setting for remote commands to work. It has to be set to the host that is sending the command.
        Unofficial Zabbix Expert
        Blog, Corporate Site

        Comment

        • zohair.raza
          Junior Member
          • Oct 2024
          • 2

          #5
          anyone else looking for a solution:

          you can define network range in server settings under agent configuration

          Server=192.168.1.0/24,192.168.2.0/24

          Comment

          • vj13
            Junior Member
            • Jan 2025
            • 1

            #6
            In /etc/zabbix, there is a directory: zabbix_agentd.d.

            Modify the configuration file: zabbix-custom.conf

            Server=192.168.200.196
            ServerActive=192.168.200.196
            Hostname=AWS-135-FS-02

            Comment

            Working...