Ad Widget

Collapse

How many devices does a Zabbix proxy support?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • nhanqv
    Junior Member
    • Apr 2014
    • 5

    #1

    How many devices does a Zabbix proxy support?

    Hi all,

    I'm investigating my project, which using Zabbix to monitor many devices. I would like to ask 2 questions that
    + How many devices does a Zabbix proxy support?
    + How many Zabbix proxies does a Zabbix server support?

    Thanks in advance.
  • ingus.vilnis
    Senior Member
    Zabbix Certified Trainer
    Zabbix Certified SpecialistZabbix Certified Professional
    • Mar 2014
    • 908

    #2
    Hello!

    As far as I know there are environments with 200.000 monitored devices hitting 20.000 new values per second on Zabbix server.

    There is not a defined amount of devices or proxies that Zabbix can monitor. Hardware and database will limit you in the first place.

    Take a look at these articles:
    One of the questions for those of us that use Zabbix on a large scale is “Just how much data can Zabbix ingest before it blows up spectacularly?” Some of the work I’ve been doing lately revolves around that question. I have an extremely large environment (around 32000+ devices) that could potentially be monitored entirely […]



    There you can read more about Zabbix in large environments and compare with requirements of your project.

    Best Regards,
    Ingus

    Comment

    • kloczek
      Senior Member
      • Jun 2006
      • 1771

      #3
      Originally posted by nhanqv
      Hi all,

      I'm investigating my project, which using Zabbix to monitor many devices. I would like to ask 2 questions that
      + How many devices does a Zabbix proxy support?
      + How many Zabbix proxies does a Zabbix server support?

      Thanks in advance.
      I both cases limit is not in number of monitored hosts but in number of monitored items. In both cases everything is limited by CacheConfig size. By default these caches have 8MB and can be changed. Current (zbx 2.2.3) maximum size is 8GB.
      If I remember correctly about 32MB allows you to monitor about 100k items so using this number and avg number of monitored items per box in your environment you can calculate how many hosts you can monitor without increase CacheConfig.
      Last edited by kloczek; 14-04-2014, 15: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

      • LenR
        Senior Member
        • Sep 2009
        • 1005

        #4
        And the proxy config send from the server must be under 128Mb.

        Here's is a way to monitor the proxies config size. (This needs to run as a service)

        #!/bin/bash
        #
        # Watch log for zabbix proxy events and take appropriate action (Usually invoke zabbix_sender)
        #
        /usr/bin/tail -F /var/log/messages | \
        while read line ; do
        echo "$line" | /bin/grep -q"Received configuration data from server"
        if [ $? = 0 ]
        then
        config=`echo "$line" | awk '{print $NF}'`
        /usr/bin/zabbix_sender -c /etc/zabbix/zabbix_agentd.conf -k csg.proxy.config.size -o "$config"
        fi
        done

        Comment

        Working...