Ad Widget

Collapse

Server monitored via proxy displaying lesser data

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • kkoon
    Junior Member
    • Jan 2009
    • 20

    #1

    Server monitored via proxy displaying lesser data

    Hi

    I'm currently facing some problems with using Zabbix proxy.

    I have a linux server monitored via proxy and the data results in the "Latest Data" tab is much lesser than the items I've configured in the template used.

    Comparing with another linux server NOT monitored via zabbix proxy, there are far lesser data presented.

    I've used zabbix_get from zabbix server to retrieve the results of the poll from the proxy-monitored server such as system.cpu.util[,wait,avg5] and able to retrieve the results. But I've no idea why it still does not display on the frontend?

    Anyone has any idea on this?
  • Alexei
    Founder, CEO
    Zabbix Certified Trainer
    Zabbix Certified SpecialistZabbix Certified Professional
    • Sep 2004
    • 5654

    #2
    Originally posted by kkoon
    I'm currently facing some problems with using Zabbix proxy.
    How do you know? Did you make an extract of historical data from Zabbix database?
    Alexei Vladishev
    Creator of Zabbix, Product manager
    New York | Tokyo | Riga
    My Twitter

    Comment

    • kkoon
      Junior Member
      • Jan 2009
      • 20

      #3
      Which part are you referring to?

      I've just compared the data available for 2 linux machines, 1 monitored via proxy and the other without.

      These 2 machines are using the same template as they are from the same vendor.

      Comment

      • richlv
        Senior Member
        Zabbix Certified Trainer
        Zabbix Certified SpecialistZabbix Certified Professional
        • Oct 2005
        • 3112

        #4
        are some items completely missing or do they simply contain less data ?
        Zabbix 3.0 Network Monitoring book

        Comment

        • kkoon
          Junior Member
          • Jan 2009
          • 20

          #5
          Attached is a screenshot of 2 linux machines.
          The one on the top is monitored via proxy.

          It shows significantly lesser groups of data that is made available on the frontend.
          Attached Files

          Comment

          • vinny
            Senior Member
            • Jan 2008
            • 145

            #6
            Seems like many items are not supported through the proxy.
            Did u check in the logs why these items are not supported ?

            For a not supported item, you can check it from ur zabbix server & from the proxy to see if there is a difference

            vinny
            -------
            Zabbix 1.8.3, 1200+ Hosts, 40 000+ Items...zabbix's everywhere

            Comment

            • richlv
              Senior Member
              Zabbix Certified Trainer
              Zabbix Certified SpecialistZabbix Certified Professional
              • Oct 2005
              • 3112

              #7
              i might be mistaken, but i believe there should be no supported difference between server and proxy... except some possibilities :

              1. external checks;
              2. proxy compiled without support for some particular check type

              now, what could cause this... if zabbix server ip still is the only ip specified in the agentd config file. in that case things like icmp ping and simple checks will work and agent items won't. as we don't know what particular items work and what do not, it's hard to say whether this guess is correct
              Zabbix 3.0 Network Monitoring book

              Comment

              • kkoon
                Junior Member
                • Jan 2009
                • 20

                #8
                you mean i need to put in the zabbix server ip in the agentd.conf file instead of the zabbix proxy server's ip?

                if so, what is the format? just the zabbix server's ip or i put in the proxy server's ip at the back as well?

                the current agentd.conf file has only the zabbix proxy server's ip as the server field.

                Comment

                • richlv
                  Senior Member
                  Zabbix Certified Trainer
                  Zabbix Certified SpecialistZabbix Certified Professional
                  • Oct 2005
                  • 3112

                  #9
                  that's correct, it should have proxy's ip.
                  can you give a few examples of items that are working and some that are not ?
                  can you get those values with zabbix_get from the proxy host ?

                  note, you mentioned that you can retrieve data with zabbix_get from the zabbix server, which you should not be able to do, so i suspect agent configuration, actually
                  Zabbix 3.0 Network Monitoring book

                  Comment

                  • kkoon
                    Junior Member
                    • Jan 2009
                    • 20

                    #10
                    ok... actually right now my agentd.conf file has the proxy server's ip followed by gateway to the proxy server. This is because when i try to get agent.ping it returns intermittent empty string or TCP Read error.

                    Some Items that are displayed:
                    vm.memory.size[free]
                    icmpping
                    system.swap.size[,free]

                    Some Items that cannot be displayed:
                    system.cpu.util[,idle,avg5]
                    system.cpu.util[,user,avg5]
                    vfs.fs.size[/,free]

                    I've tried to perform zabbix_get from the proxy for the items that cannot be displayed and are able to capture the data.

                    Comment

                    • kkoon
                      Junior Member
                      • Jan 2009
                      • 20

                      #11
                      anyone has any idea on this?

                      I've just found something. Not sure if it's linked.
                      Because i monitor using my own customised template, and the zabbix proxy log is showing different parameters from what i''ve configured.

                      For example,
                      system.cpu.wait[,user,avg5] is my customised parameter. It's disabled from my template.

                      system.cpu.wait[,user,avg1] is shown in the zabbix proxy log saying that it's not supported. This item is not included in my template.

                      I need to delete system.cpu.wait[,user,avg5] from my item list for this server for it to not appear on the zabbix proxy log file.

                      Could this be the problem? If so, how should i fix it?

                      Comment

                      • richlv
                        Senior Member
                        Zabbix Certified Trainer
                        Zabbix Certified SpecialistZabbix Certified Professional
                        • Oct 2005
                        • 3112

                        #12
                        hmm, so proxy is asking for a different key ?
                        are you sure you haven't changed this recently (thus maybe proxy has not yet synced the data) ?

                        also, what happens if you try getting data for those keys with zabbix_get from the proxy host ?
                        Zabbix 3.0 Network Monitoring book

                        Comment

                        • kkoon
                          Junior Member
                          • Jan 2009
                          • 20

                          #13
                          that was what is shown on the zabbix proxy log.

                          i've even tried to recreate the host on the web interface and relinked the template. but it doesn't seem to work as well.

                          Comment

                          • stlaw
                            Junior Member
                            • Jul 2009
                            • 1

                            #14
                            I met the same problem.

                            It has latest data in the table 'proxy_history' on zabbix proxy, but the same itemid on zabbix server has no latest data, the data usually has couples minutes even more in delay.

                            Does it need to tune zabbix sever configure? why only server via proxy be influenced?

                            Comment

                            Working...