内部チェックでは、Zabbixの内部処理を監視することができます。つまり、ZabbixサーバーやZabbixプロキシで何が行われているのかを監視することができます。
内部チェックを算出:
内部チェックは、ホストのメンテナンス状態に関係なく、サーバーまたはプロキシで処理されます。
このアイテムを使用するには、アイテムのZabbixインターナルタイプを選択してください。
内部チェックはZabbixポーラープロセスによって処理されます
いくつかの内部チェックアイテムを使用すると、パフォーマンスに悪影響を及ぼす可能性があります。そのアイテムは以下の通り:
zabbix[host,,items]
zabbix[host,,items_unsupported]
zabbix[hosts]
zabbix[items]
zabbix[items_unsupported]
zabbix[queue]
zabbix[required_performance]
zabbix[stats,,,queue]
zabbix[triggers]
Webインターフェースのシステム情報 と キュー も影響を受けます。
アイテムキーの一覧にカスタマイズ可能なパラメータや追加情報の説明が記載されていません。。アイテムキーをクリックすると、詳細が表示されます。
アイテムキー | 説明 |
---|---|
zabbix[boottime] | ZabbixサーバーまたはZabbixプロキシのプロセスの起動時間(秒単位) |
zabbix[cluster,discovery,nodes] | Zabbix HAノードの検出 |
zabbix[connector_queue] | connectorキューに登録された値の数 |
zabbix[discovery_queue] | discoveryキューに登録されたネットワーク・チェックの数 |
zabbix[host,,items] | ホスト上で有効なアイテム(正常または取得不可のアイテム)の数 |
zabbix[host,,items_unsupported] | ホスト上で有効な取得不可のアイテムの数 |
zabbix[host,,maintenance] | ホストの現在のメンテナンス状態 |
zabbix[host,active_agent,available] | ホスト上の監視中のエージェント監視の可用性 |
zabbix[host,discovery,interfaces] | Webインタフェースのホストに設定されているすべてのインターフェースの詳細 |
zabbix[host,,available] | ホスト上の特定タイプの監視のメインインターフェイスの可用性 |
zabbix[hosts] | 監視対象ホストの数 |
zabbix[items] | 有効なアイテム(正常または取得不可のアイテム)の数 |
zabbix[items_unsupported] | 取得不可のアイテムの数 |
zabbix[java,,] | Zabbix Java gatewayに関する情報 |
zabbix[lld_queue] | LLDキューにキューイングされた値の数 |
zabbix[preprocessing] | preprocessing managerプロセスによって受信された値の統計 |
zabbix[preprocessing_queue] | preprocessingキューに登録された値の数 |
zabbix[process,,,] | 特定のZabbixプロセスまたはプロセスグループ(<type>および<mode>で識別)が<state>で動作した時間の割合(パーセンテージ) |
zabbix[proxy,discovery] | Zabbixプロキシの一覧 |
zabbix[proxy group,,available] | プロキシグループ内のオンラインなプロキシの数 |
zabbix[proxy group,,pavailable] | プロキシグループ内のオンラインなプロキシの割合 |
zabbix[proxy group,,proxies] | プロキシグループ内のZabbixプロキシの一覧 |
zabbix[proxy group,,state] | プロキシ グループの状態 |
zabbix[proxy group,discovery] | 設定とリアルタイムデータを含むプロキシグループの一覧 |
zabbix[proxy_buffer,buffer,] | プロキシのメモリ・バッファーの使用状況統計 |
zabbix[proxy_buffer,state,changes] | 開始以降のディスク/メモリ・バッファ・モード間の状態変化の数 |
zabbix[proxy_buffer,state,current] | 新しいデータが保存されている現在の動作状態 |
zabbix[proxy_history] | サーバーへ送信待ちとなっているプロキシのヒストリテーブル内のデータの数 |
zabbix[queue,,] | キュー内の監視対象アイテムの内、<from>秒以上<to>秒未満遅延しているアイテムの数 |
zabbix[rcache,,] | Zabbix configurationキャッシュの可用性統計 |
zabbix[requiredperformance] | ZabbixサーバーまたはZabbixプロキシで要求されたパフォーマンス(1秒あたりの監視アイテム数) |
zabbix[stats,,] | リモートのZabbix サーバーまたはプロキシの内部メトリック |
zabbix[stats,,,queue,,] | リモートのZabbixサーバーまたはプロキシの内部キューメトリック |
zabbix[tcache,,] | Zabbix trend functionキャッシュの有効性統計 |
zabbix[triggers] | 有効なホスト上の全ての有効なアイテムを利用したZabbixデータベース内の有効なトリガーの数。 |
zabbix[uptime] | ZabbixサーバーまたはZabbixプロキシのプロセスの稼働時間(秒単位) |
zabbix[vcache,buffer,] | Zabbix valueキャッシュの可用性統計 |
zabbix[vcache,cache,] | Zabbix valueキャッシュの有効性統計 |
zabbix[version] | Zabbixサーバーまたはプロキシのバージョン |
zabbix[vmware,buffer,] | Zabbix vmwareキャッシュの可用性統計 |
zabbix[vps,written] | データベースに書き込まれた監視データの合計件数 |
zabbix[wcache,,] | Zabbix writeキャッシュの統計と可用性 |
ZabbixサーバーまたはZabbixプロキシのプロセスの起動時間(秒単位)
戻り値: 数値(整数)
Zabbix HAノードを検出します。
戻り値: JSONオブジェクト.
コメント:
connectorキューに登録された値の数
戻り値: 数値(整数)
discoveryキューに登録されたネットワーク・チェックの数
戻り値: 数値(整数)
ホスト上で有効なアイテム(正常または取得不可のアイテム)の数
戻り値: 数値(整数).
ホスト上で有効な取得不可のアイテムの数
戻り値: 数値(整数)
ホストの現在のメンテナンス状態
Return values: 0 - 通常の状態 1 - データ収集ありのメンテナンス 2 - データ収集なしのメンテナンス
コメント:
The availability of active agent checks on the host.
Return values: 0 - unknown; 1 - available; 2 - not available.
Webインタフェースのホストに設定されているすべてのインターフェースの詳細
戻り値: JSONオブジェクト
コメント:
ホスト上の特定タイプの監視のメインインターフェイスの可用性
戻り値: 0 - 利用不可 1 - 利用可能 2 - 不明
パラメータ:
コメント:
The number of monitored hosts.
Return value: Integer.
The number of enabled items (supported and not supported).
Return value: Integer.
The number of unsupported items.
Return value: Integer.
Zabbix Java gatewayに関する情報
戻り値: 1 - <param>がpingの場合; Java gatewayバージョン - <param>がversionの場合(例: "7.0.0")
パラメータ:
コメント:
nodata()
を使用してJava gatewayの可用性を確認するために使用できます。
LLDキューに登録された値の数
戻り値: 数値(整数)
コメント:
preprocessing managerによって受信された値の統計:
- queued - 保存前処理を必要とするキューに入れられた値の数とサイズ(カウンター)
- direct - 保存前処理を必要としないキューに入れられた値の数とサイズ(カウンター)
- queue - preprocessingキューに登録された値の数(zabbix[preprocessing_queue]
と同じ)
戻り値: JSON
このアイテムはZabbix7.0.12以降でサポートされています。
戻り値の例:
{"data":
{
"queued": {
"count": 106,
"size": 58620
},
"direct": {
"count": 395,
"size": 33843
},
"queue": 0
}
}
preprocessingキューに登録された値の数
戻り値: 数値(整数)
コメント:
特定のZabbixプロセスまたはプロセスグループ(<type>および<mode>で識別)が<state>で動作した時間の割合(パーセンテージ)。これは最後の1分間のみ計算されます。<type>の指定は必須です。
戻り値:数値(浮動小数)
パラメータ:
コメント:
例:
zabbix[process,poller,avg,busy] #pollerプロセスが過去1分間に何らかの処理を行った時間の割合
zabbix[process,"icmp pinger",max,busy] #過去1分間で ICMP pingerプロセスが何らかの処理を行った時間の割合
zabbix[process,"history syncer",2,busy] #過去1分間で history syncer #2 が何らかの処理を行った時間の割合
zabbix[process,trapper,count] #現在実行中のトラッパー プロセスの数
The information about Zabbix proxy.
Return value: Integer.
Parameters:
The list of Zabbix proxies with name, mode, encryption, compression, version, last seen, host count, item count, required values per second (vps) and version status (current/outdated/unsupported).
Return value: JSON object.
The number of online proxies in a proxy group.
Return value: Integer.
Parameters:
The percentage of online proxies in a proxy group.
Return value: Float.
Parameters:
The list of Zabbix proxies in a proxy group with name, mode, encryption, compression, version, last seen, host count, item count, required values per second (vps), version status (current/outdated/unsupported), timeouts, proxy group name, state (unknown/offline/online).
Return value: JSON.
Parameters:
The state of a proxy group.
Return value: 0 - unknown; 1 - offline; 2 - recovering; 3 - online; 4 - degrading.
Parameters:
Returns a list of proxy groups with configuration data and real-time data. Configuration data include the proxy group name, failover delay, and the minimum number of online proxies required. Real-time data include the proxy group state (see comments for details), the number of online proxies, and the percentage of online proxies.
Return value: JSON.
Comments:
Example of return values:
{
"groups": [
{ "name": "Riga", "failover_delay": 60, "min_online": 1 },
{ "name": "Tokyo", "failover_delay": 60, "min_online": 2 },
{ "name": "Porto Alegre", "failover_delay": 60, "min_online": 3 }
],
"details": {
"Riga": { "state": 3, "available": 10, "pavailable": 20 },
"Tokyo": { "state": 3, "available": 10, "pavailable": 20 },
"Porto Alegre": { "state": 1, "available": 0, "pavailable": 0 }
}
}
The proxy memory buffer usage statistics.
Return values: Integer (for size); Float (for percentage).
Parameters:
Comments: - Returns a 'Proxy memory buffer is disabled' error when the memory buffer is disabled;
- This item is not supported on Zabbix server.
Returns the number of state changes between disk/memory buffer modes since start.
Return values: Integer; 0 - the memory buffer is disabled.
Comments:
Returns the current working state where the new data are being stored.
Return values: 0 - disk; 1 - memory.
"0" is also returned when the memory buffer is disabled.
The number of values in the proxy history table waiting to be sent to the server.
Return values: Integer.
This item is not supported on Zabbix server.
The number of monitored items in the queue which are delayed at least by <from> seconds, but less than <to> seconds.
Return value: Integer.
Parameters:
Time-unit symbols (s,m,h,d,w) are supported in the parameters.
The availability statistics of the Zabbix configuration cache.
Return values: Integer (for size); Float (for percentage).
Parameters:
The required performance of Zabbix server or Zabbix proxy, in new values per second expected.
Return value: Float.
Approximately correlates with "Required server performance, new values per second" in Reports → System information.
The internal metrics of a remote Zabbix server or proxy.
Return values: JSON object.
Parameters:
Comments:
The internal queue metrics (see zabbix[queue,<from>,<to>]
) of a remote Zabbix server or proxy.
Return values: JSON object.
Parameters:
Comments:
The effectiveness statistics of the Zabbix trend function cache.
Return values: Integer (for size); Float (for percentage).
Parameters:
This item is not supported on Zabbix proxy.
The number of enabled triggers in Zabbix database, with all items enabled on enabled hosts.
Return value: Integer.
This item is not supported on Zabbix proxy.
The uptime of the Zabbix server or proxy process in seconds.
Return value: Integer.
The availability statistics of the Zabbix value cache.
Return values: Integer (for size); Float (for percentage).
Parameter:
This item is not supported on Zabbix proxy.
The effectiveness statistics of the Zabbix value cache.
Return values: Integer. With the mode parameter returns: 0 - normal mode; 1 - low memory mode.
Parameters:
Comments:
The version of Zabbix server or proxy.
Return value: String. For example: 6.0.0beta1
.
The availability statistics of the Zabbix vmware cache.
Return values: Integer (for size); Float (for percentage).
Parameters:
The total number of history values written to database.
Return value: Integer.
The statistics and availability of the Zabbix write cache.
Return values: Integer (for number/size); Float (for percentage).
Parameters:
Comments:
trend
cache parameter is not supported with Zabbix proxy.