Ad Widget

Collapse

How to use zabbix[proxy_history] ?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mushero
    Senior Member
    • May 2010
    • 101

    #1

    How to use zabbix[proxy_history] ?

    Can someone tell me where/how to use this as should be able to tell us the proxy send queue size, but it's an internal item on what host ? We want to do this for EACH proxy.

    Can't be on zabbix host as internal item as no proxy name and we have 10+ proxies.

    Can't be on proxy host as that's an agent-monitored host and that key is not valid.

    So where do we attach it ? What host or where in Zabbix that I can then see and trigger it.

    We used to pull this data from the DB but ideally want to use the proxy item if we can. Though we think this comes from the proxy so if the proxy is behind, this will be delayed, too.

    We're pretty advanced in Zabbix but this baffles me.
  • Pada
    Senior Member
    • Apr 2012
    • 236

    #2
    I'm also unable to get the Zabbix Internal item "zabbix[proxy_history]" to work with my Zabbix 3.2.3 Proxies.

    All the other Zabbix Internal items are working (that are bundled in the "Template App Zabbix Proxy") for my proxy servers.

    Comment

    • kloczek
      Senior Member
      • Jun 2006
      • 1771

      #3
      Originally posted by Pada
      I'm also unable to get the Zabbix Internal item "zabbix[proxy_history]" to work with my Zabbix 3.2.3 Proxies.

      All the other Zabbix Internal items are working (that are bundled in the "Template App Zabbix Proxy") for my proxy servers.
      Not all possible internal keys are used in this template.
      Example: zabbix["items_unsupported"] which is per host and allows per host monitor number of items in unsupported state.
      There is no such internal key like zabbix[proxy_history].
      http://uk.linkedin.com/pub/tomasz-k%...zko/6/940/430/
      https://kloczek.wordpress.com/
      zapish - Zabbix API SHell binding https://github.com/kloczek/zapish
      My zabbix templates https://github.com/kloczek/zabbix-templates

      Comment

      • SBO
        Zabbix Certified Specialist
        Zabbix Certified Specialist
        • Sep 2015
        • 226

        #4
        Hi kloczek,

        Unless the documentation is wrong, there is an internal check called zabbix[proxy_history]..

        I'm trying to make it work since this morning, same result as the others, can't get it working yet..

        Comment

        • kloczek
          Senior Member
          • Jun 2006
          • 1771

          #5
          I must apologize.
          I had typo in my grep command when I've been looking across source tree
          zabbix[proxy_history] key exist and just tested that it works.

          To mushero: are you sure that your item with zabbix[proxy_history] key is "zabbix internal" type?
          And/or: did you add this key on the host which is monitored over proxy?
          Last edited by kloczek; 27-01-2017, 20:09.
          http://uk.linkedin.com/pub/tomasz-k%...zko/6/940/430/
          https://kloczek.wordpress.com/
          zapish - Zabbix API SHell binding https://github.com/kloczek/zapish
          My zabbix templates https://github.com/kloczek/zabbix-templates

          Comment

          • Semiadmin
            Senior Member
            • Oct 2014
            • 1625

            #6
            Originally posted by kloczek
            did you add this key on the host which is monitored over proxy?
            It's a right question. If you want to use internal checks on proxy, it must be monitored over proxy, i.e. over itself. It hasn't sence, but otherwise Zabbix internal items'll be or unsupported, like zabbix[proxy_history], or display data of Zabbix server instead of Zabbix proxy.

            Comment

            • Pada
              Senior Member
              • Apr 2012
              • 236

              #7
              So are we supposed to add the Zabbix Internal item to hosts that are monitored by a Zabbix Proxy?

              From the documentation it sounds like its the number of items in the proxy's queue waiting to be sent to the server - or at least that is what I was hoping it would be!

              The reason I want to monitor this is to see if the Zabbix Proxy's backlog is increasing in size, since the "zabbix[proxy,<name>,lastaccess]" Zabbix Internal item alone isn't enough to detect whether the Zabbix Proxy server has sent through the most recent data when you've started to saturate your Internet link to the Zabbix Server.

              Comment

              Working...