Ad Widget

Collapse

Zabbix proxy monitoring

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Adriano Trindade
    Junior Member
    • May 2022
    • 19

    #1

    Zabbix proxy monitoring

    Hello!

    I have an environment with a lot of Zabbix proxies registered. Each customer have his own Zabbix Proxy.

    My problem is, when a proxy stops sending data to Zabbix Server, I want to receive an alarm because that proxy became inactive.

    There's a way to do that? I have searched and found nothing. I don't want to have to create manually one monitoring item for each proxy.

    Thanks in advance!
  • cyber
    Senior Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • Dec 2006
    • 4807

    #2
    https://www.zabbix.com/documentation...types/internal
    zabbix[proxy,<name>,<param>]
    Information about Zabbix proxy. Integer. name: proxy name

    Valid values for param are:
    lastaccess - timestamp of last heart beat message received from proxy
    delay - how long collected values are unsent, calculated as "proxy delay" (difference between the current proxy time and the timestamp of the oldest unsent value on proxy) + ("current server time" - "proxy lastaccess")

    Example:
    => zabbix[proxy,"Germany",lastaccess]

    fuzzytime() function can be used to check availability of proxies.
    This item is always processed by Zabbix server regardless of host location (on server or proxy).

    Comment

    • Adriano Trindade
      Junior Member
      • May 2022
      • 19

      #3
      Hello!

      As I understood, I have to create an item for each proxy anyway. But at least I can monitor it and take proper action.

      Many thanks for pointing me out, I can go forward from now on.

      Comment

      • Adriano Trindade
        Junior Member
        • May 2022
        • 19

        #4
        Another question hit me.

        Is there a way I can list registered proxies on Zabbix by name? This way I could make a discovery rule with automatic creation/removal of proxy monitoring items.

        Network discovery in this case doesn´t work, because each proxy isn't accessible from external networks. I need to query Zabbix configuration.

        Thanks in advance!

        Comment

        • cyber
          Senior Member
          Zabbix Certified SpecialistZabbix Certified Professional
          • Dec 2006
          • 4807

          #5
          API calls.https://www.zabbix.com/documentation...e/proxy/object

          Comment

          • Adriano Trindade
            Junior Member
            • May 2022
            • 19

            #6
            Thanks, looks like what I need. Will try tomorrow.

            Comment

            Working...