Proxy limitations

While proxies have many benefits, they do have some limitations, too. Well, pretty much one main limitation—they are only data collectors. If the server cannot be reached, the proxy cannot do independent notifications. They can't even generate events; all logic regarding triggers is processed on the server only. Remember, proxies do not process events, send out alerts, or execute remote commands. Remote commands, discussed in Chapter 7, Acting upon Monitored Conditions, are currently scheduled for Zabbix 3.2—but one would have to see that version released to be sure about such a feature being implemented.

Proxy operation

Let's talk about how proxies operate a bit. We'll cover three things here:

  • Synchronization of the configuration
  • Synchronization of the collected data
  • Operation during maintenance

By default, proxies synchronize the configuration once per hour, and this period can be set in the zabbix_proxy.conf configuration file. Look for the parameter named ConfigFrequency, which by default will look like this:

# ConfigFrequency=3600

This means that a Zabbix proxy can lag in configuration up to an hour, which might sound scary, but once a production installation settles, the configuration usually doesn't change that often. While testing, you might wish to decrease this period, but in a stable production setup it is actually suggested to increase this value.

Tip

If you must have configuration changes pushed to a proxy immediately, force the configuration to be reloaded.

The collected data is sent to the server every second by default. That can be customized in the zabbix_proxy.conf file with the DataSenderFrequency parameter.

Note

The active proxy won't connect to the server every second if it has no values to send—a 1-second interval will be used only if it has data to send. On the other hand, if it has lots of values to send and cannot push them all in a single connection (which means 1000 values), the next connection will be performed as soon as possible without waiting that one second.

Regarding host and host group maintenance, when a host is in maintenance without data collection, data is still sent by proxy, but the server discards it. This way, changes in the maintenance status do not suffer from the default one-hour delay for configuration sync.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.144.254.111