Ad Widget

Collapse

Monitor a Zabbix Proxy using the Zabbix Agent

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • jluvs2ride
    Member
    • Jul 2015
    • 85

    #1

    Monitor a Zabbix Proxy using the Zabbix Agent

    I have an AZURE Cloud Server running Debian and Zabbix Server with about 5 distributed locations that have proxies. Each site uses a combination of Zabbix Agent installs and SNMP to gather information and send to the Server by way of the Proxies.

    It's all working quite well, and has been for some time but I need to address the following;

    I'd like to be able to monitor the health of the actual proxies with the Zabbix Agent. I have the agent installed on each proxy and have the agent config file set with the following;

    ##### Passive checks related

    ### Option: Server
    # List of comma delimited IP addresses, optionally in CIDR notation, or hostnames of Zabbix servers.
    # Incoming connections will be accepted only from the hosts listed here.
    # If IPv6 support is enabled then '127.0.0.1', '::127.0.0.1', '::ffff:127.0.0.1' are treated equally and '::/0' will allow any IPv4 or IPv6 address.
    # '0.0.0.0/0' can be used to allow any IPv4 address.
    # Example: Server=127.0.0.1,192.168.1.0/24,::1,2001:db8::/32,zabbix.domain
    #
    # Mandatory: no
    # Default:
    # Server=

    Server=192.168.0.11

    ### Option: ListenPort
    # Agent will listen on this port for connections from the server.
    #
    # Mandatory: no
    # Range: 1024-32767
    # Default:
    # ListenPort=10050

    ListenPort=10050

    ### Option: ListenIP
    # List of comma delimited IP addresses that the agent should listen on.
    # First IP address is sent to Zabbix server if connecting to it to retrieve list of active checks.
    #
    # Mandatory: no
    # Default:
    # ListenIP=0.0.0.0

    I have created hosts for the Proxies on the Zabbix server and assigned both the Zabbibx Proxy and Zabbix Agent Templates to each but the server never sees the Zabbix Agent on the Proxy Host. I have tried with Monitored by proxy set to the appropriate proxy or set to no proxy but I would think it needs to be treated like a regular host and be monitored by the appropriate proxy.

    Any Ideas??

  • jluvs2ride
    Member
    • Jul 2015
    • 85

    #2
    OK, it just started working.

    Comment

    • kloczek
      Senior Member
      • Jun 2006
      • 1771

      #3
      Zabbix proxy provides set of internal zabbix metrics to monitor state of the proxy. You don't need agent to monitor the proxy.
      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

      • RonaldMcDonaldTrump
        Member
        • Jan 2018
        • 41

        #4
        Originally posted by kloczek
        Zabbix proxy provides set of internal zabbix metrics to monitor state of the proxy. You don't need agent to monitor the proxy.
        Do you mean that is not necessary or don't have to?

        Comment

        Working...