Ad Widget

Collapse

How can solve zabbix_proxy error in log file

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • bab
    Senior Member
    • Aug 2020
    • 176

    #1

    How can solve zabbix_proxy error in log file

    I have 5 hosts that send data to zabbix proxy . my zabbix proxy host name is =zproxy with ip = 10.10.10.100 and zabbix server ip = 10.20.20.50 . I think there are some problems on my zabbix proxy according to follow zabbix_proxy.log file

    cannot send list of active checks to "10.10.10.100": host [bakzproxy] not found
    cannot send list of active checks to "10.10.10.100": host [bakzproxy] not found
    received configuration data from server at "10.20.20.50", datalen 1237177
    cannot send list of active checks to "10.10.10.100": host [bakzproxy] not found
    cannot send list of active checks to "10.10.10.100": host [bakzproxy] not found
    ​received configuration data from server at "10.20.20.50", datalen 1237177

    Also. I have attached zabbix_proxy.conf

    Would you please help me about it ?
    Attached Files
  • Hamardaban
    Senior Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • May 2019
    • 2713

    #2
    Do you definitely have a host named bakzproxy and in its settings it is indicated that it is monitored through "10.10.10.100" proxy?

    Comment

    • bab
      Senior Member
      • Aug 2020
      • 176

      #3
      Originally posted by Hamardaban
      Do you definitely have a host named bakzproxy and in its settings it is indicated that it is monitored through "10.10.10.100" proxy?

      This is my /etc/hosts file on zproxy server


      127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
      ::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
      10.10.10.100 zproxy

      Comment

      • Hamardaban
        Senior Member
        Zabbix Certified SpecialistZabbix Certified Professional
        • May 2019
        • 2713

        #4
        I was asking if there is a zabbix host in your system with the name "bakzproxy" (created\configured, etc.). And about what settings he has for working with proxies.



        pay attention to
        Host name Enter a unique host name. Alphanumerics, spaces, dots, dashes and underscores are allowed. However, leading and trailing spaces are disallowed.
        Note: With Zabbix agent running on the host you are configuring, the agent configuration file parameter Hostname must have the same value as the host name entered here. The name in the parameter is needed in the processing of active checks.

        Comment

        • bab
          Senior Member
          • Aug 2020
          • 176

          #5
          Originally posted by Hamardaban
          I was asking if there is a zabbix host in your system with the name "bakzproxy" (created\configured, etc.). And about what settings he has for working with proxies.

          https://www.zabbix.com/documentation...fig/hosts/host

          pay attention to
          Host name Enter a unique host name. Alphanumerics, spaces, dots, dashes and underscores are allowed. However, leading and trailing spaces are disallowed.
          Note: With Zabbix agent running on the host you are configuring, the agent configuration file parameter Hostname must have the same value as the host name entered here. The name in the parameter is needed in the processing of active checks.

          As I said before that my zabbix proxy hostname is = bakzproxy
          also on zabbix proxy server in /etc/hosts I have follow info :

          127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
          ::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
          10.10.10.100 bakzproxy

          What is the issue ?​

          Comment

          • Markku
            Senior Member
            Zabbix Certified SpecialistZabbix Certified ProfessionalZabbix Certified Expert
            • Sep 2018
            • 1782

            #6
            cannot send list of active checks to "10.10.10.100": host [bakzproxy] not found
            This means that the agent on the host in IP address 10.10.10.100 is connecting to this proxy. The agent's configured hostname is "bakzproxy". Zabbix proxy does not know this host because there is no host "bakzproxy" configured in Zabbix to use this proxy.

            Fix you Zabbix agent configuration on the proxy, or fix your Zabbix host configuration for "bakzproxy".

            Markku

            Comment

            • bab
              Senior Member
              • Aug 2020
              • 176

              #7
              Originally posted by Markku

              This means that the agent on the host in IP address 10.10.10.100 is connecting to this proxy. The agent's configured hostname is "bakzproxy". Zabbix proxy does not know this host because there is no host "bakzproxy" configured in Zabbix to use this proxy.

              Fix you Zabbix agent configuration on the proxy, or fix your Zabbix host configuration for "bakzproxy".

              Markku
              I think that is misunderstood
              my zabbix proxy ip = 10.10.10.100
              my zabbix proxy hostname = bakzproxy

              I can see follow log on zabbix proxy server in zabbix_proxy.log

              cannot send list of active checks to "10.10.10.100": host [bakzproxy] not found
              cannot send list of active checks to "10.10.10.100": host [bakzproxy] not found
              received configuration data from server at "10.20.20.50", datalen 1237177
              cannot send list of active checks to "10.10.10.100": host [bakzproxy] not found
              cannot send list of active checks to "10.10.10.100": host [bakzproxy] not found
              ​received configuration data from server at "10.20.20.50", datalen 1237177

              There is follow info in my hosts file:

              127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
              ::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
              10.10.10.100 bakzproxy
              ​​

              Comment

              • Markku
                Senior Member
                Zabbix Certified SpecialistZabbix Certified ProfessionalZabbix Certified Expert
                • Sep 2018
                • 1782

                #8
                Yes I agree there is a misunderstanding somewhere

                Please show the Zabbix agent configuration on the proxy host 10.10.10.100. (Don't show the commented or empty lines, please show the remaining lines as text here in the message for easy access for the people trying to help you)

                ​​​​​​​Markku

                Comment

                • bab
                  Senior Member
                  • Aug 2020
                  • 176

                  #9
                  Originally posted by Markku
                  Yes I agree there is a misunderstanding somewhere

                  Please show the Zabbix agent configuration on the proxy host 10.10.10.100. (Don't show the commented or empty lines, please show the remaining lines as text here in the message for easy access for the people trying to help you)

                  Markku
                  I attached zabbix_agentd.conf file that resided on zabbix_proxy server



                  zabbix proxy ip = 10.10.10.100
                  zabbix server ip = 10.20.20.50
                  Attached Files

                  Comment

                  • Markku
                    Senior Member
                    Zabbix Certified SpecialistZabbix Certified ProfessionalZabbix Certified Expert
                    • Sep 2018
                    • 1782

                    #10
                    Ok, you are not going to read much of the stuff we write to you, are you Let's be straight then: your bakzproxy host is incorrectly configured in Zabbix, that's why the proxy is not able to give it any configuration. That's what the error message tells you.

                    Markku

                    Comment

                    • bab
                      Senior Member
                      • Aug 2020
                      • 176

                      #11
                      Originally posted by Markku
                      Ok, you are not going to read much of the stuff we write to you, are you Let's be straight then: your bakzproxy host is incorrectly configured in Zabbix, that's why the proxy is not able to give it any configuration. That's what the error message tells you.

                      Markku

                      Would you please say what changes need to do ?

                      Comment

                      • Markku
                        Senior Member
                        Zabbix Certified SpecialistZabbix Certified ProfessionalZabbix Certified Expert
                        • Sep 2018
                        • 1782

                        #12
                        As said a few days ago by Hamardaban:

                        Do you definitely have a host named bakzproxy and in its settings it is indicated that it is monitored through "10.10.10.100" proxy?
                        = go to Zabbix GUI and fix the bakzproxy host.

                        Markku

                        Comment

                        • bab
                          Senior Member
                          • Aug 2020
                          • 176

                          #13
                          I think there are not any issue for zabbix proxy in GUI . I have added zabbix proxy in gui and there are not any issue
                          please see attached pic

                          Attached Files

                          Comment

                          • Markku
                            Senior Member
                            Zabbix Certified SpecialistZabbix Certified ProfessionalZabbix Certified Expert
                            • Sep 2018
                            • 1782

                            #14
                            I was not asking you to fix a proxy.

                            Go to Configuration - Hosts, go to the host named "bakzproxy" and fix it to use the "10.10.10.100" proxy.

                            Markku

                            Comment

                            • bab
                              Senior Member
                              • Aug 2020
                              • 176

                              #15
                              Originally posted by Markku
                              I was not asking you to fix a proxy.

                              Go to Configuration - Hosts, go to the host named "bakzproxy" and fix it to use the "10.10.10.100" proxy.

                              Markku

                              It has been added previously

                              Attached Files

                              Comment

                              Working...