このページの2つのバージョン間の差分を表示します。
01_linux:04_監視:zabbix:92_find_items_with_sql [2015/08/19 06:33] – 作成 matsui | 01_linux:04_監視:zabbix:92_find_items_with_sql [2015/08/19 08:00] (現在) – matsui | ||
---|---|---|---|
行 1: | 行 1: | ||
+ | ====== 92 利用されているitemを検索(SQL) ====== | ||
+ | |||
+ | items.status = 0 : monitored | ||
+ | items.status = 1 : not monitored | ||
+ | |||
+ | <code console> | ||
+ | mysql> SELECT itemid, items.hostid, | ||
+ | FROM items LEFT JOIN hosts ON items.hostid=hosts.hostid | ||
+ | WHERE key_ LIKE ' | ||
+ | </ | ||
+ | |||
+ | {{tag> |