Ad Widget

Collapse

Intresting no error :)

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Vagishius
    Junior Member
    • May 2006
    • 13

    #1

    Intresting no error :)

    I have two network betwen one router.

    192.168.0.0 net and 192.168.32.0 net

    router IP adreses Eth1 192.168.0.254 and Eth2 192.168.0.239

    from 192.168.0.254 : telnet 192.168.32.1 10050 OK
    Trying 192.168.33.2...
    Connected to 192.168.33.2.
    Escape character is '^]'.
    Connection closed by foreign host.

    from 192.168.32.1 : telnet 192.168.0.254 10051 OK

    log from 192.168.32.1
    [17-May-2006 10:18:40] Active checks [Cannot connect to [192.168.0.254:10051] [No error]]
    [17-May-2006 10:20:01] Active checks [Cannot connect to [192.168.0.254:10051] [No error]]

    from zabbix
    Got empty string from [ComputerName] IP [192.168.32.1] Parameter [agent[accepted_requests]]

    have some ideas ?
  • erisan500
    Senior Member
    Zabbix Certified Specialist
    • Aug 2005
    • 285

    #2
    post your agent.conf file, most probably you're missing the Hostname parameter.


    EriSan
    EriSan
    Zabbix Certified Specialist

    Comment

    • Vagishius
      Junior Member
      • May 2006
      • 13

      #3
      # This is config file for zabbix_agentd
      # To get more information about ZABBIX, go http://www.zabbix.com

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

      # List of comma delimited IP addresses (or hostnames) of ZABBIX Servers.
      # No spaces allowed. First entry is used for sending active checks.
      # Note that hostnames must resolve hostname - IP address and
      # IP address - hostname.

      Server=192.168.0.254

      # Server port for sending active checks

      ServerPort=10051

      # Unique hostname. Required for active checks.

      Hostname= HERE ?

      # Listen port. Default is 10050

      ListenPort=10050

      # IP address to bind agent
      # If missing, bind to all available IPs

      ListenIP=127.0.0.1

      # Number of pre-forked instances of zabbix_agentd.
      # Default value is 5
      # This parameter must be between 1 and 16

      StartAgents=5

      # How often refresh list of active checks. 2 minutes by default.

      #RefreshActiveChecks=120

      # Disable active checks. The agent will work in passive mode listening server.

      #DisableActive=1

      # Specifies debug level
      # 0 - debug is not created
      # 1 - critical information
      # 2 - error information
      # 3 - warnings (default)
      # 4 - for debugging (produces lots of information)

      DebugLevel=3

      # Name of PID file

      #PidFile=C:\/zabbix_agentd.pid

      # Name of log file.
      # If not set, syslog will be used

      LogFile=C:\/zabbix_agentd.log

      # Spend no more than Timeout seconds on processing
      # Must be between 1 and 30

      Timeout=3

      ##### Experimental options. Use with care ! #####

      # Get rid of sockets in TIME_WAIT state
      # This will set socket option SO_LINGER

      # NoTimeWait=1

      ##### End of experimental options

      ####### USER-DEFINED MONITORED PARAMETERS #######
      # Format: "UserParameter='key','shell command'"
      # Note that shell command must not return empty string or EOL only

      UserParameter=mysql.version,mysql -V

      Comment

      Working...