Ad Widget

Collapse

Zabbix agent on Windows 8

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mint
    Junior Member
    • May 2018
    • 3

    #1

    Zabbix agent on Windows 8

    I Install Zabbix agent on Windows 8,Wrote next in my config: Server=192.168.3.249 Server Active=192.168.3.249 Hostname=hostik. Zabbix shows me a mistake. Get value from failed zbx_tcp_read() failed [54] Connection reset by peer
  • Atsushi
    Senior Member
    • Aug 2013
    • 2028

    #2
    Have you set up Firewall on Windows?

    If it is the default agent setting, you need to configure the Firewall on Windows so that it can connect with port number 10050 from the Zabbix server.

    Comment

    • mint
      Junior Member
      • May 2018
      • 3

      #3
      Originally posted by Atsushi
      Have you set up Firewall on Windows?

      If it is the default agent setting, you need to configure the Firewall on Windows so that it can connect with port number 10050 from the Zabbix server.
      Firewall doesn t work. I checked port via telnet. Port is open. This is my log:432:20180522:164054.289 using configuration file: C:\zabbix.win\conf\zabbix_agentd.win.conf
      3432:20180522:164054.304 agent #0 started [main process]
      3240:20180522:164054.304 agent #1 started [collector]
      3344:20180522:164054.304 agent #2 started[listener #1]
      4276:20180522:164054.304 agent #4 started[listener #3]
      2968:20180522:164054.304 agent #3 started[listener #2]
      1680:20180522:164054.304 agent #5 started [active checks #1]
      1680:20180522:164054.304 no active checks on server [192.168.3.249:10051]: host [hostik.hpb.local] not found
      4276:20180522:164138.296 failed to accept an incoming connection: connection from "192.168.3.242" rejected, allowed hosts: "192.168.3.249"
      3344:20180522:164238.706 failed to accept an incoming connection: connection from "192.168.3.242" rejected, allowed hosts: "192.168.3.249"
      1680:20180522:164254.039 no active checks on server [192.168.3.249:10051]: host [hostik.hpb.local] not found
      2968:20180522:164338.908 failed to accept an incoming connection: connection from "192.168.3.242" rejected, allowed hosts: "192.168.3.249"
      3344:20180522:164438.150 failed to accept an incoming connection: connection from "192.168.3.242" rejected, allowed hosts: "192.168.3.249"
      1680:20180522:164454.734 no active checks on server [192.168.3.249:10051]: host [hostik.hpb.local] not found
      2968:20180522:164538.531 failed to accept an incoming connection: connection from "192.168.3.242" rejected, allowed hosts: "192.168.3.249"
      4276:20180522:164638.844 failed to accept an incoming connection: connection from "192.168.3.242" rejected, allowed hosts: "192.168.3.249"
      1680:20180522:164654.630 no active checks on server [192.168.3.249:10051]: host [hostik.hpb.local] not found
      4276:20180522:164738.063 failed to accept an incoming connection: connection from "192.168.3.242" rejected, allowed hosts: "192.168.3.249"
      2968:20180522:164838.297 failed to accept an incoming connection: connection from "192.168.3.242" rejected, allowed hosts: "192.168.3.249"
      1680:20180522:164854.221 no active checks on server [192.168.3.249:10051]: host [hostik.hpb.local] not found
      3344:20180522:164938.617 failed to accept an incoming connection: connection from "192.168.3.242" rejected, allowed hosts: "192.168.3.249"
      3344:20180522:165038.930 failed to accept an incoming connection: connection from "192.168.3.242" rejected, allowed hosts: "192.168.3.249"
      1680:20180522:165054.798 no active checks on server [192.168.3.249:10051]: host [hostik.hpb.local] not found
      2968:20180522:165138.171 failed to accept an incoming connection: connection from "192.168.3.242" rejected, allowed hosts: "192.168.3.249"
      4276:20180522:165238.438 failed to accept an incoming connection: connection from "192.168.3.242" rejected, allowed hosts: "192.168.3.249"
      1680:20180522:165254.474 no active checks on server [192.168.3.249:10051]: host [hostik.hpb.local] not found
      4276:20180522:165338.752 failed to accept an incoming connection: connection from "192.168.3.242" rejected, allowed hosts: "192.168.3.249"
      3344:20180522:165438.901 failed to accept an incoming connection: connection from "192.168.3.242" rejected, allowed hosts: "192.168.3.249"
      5824:20180522:165450.483 Zabbix Agent stopped. Zabbix 3.2.7 (revision 70289).

      Comment


      • Atsushi
        Atsushi commented
        Editing a comment
        Please carefully check the message output to the log.

        Perhaps the value of Server in zabbix_agentd.conf is 192.168.3.249.
        Since it is being accessed from 192.168.3.242, I think that the IP of the Zabbix server is different.

        Please modify zabbix_agentd.conf and restart the Zabbix agent service.
    • Engraf
      Member
      • Sep 2014
      • 41

      #4
      You need to specify IP of the zabbix server (that looks like 192.168.3.242) for Server and ServerActive parameters in config. Looks like IP 192.168.3.249 is you agent IP.

      Comment

      • mint
        Junior Member
        • May 2018
        • 3

        #5
        192.168.3.249 : It is ip my zabbix server. I am sure in it. But 192.168.3.242 - i dont know this host. I installed zabbix agent on 192.168.3.108(Full dns name is hostik.hpb.local) and try to connect to 192.168.3.249
        648:20180524:161046.449 using configuration file: C:\zabbix.win\conf\zabbix_agentd.win.conf
        3648:20180524:161046.449 agent #0 started [main process]
        3572:20180524:161046.449 agent #1 started [collector]
        1228:20180524:161046.449 agent #2 started[listener #1]
        4348:20180524:161046.449 agent #3 started[listener #2]
        3972:20180524:161046.449 agent #4 started[listener #3]
        2212:20180524:161046.449 agent #5 started [active checks #1]
        2212:20180524:161047.468 active check configuration update from [192.168.3.242:10051] started to fail (cannot connect to [[192.168.3.242]:10051]: Connection refused.)
        4348:20180524:163820.232 failed to accept an incoming connection: connection from "192.168.3.239" rejected, allowed hosts: "192.168.3.242"
        1228:20180524:163920.543 failed to accept an incoming connection: connection from "192.168.3.239" rejected, allowed hosts: "192.168.3.242"
        3972:20180524:164020.873 failed to accept an incoming connection: connection from "192.168.3.239" rejected, allowed hosts: "192.168.3.242"
        4348:20180524:164120.177 failed to accept an incoming connection: connection from "192.168.3.239" rejected, allowed hosts: "192.168.3.242"
        1228:20180524:164220.471 failed to accept an incoming connection: connection from "192.168.3.239" rejected, allowed hosts: "192.168.3.242"
        3972:20180524:164320.769 failed to accept an incoming connection: connection from "192.168.3.239" rejected, allowed hosts: "192.168.3.242"
        3972:20180524:164420.015 failed to accept an incoming connection: connection from "192.168.3.239" rejected, allowed hosts: "192.168.3.242"
        4348:20180524:164520.292 failed to accept an incoming connection: connection from "192.168.3.239" rejected, allowed hosts: "192.168.3.242"
        1228:20180524:164620.610 failed to accept an incoming connection: connection from "192.168.3.239" rejected, allowed hosts: "192.168.3.242"
        4348:20180524:164720.998 failed to accept an incoming connection: connection from "192.168.3.239" rejected, allowed hosts: "192.168.3.242"
        1228:20180524:164821.278 failed to accept an incoming connection: connection from "192.168.3.239" rejected, allowed hosts: "192.168.3.242"
        3972:20180524:164921.569 failed to accept an incoming connection: connection from "192.168.3.239" rejected, allowed hosts: "192.168.3.242"
        3972:20180524:165021.873 failed to accept an incoming connection: connection from "192.168.3.239" rejected, allowed hosts: "192.168.3.242"
        1228:20180524:165121.164 failed to accept an incoming connection: connection from "192.168.3.239" rejected, allowed hosts: "192.168.3.242"
        4348:20180524:165221.443 failed to accept an incoming connection: connection from "192.168.3.239" rejected, allowed hosts: "192.168.3.242"
        4348:20180524:165321.265 failed to accept an incoming connection: connection from "192.168.3.239" rejected, allowed hosts: "192.168.3.242"
        Last edited by mint; 24-05-2018, 16:30.

        Comment


        • Atsushi
          Atsushi commented
          Editing a comment
          Please check the setting contents of zabbix_agentd.conf.
          What is the setting of Server and ServerActive?
      Working...