Zabbix agent 2 支持 Zabbix agent 在 Unix and Windows 上支持的所有监控项键值。这个页面提供了额外的监控项键值的详细信息,或者你也可以按它们所属的插件分组只使用 Zabbix agent 2。
可以查看: Plugins supplied out-of-the-box ::: noteclassic 使用尖括号< > 标记的参数是可选参数,没有使用尖括号标记的参数是必选参数。 :::
Parameters without angle brackets are mandatory. Parameters marked with angle brackets < > are optional.
The cluster’s data usage and distribution among pools.
Return value: JSON object.
Parameters:
Aggregated and per OSD statistics.
Return value: JSON object.
Parameters:
The list of discovered OSDs. Used for low-level discovery.
Return value: JSON object.
Parameters:
The usage thresholds and statuses of OSDs.
Return value: JSON object.
Parameters:
Tests whether a connection to Ceph can be established.
Return value: 0 - connection is broken (if there is any error presented including AUTH and configuration issues); 1 - connection is successful.
Parameters:
The list of discovered pools. Used for low-level discovery.
Return value: JSON object.
Parameters:
The overall cluster's status.
Return value: JSON object.
Parameters:
Low-level information about a container.
Return value: The output of the ContainerInspect API call serialized as JSON.
Parameters:
The Agent 2 user ('zabbix') must be added to the 'docker' group for sufficient privileges. Otherwise the check will fail.
The container resource usage statistics.
Return value: The output of the ContainerStats API call and CPU usage percentage serialized as JSON.
Parameter:
The Agent 2 user ('zabbix') must be added to the 'docker' group for sufficient privileges. Otherwise the check will fail.
The list of containers.
Return value: The output of the ContainerList API call serialized as JSON.
The Agent 2 user ('zabbix') must be added to the 'docker' group for sufficient privileges. Otherwise the check will fail.
Returns the list of containers. Used for low-level discovery.
Return value: JSON object.
Parameter:
The Agent 2 user ('zabbix') must be added to the 'docker' group for sufficient privileges. Otherwise the check will fail.
Information about the current data usage.
Return value: The output of the SystemDataUsage API call serialized as JSON.
The Agent 2 user ('zabbix') must be added to the 'docker' group for sufficient privileges. Otherwise the check will fail.
Returns the list of images.
Return value: The output of the ImageList API call serialized as JSON.
The Agent 2 user ('zabbix') must be added to the 'docker' group for sufficient privileges. Otherwise the check will fail.
Returns the list of images. Used for low-level discovery.
Return value: JSON object.
The Agent 2 user ('zabbix') must be added to the 'docker' group for sufficient privileges. Otherwise the check will fail.
The system information.
Return value: The output of the SystemInfo API call serialized as JSON.
The Agent 2 user ('zabbix') must be added to the 'docker' group for sufficient privileges. Otherwise the check will fail.
Test if the Docker daemon is alive or not.
Return value: 1 - the connection is alive; 0 - the connection is broken.
The Agent 2 user ('zabbix') must be added to the 'docker' group for sufficient privileges. Otherwise the check will fail.
Test if a connection is alive or not.
Return value: 1 - the connection is alive; 0 - the connection is broken (if there is any error presented including AUTH and configuration issues).
Parameters:
Gets the output of the STATS command.
Return value: JSON - the output is serialized as JSON.
Parameters:
Returns a variety of storage statistics for a given collection.
Return value: JSON object.
Parameters:
Returns a list of discovered collections. Used for low-level discovery.
Return value: JSON object.
Parameters:
Returns the usage statistics for collections.
Return value: JSON object.
Parameters:
Returns information regarding the open outgoing connections from the current database instance to other members of the sharded cluster or replica set.
Return value: JSON object.
Parameters:
Returns the statistics reflecting a given database system state.
Return value: JSON object.
Parameters:
Returns a list of discovered databases. Used for low-level discovery.
Return value: JSON object.
Parameters:
Returns the count of jumbo chunks.
Return value: JSON object.
Parameters:
Returns the status of the replica set, using data polled from the oplog.
Return value: JSON object.
Parameters:
Test if a connection is alive or not.
Return value: 1 - the connection is alive; 0 - the connection is broken (if there is any error presented including AUTH and configuration issues).
Parameters:
Returns the current configuration of the replica set.
Return value: JSON object.
Parameters:
Returns the replica set status from the point of view of the member where the method is run.
Return value: JSON object.
Parameters:
Returns the database state.
Return value: JSON object.
Parameters:
Returns the list of discovered shards present in the cluster.
Return value: JSON object.
Parameters:
Returns the database server version.
Return value: String.
Parameters:
Subscribes to a specific topic or topics (with wildcards) of the provided broker and waits for publications.
Return value: Depending on topic content. If wildcards are used, returns topic content as JSON.
Parameters:
Comments:
/etc/ssl/certs/
directory for Ubuntu). For TLS, use the tls://
scheme.
Returns the result of a custom query.
Return value: JSON object.
Parameters:
Supported since Zabbix 6.4.6.
Returns the list of MySQL databases. Used for low-level discovery.
Return value: The result of the "show databases" SQL query in LLD JSON format.
Parameters:
The database size in bytes.
Return value: Result of the "select coalesce(sum(data_length + index_length),0) as size from information_schema.tables where table_schema=?" SQL query for specific database in bytes.
Parameters:
Values of the global status variables.
Return value: Result of the "show global status" SQL query in JSON format.
Parameters:
Test if a connection is alive or not.
Return value: 1 - the connection is alive; 0 - the connection is broken (if there is any error presented including AUTH and configuration issues).
Parameters:
Returns the list of MySQL replications. Used for low-level discovery.
Return value: The result of the "show slave status" SQL query in LLD JSON format.
Parameters:
The replication status.
Return value: Result of the "show slave status" SQL query in JSON format.
Parameters:
The MySQL version.
Return value: String (with the MySQL instance version).
Parameters:
Returns the Automatic Storage Management (ASM) disk groups statistics.
Return value: JSON object.
Parameters:
Returns the list of ASM disk groups. Used for low-level discovery.
Return value: JSON object.
Parameters:
The archive logs statistics.
Return value: JSON object.
Parameters:
The Container Databases (CDBs) information.
Return value: JSON object.
Parameters:
The result of a custom query.
Return value: JSON object.
Parameters:
Returns the data files statistics.
Return value: JSON object.
Parameters:
Returns the list of databases. Used for low-level discovery.
Return value: JSON object.
Parameters:
Returns the Fast Recovery Area (FRA) statistics.
Return value: JSON object.
Parameters:
The instance statistics.
Return value: JSON object.
Parameters:
The Pluggable Databases (PDBs) information.
Return value: JSON object.
Parameters:
Returns the list of PDBs. Used for low-level discovery.
Return value: JSON object.
Parameters:
Returns the Program Global Area (PGA) statistics.
Return value: JSON object.
Parameters:
Test whether a connection to Oracle can be established.
Return value: 1 - the connection is successful; 0 - the connection is broken (if there is any error presented including AUTH and configuration issues).
Parameters:
Returns the processes statistics.
Return value: JSON object.
Parameters:
The log file information from the control file.
Return value: JSON object.
Parameters:
Returns the System Global Area (SGA) statistics.
Return value: JSON object.
Parameters:
Returns the sessions statistics.
Return value: JSON object.
Parameters:
Returns a set of system metric values.
Return value: JSON object.
Parameters:
Returns a set of system parameter values.
Return value: JSON object.
Parameters:
Returns the tablespaces statistics.
Return value: JSON object.
Parameters:
type
is set):type
is set to "TEMPORARY");type
is set to "PERMANENT").tablespace
is set): "PERMANENT".
Returns a list of tablespaces. Used for low-level discovery.
Return value: JSON object.
Parameters:
Returns Oracle user information.
Return value: JSON object.
Parameters:
Returns the database server version.
Return value: String.
Parameters:
as sysdba
, as sysoper
, or as sysasm
in the format user as sysdba
(a login option is case-insensitive, must not contain a trailing space);
The number of autovacuum workers.
Return value: Integer.
Parameters:
The information about archived files.
Return value: JSON object.
Parameters:
The returned data are processed by dependent items:
The combined number of checkpoints for the database cluster, broken down by checkpoint type.
Return value: JSON object.
Parameters:
The returned data are processed by dependent items:
The PostgreSQL buffer cache hit rate.
Return value: Float.
Parameters:
Returns connections by type.
Return value: JSON object.
Parameters:
The returned data are processed by dependent items:
Returns the result of a custom query.
Return value: JSON object.
Parameters:
The age of the oldest FrozenXID of the database. Used for low-level discovery.
Return value: Integer.
Parameters:
The number of bloating tables per database. Used for low-level discovery.
Return value: Integer.
Parameters:
The list of PostgreSQL databases. Used for low-level discovery.
Return value: JSON object.
Parameters:
The database size in bytes. Used for low-level discovery.
Return value: Integer.
Parameters:
Collects the statistics per database. Used for low-level discovery.
Return value: JSON object.
Parameters:
The returned data are processed by dependent items:
The summarized data for all databases in a cluster.
Return value: JSON object.
Parameters:
The returned data are processed by dependent items:
The information about granted locks per database. Used for low-level discovery.
Return value: JSON object.
Parameters:
The returned data are processed by dependent items:
The age of the oldest XID.
Return value: Integer.
Parameters:
Tests whether a connection is alive or not.
Return value: 1 - the connection is alive; 0 - the connection is broken (if there is any error presented including AUTH and configuration issues).
Parameters:
Queries metrics by execution time.
Return value: JSON object.
Parameters:
The returned data are processed by dependent items:
The number of standby servers.
Return value: Integer.
Parameters:
The flush lag, write lag and replay lag per each sender process.
Return value: JSON object.
Parameters:
The replication process name discovery.
Return value: JSON object.
Parameters:
The recovery status.
Return value: 0 - master mode; 1 - recovery is still in progress (standby mode).
Parameters:
The status of replication.
Return value: 0 - streaming is down; 1 - streaming is up; 2 - master mode.
Parameters:
The replication lag in bytes.
Return value: Integer.
Parameters:
The replication lag in seconds.
Return value: Integer.
Parameters:
The PostgreSQL uptime in milliseconds.
Return value: Float.
Parameters:
Returns PostgreSQL version.
Return value: String.
Parameters:
The WAL statistics.
Return value: JSON object.
Parameters:
The returned data are processed by dependent items:
Gets the configuration parameters of a Redis instance that match the pattern.
Return value: JSON - if a glob-style pattern was used; single value - if a pattern did not contain any wildcard character.
Parameters:
Gets the output of the INFO command.
Return value: JSON - the output is serialized as JSON.
Parameters:
Test if a connection is alive or not.
Return value: 1 - the connection is alive; 0 - the connection is broken (if there is any error presented including AUTH and configuration issues).
Parameters:
The number of slow log entries since Redis was started.
Return value: Integer.
Parameters:
Returns a list of S.M.A.R.T. device attributes.
Return value: JSON object.
Comments:
Returns a list of S.M.A.R.T. devices.
Return value: JSON object.
Comments:
Returns all available properties of S.M.A.R.T. devices.
Return value: JSON object.
Parameters:
Comments:
Returns all properties of a systemd unit.
Return value: JSON object.
Parameters:
Comments:
"ActiveState":{"state":1,"text":"active"}
.
A systemd unit information.
Return value: String.
Parameters:
Comments:
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 the service technical name (mysqld.service)
systemd.unit.info[mysqld.service,Description] #retrieve the service description (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
List of systemd units and their details. Used for low-level discovery.
Return value: JSON object.
Parameter:
This item is supported on Linux platform only.
Validates the certificates and returns certificate details.
Return value: JSON object.
Parameter:
Comments:
host
does not exist or is unavailable or if TLS handshake fails with any error except an invalid certificate;