Ad Widget

Collapse

(cannot connect to [[X.X.X.X.]:10051]: Connection refused.)

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • bougnier
    Junior Member
    • Jan 2020
    • 6

    #1

    (cannot connect to [[X.X.X.X.]:10051]: Connection refused.)

    Hello everyone, you excuse my english but I use the google translator.

    Here are 2 days that I try to install zabbix on my pc under windows 10, I took the version zabbix_agent-4.4.4-win-amd64-openssl.msi, I have a router TP Link Archer C7 v2 with openwrt above.
    My network is made up like this. WAN ==> DMZ ==> router 192.168.1.1 ==> pc 192.168.1.5
    I opened ports 10050 and 10051 in the router's firewall. When I try to connect to the web server with the address 192.168.1.5/zabbix I have no access.
    I tested my connection with telnet and it works.

    I have in my log this:
    5708:20200102:131532.432 Starting Zabbix Agent [BOBASUS]. Zabbix 4.4.4 (revision 3131fdac04).
    5708:20200102:131532.433 **** Enabled features ****
    5708:20200102:131532.433 IPv6 support: YES
    5708:20200102:131532.433 TLS support: YES
    5708:20200102:131532.434 **************************
    5708:20200102:131532.434 using configuration file: C:\Program Files\Zabbix Agent\zabbix_agentd.conf
    5708:20200102:131532.507 agent #0 started [main process]
    5212:20200102:131532.507 agent #1 started [collector]
    18440:20200102:131532.508 agent #2 started[listener #1]
    14384:20200102:131532.508 agent #3 started[listener #2]
    17184:20200102:131532.508 agent #4 started[listener #3]
    7732:20200102:131532.508 agent #5 started [active checks #1]
    7732:20200102:131533.524 active check configuration update from [192.168.1.5:10051] started to fail (cannot connect to [[192.168.1.5]:10051]: Connection refused.)

    My zabbix_agentd.conf is made up like this, I only post the non commented lines:

    LogFile=C:\Program Files\Zabbix Agent\zabbix_agentd.log
    EnableRemoteCommands=1
    Server=192.168.1.5
    ServerActive=192.168.1.5

    I defer to you because it's been 48 hours that I seek and I can not find.

    Thanking you in advance.

    Greetings

    Bob
  • gofree
    Senior Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • Dec 2017
    • 400

    #2
    seems you have it all wrong - I assume your agent is running on windows and pointing to server ip which is again your windows - there is no zabbix server for windows so i dont think you have it installed , neither http/apache on your windows

    better start with basic step by step

    Comment

    • bougnier
      Junior Member
      • Jan 2020
      • 6

      #3
      Originally posted by gofree
      seems you have it all wrong - I assume your agent is running on windows and pointing to server ip which is again your windows - there is no zabbix server for windows so i dont think you have it installed , neither http/apache on your windows

      better start with basic step by step

      https://www.youtube.com/watch?v=yYmkFf3AEBo
      Thank you for your answer, I just watched the video but it does not help me in the installation of zabbix on windows, where can I find this tutorial tyoe please?

      Comment

      • gofree
        Senior Member
        Zabbix Certified SpecialistZabbix Certified Professional
        • Dec 2017
        • 400

        #4
        you cant install it on windows ( except zabbix agent ) - see supported platforms



        Comment

        • bougnier
          Junior Member
          • Jan 2020
          • 6

          #5
          Originally posted by gofree
          you cant install it on windows ( except zabbix agent ) - see supported platforms


          Excuse my ignorance but for this tutorial for an installation on windows?

          Comment

          • bougnier
            Junior Member
            • Jan 2020
            • 6

            #6
            Originally posted by bougnier

            Excuse my ignorance but for this tutorial for an installation on windows?
            https://www.youtube.com/watch?v=78WLsbOvqUU
            I answer myself, it's installed on windows server

            Comment

            • gofree
              Senior Member
              Zabbix Certified SpecialistZabbix Certified Professional
              • Dec 2017
              • 400

              #7
              you dont get the difference between the zabbix agent ( for collecting the metrics ) and zabbix server ( processing the metrics, generating events, notifcations, etc ) ..the agent can be installed on the windows the server not ( to configure server, view events and visualizae data you need also some sort of web server )

              Comment

              • bougnier
                Junior Member
                • Jan 2020
                • 6

                #8
                I have a router under openwrt and a pc under windows 10, I tried to install zabbix on the router but it does not work either. What can I do with these configs knowing that I would ultimately like to monitor traffic from three routers at work?

                Comment

                • gofree
                  Senior Member
                  Zabbix Certified SpecialistZabbix Certified Professional
                  • Dec 2017
                  • 400

                  #9
                  1. Option, maybe but just maybe you'll be able to compile zabbix from sources, but you also need apache server and mysql database to get it running on openwrt (zabbix doesnt provide packages for it) than you can monitor maybe your router via snmp or possibly zabbix agent from sources installed on it ( in general very low chance to succeed)

                  2.install zabbix on Linux by documentation ( maybe get rid of windows on pc aka replace it with linux) and monitor router via snmp, learn and play

                  3. Same thing as no. 2 just install Linux in VirtualBox and learn and play

                  Comment

                  • bougnier
                    Junior Member
                    • Jan 2020
                    • 6

                    #10
                    Originally posted by gofree
                    1. Option, maybe but just maybe you'll be able to compile zabbix from sources, but you also need apache server and mysql database to get it running on openwrt (zabbix doesnt provide packages for it) than you can monitor maybe your router via snmp or possibly zabbix agent from sources installed on it ( in general very low chance to succeed)

                    2.install zabbix on Linux by documentation ( maybe get rid of windows on pc aka replace it with linux) and monitor router via snmp, learn and play

                    3. Same thing as no. 2 just install Linux in VirtualBox and learn and play
                    Thank you for your answer, I will study all of that

                    Comment

                    Working...