Ad Widget

Collapse

Why does it say "Connection refused" if i'm only using simple checks?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Wal
    Junior Member
    • Feb 2008
    • 13

    #1

    Why does it say "Connection refused" if i'm only using simple checks?

    Hi People!

    The zabbix is very good tool for monitoring! I have many hosts monitoreds.
    I am need monitoring one router, just test of ping (for test your availability).

    Follow my confs:

    Configuration of host:
    Name: router-20 (virtual name)
    Group: Routers
    IP address: 200.20.25.30
    Connect to: Ip address
    Port: 0
    Status: Monitored

    Item linked in router:
    Description:Test availability of router
    Type: Simple check
    Key: icmpping
    type of information: Numeric float
    Use multiplier: Do not use
    Update interval (in sec):
    Status: Active
    Store value: As is


    The Simple check not e work; the message error is present:

    Cannot connect to [200.20.25.30:0] [Connection refused] by UI

    Get value from agent failed. Error: Cannot connect to [200.20.25.30:0] [Connection refused] by log zabbix-server.


    Which port I use (in register of host)? for correct comunication?

    I am using Simple Check, why not work?


    Comment:
    - My ping (fping) is worked fine which others hosts, but which agent instaled in remote host.
    - Version of zabbix: ZABBIX Server (daemon) v1.4.4 (17 December 2007)
    Compilation time: Apr 16 2008 16:26:04.
    - In console of server-zabbix the ping is worked in the host created (200.20.25.30).
    - I search this forum and read the manual (version 1.4), but not find the solution.

    Help-me, please!

    Thanks
  • nelsonab
    Senior Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • Sep 2006
    • 1233

    #2
    Please search the forums. If you are unable to find anything please post back and someone will be more than willing to help. If you find a post that answers your question feel free to reply with a link to that post so that another person searching for an answer after you will be more likely to find the same post again.

    Terms to try. connection refused, firewall
    RHCE, author of zbxapi
    Ansible, the missing piece (Zabconf 2017): https://www.youtube.com/watch?v=R5T9NidjjDE
    Zabbix and SNMP on Linux (Zabconf 2015): https://www.youtube.com/watch?v=98PEHpLFVHM

    Comment

    • Wal
      Junior Member
      • Feb 2008
      • 13

      #3
      Originally posted by nelsonab
      Please search the forums. If you are unable to find anything please post back and someone will be more than willing to help. If you find a post that answers your question feel free to reply with a link to that post so that another person searching for an answer after you will be more likely to find the same post again.

      Terms to try. connection refused, firewall
      I nelsonab! Thanks for the return!

      I was look the term "connection refused", but not find nothing, except others questions not resolveds.
      In one this, the Alexei confirm your true (Simple checkis possible), follow link:
      (http://www.zabbix.com/forum/showthre...=Simple+checks

      How make the simple check?, if the server-zabbix connect in client (agent zabbix) for one port (161 or 10050)?
      I have any servers (client zabbix) e ativos (snmp) which simple check (Keys: icmppingsec / icmpping); the informations is perfects, but by port 10050.

      Please, list one example. I not understand how the communication is realized.

      Thanks

      p.s.: No firewall in the hosts with problems.

      Comment

      • Wal
        Junior Member
        • Feb 2008
        • 13

        #4
        No found Solution!

        Hi people!

        Somebody have any idea about my problem? (Why does it say "Connection refused" if i'm only using simple checks?)


        Thanks

        Comment

        • rolandsym
          Member
          • Jul 2007
          • 76

          #5
          Look good but

          Wal,

          The setup for the ping to the router looks right. Questions?

          Can you ping the ip address from the command line of the zabbix server?
          Can you ping other computers through zabbix gui?
          Do you have icmp blocked on the router?
          Using just port "0" for simple checks? No snmp grabbing?

          Rolandsym

          Comment

          • trikke
            Senior Member
            • Aug 2007
            • 140

            #6
            wal,

            Does the host u are pinging have multiple Networkinterfaces?
            Receiving request on one interface and answering on another interface?

            Greets
            Patrick

            Comment

            • Wal
              Junior Member
              • Feb 2008
              • 13

              #7
              Rolandsym, trikke! Thanks for return.

              Follow the questions:

              Can you ping the ip address from the command line of the zabbix server?
              Yes, the ping is realized com sucess.

              Can you ping other computers through zabbix gui?
              Yes, i have 77 hosts in monitored web, but always which agent of zabbix or snmp up.

              Do you have icmp blocked on the router?
              No. The other console or of server zabbix o router is accessible.

              Using just port "0" for simple checks? No snmp grabbing?
              I tried the port "0", but not sucess!

              Does the host u are pinging have multiple Networkinterfaces?
              No, just one interface.

              Receiving request on one interface and answering on another interface?
              I not have permission for access the route (this is particular hardware, the one organization of services in comunications).
              Just ping the router of any console (all servers).

              I am wait return!
              Thanks for helps!

              Comment

              • Wal
                Junior Member
                • Feb 2008
                • 13

                #8
                Hi people!

                Somebody have any idea about my problem? (Why does it say "Connection refused" if i'm only using simple checks?)


                Thanks

                Comment

                Working...