This example assumes that Template_Zorka_JVM_Active template is present. If not, please import it from templates/zbx34 directory.
Agent side
The following things must be set in zorka.properties:
zabbix.active = yes- to enable active agent;zabbix.server.addr- address of zabbix server (usezabbix.active.server.addrif address differs from standardzabbix protocol communication);zorka.hostname- host used to register agent (must be unique);zabbix.active.host.metadata- set some secure key andZORKA_JVMkeyword, for example:
zabbix.active.host.metadata = 1qaz2wsx3edc4rfv5tgb ZORKA_JVM
Zabbix side
- go to
Configuration->Actionsscreen and selectAuto registrationas event source; - click
Create actionto open new rule; - add new condition of type
Host metadatacontaining key entered tozabbix.active.host.metadataof agent configuration; - add new condition of type
Host metadatacontainingZORKA_JVMword; - change
Type of calculationvalue toAdd; - switch to
Operationstab; - add new
Add hostoperation; - add new
Link to templateoperation, selectTemplate_Zorka_JVM_Activetemplate;
Active checks related options
zabbix.active = no- enables zabbix active agent;zabbix.active.batch.size = 10- maximum number of metrics sent every sender cycle;zabbix.active.cache.size = 150- maximum number of collected metrics awaiting to be sent to zabbix server;zabbix.active.check.interval = 120- defines how often agent will query zabbix server for metrics to check;zabbix.active.message.size = 16384- maximum size of data messages sent to zabbix server;zabbix.active.sender.interval = 60- defines how often collected metrics will be sent sent to zabbix server;zabbix.active.server.addr = ${zabbix.server.addr}- zabbix server address for handling active requests;typically this is the same aszabbix.server.addr, so no need for changing this setting in most cases;