Ad Widget

Collapse

Host Error "Cannot connect to host"

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Han
    Junior Member
    • Apr 2005
    • 23

    #1

    Host Error "Cannot connect to host"

    Hello,

    Can somebody help us.
    The host off zabbix gives the follwing message:

    Status Availability Error
    Monitored Available Cannot connect to [Host] [Connection refused]

    Kind regards,

    Han
  • cybermage
    Junior Member
    • Oct 2005
    • 12

    #2
    What is result of

    Code:
    telnet host 10000
    ? (Change host to your host IP and 10000 to port, where zabbix agent runs)

    Comment

    • Han
      Junior Member
      • Apr 2005
      • 23

      #3
      Host Error

      hello,
      Thanks for your quick reaction.

      It gives the following message

      zabbix$ telnet 192.168.100.6 10051
      Trying 192.168.100.6...
      Connected to 192.168.100.6.
      Escape character is '^]'.
      Connection closed by foreign host.

      Kind regards,

      Han

      Comment

      • cybermage
        Junior Member
        • Oct 2005
        • 12

        #4
        Check
        Code:
        Server =
        in zabbix_agentd.conf

        you should enable IP, where server is querying

        Comment

        • Han
          Junior Member
          • Apr 2005
          • 23

          #5
          Host Error

          The server side in ie 192.168.100.6

          Agentd.conf see below
          # 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 of ZABBIX servers. No spaces allowed.
          # First IP is used for sending active checks.

          Server=192.168.100.6

          # Server port for sending active checks

          ServerPort=10051

          #

          Comment

          • cybermage
            Junior Member
            • Oct 2005
            • 12

            #6
            Originally posted by Han
            The server side in ie 192.168.100.6
            Server=192.168.100.6
            Server=192.168.100.6,192.168.100.6

            ?

            And what does say agent log ?
            Is there any error ?

            Comment

            • Han
              Junior Member
              • Apr 2005
              • 23

              #7
              Host error

              No No

              server=192.168.100.6

              We use http://192.168.100.6 (ie) to login into zabbix
              Log file is:
              015318:20051227:172859 zabbix_agentd started. ZABBIX 1.1beta1.
              015319:20051227:172859 zabbix_agentd 15319 started
              015320:20051227:172859 zabbix_agentd 15320 started
              015321:20051227:172859 zabbix_agentd 15321 started
              015323:20051227:172859 zabbix_agentd 15323 started
              015322:20051227:172859 zabbix_agentd 15322 started

              Comment

              • cybermage
                Junior Member
                • Oct 2005
                • 12

                #8
                Originally posted by Han

                015320:20051227:172859 zabbix_agentd 15320 started
                015321:20051227:172859 zabbix_agentd 15321 started
                015323:20051227:172859 zabbix_agentd 15323 started
                015322:20051227:172859 zabbix_agentd 15322 started
                Could you increase log level of agent please ?

                Comment

                • Han
                  Junior Member
                  • Apr 2005
                  • 23

                  #9
                  Host Error "Cannot connect to host"

                  We solved the problem, but now we have on triggers.
                  In the alpha7 they come automaticly when you us the unix templates. We read in the forum that it is a bug in the beta4?

                  Thanks for your help and quick respones

                  Han

                  Comment

                  • cybermage
                    Junior Member
                    • Oct 2005
                    • 12

                    #10
                    Originally posted by Han
                    We solved the problem, but now we have on triggers.
                    What was the problem ?


                    Originally posted by Han
                    In the alpha7 they come automaticly when you us the unix templates. We read in the forum that it is a bug in the beta4?
                    Sorry, I don't understand problem with triggers.

                    Comment

                    • Han
                      Junior Member
                      • Apr 2005
                      • 23

                      #11
                      When you select " add items form template" the error "cannot connect to host" is gone.


                      Kind Regards and thanks for the quick reactions.


                      Han

                      Comment

                      Working...