This is the documentation page for an unsupported version of Zabbix.
Is this not what you were looking for? Switch to the current version or choose one from the drop-down menu.
Table of Contents

Zabbix agent 2

Item keys

The table provides details on the item keys that you can only use with Zabbix agent 2.

Key
Description Return value Parameters Comments
redis.config[<connString>,<password>,<pattern>]
Gets the configuration parameters of a Redis instance that match the pattern. JSON - if a glob-style pattern was used

single value - if a pattern did not contain any wildcard character
connString - URI or session name.
password - Redis password.
pattern - glob-style pattern (* by default).
This item is supported since Zabbix 4.4.5 for the Redis plugin.
redis.info[<connString>,<password>,<section>]
Gets the output of the INFO command. JSON - output is serialized as JSON connString - URI or session name.
password - Redis password.
section - section of information (default by default).
This item is supported since Zabbix 4.4.5 for the Redis plugin.
redis.ping[<connString>,<password>]
Test if a connection is alive or not. 1 - connection is alive

0 - connection is broken (if there is any error presented including AUTH and configuration issues)
connString - URI or session name.
password - Redis password.
This item is supported since Zabbix 4.4.5 for the Redis plugin.
redis.slowlog.count[<connString>,<password>]
The number of slow log entries since Redis was started. Integer connString - URI or session name.
password - Redis password.
This item is supported since Zabbix 4.4.5 for the Redis plugin.
systemd.unit.info[<unit name>,<property>,<interface>]
Systemd unit information. String unit name - unit name (you may want to use the {#UNIT.NAME} macro in item prototype to discover the name)
property - unit property (e.g. ActiveState (default), LoadState, Description)
interface - unit interface type (e.g. Unit (default), Socket, Service)
This item allows to retrieve a specific property from specific type of interface as described in dbus API.

This item is only supported in Zabbix agent 2.

This item is supported on Linux platform only.

Examples:
=> systemd.unit.info["{#UNIT.NAME}"] - collect active state (active, reloading, inactive, failed, activating, deactivating) info on discovered systemd units
=> systemd.unit.info["{#UNIT.NAME}",LoadState] - collect load state info on discovered systemd units
=> systemd.unit.info[mysqld.service,Id] - retrieve service technical name (mysqld.service)
=> systemd.unit.info[mysqld.service,Description] - retrieve service desciption (MySQL Server)
=> systemd.unit.info[mysqld.service,ActiveEnterTimestamp] - retrieve the last time the service entered the active state (1562565036283903)
=> systemd.unit.info[dbus.socket,NConnections,Socket] - collect the number of connections from this socket unit
systemd.unit.discovery[<type>]
List of systemd units and their details. Used for low-level discovery. JSON object type - possible values: all, automount, device, mount, path, service (default), socket, swap, target This item is supported on Linux platform only.