Ad Widget

Collapse

monitoring the zabbix proxy

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • nioakeim
    Junior Member
    • Sep 2018
    • 1

    #1

    monitoring the zabbix proxy

    Hello Everyone,
    this is my first post here, so I would like to say many thanks to this wonderful community. It has helped me a lot to catch up with Zabbix over these past 2 months.

    I have a question regarding the Zabbix proxy which although I've searched all around, I could not find any answers. Please forgive my ignorance, if the question is stupid.

    So, I am planning to use Zabbix proxies in order to monitor different sites. Configuring the proxy using the documentation was ok, but I am now struggling to find if i need to also monitor the Zabbix proxy itself.

    Do I need to install both agent and proxy packages and monitor the proxy as a normal system, or the proxy alone provides this function for me?

    Thank you for your time
  • DmitryL
    Senior Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • May 2016
    • 278

    #2
    Monitoring a proxy definitely would be a best practice.
    It will be quite an important component in your monitoring setup, so you would want to know if there will be some issues with that server.

    So yeah, install an agent on proxy server.
    Create a host with agent interface localhost
    Assign Zabbix proxy template (should be there by default)
    And set the host to be monitored by the proxy itself.

    Comment

    • wojtaslech@gmail.com
      Junior Member
      • Mar 2023
      • 6

      #3
      Hello, isn't it better to monitor zabbix-proxy server directly by zabbix server and agent in passive mode?
      If the zabbix proxy is monitored by itself, what if the server loses connection to the network, stops collecting data or the communication between the praxy and the zabbix server is interrupted? Zabbix will collect data from monitored hosts, but will not pass this information to the server. If the proxy is monitoring important systems, it should have information that it has stopped sending data to the server. Can someone experienced give what is the best practice. So that in the event of problems with zabix-proxy get immediate information to the server. The last time I had such a case, the proxy crashed and stopped collecting data the statuses were ok because the last collected data indicated this, while the time was 20 hours since the last change of value I did not receive any notification, not even nodata.Thanks in advance for your help on this topic. ​

      Comment

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

        #4
        zabbix[proxy,<name>,<param>]
        Create some triggers using this item. Its always processed by server and you can fire your alarms, if a proxy has not sent anything in (not even a heartbeat) in X amount of time.

        Comment

        • wojtaslech@gmail.com
          Junior Member
          • Mar 2023
          • 6

          #5
          Originally posted by cyber
          zabbix[proxy,<name>,<param>]
          Create some triggers using this item. Its always processed by server and you can fire your alarms, if a proxy has not sent anything in (not even a heartbeat) in X amount of time.
          Thank you very much for your help, I created item zabbix[proxy,"name_my_proxy",lastaccess] to which I created trigger fuzzytime(/Remote Zabbix server health/zabbix[proxy, "name_my_proxy",lastaccess],1m)=0
          When you turn off the proxy service or disconnect the network, the trigger runs.​

          Comment

          Working...