[[Zabbix]]

*ホスト名とIPアドレスを抽出するSQL [#e565c991]
|抽出対象|ホスト名とIPアドレス|
|Where条件|グループ番号|
※グループ番号は"select * from groups;"で確認可能

***SQL [#r9dfcc43]
 select hosts.hostid,hosts.host,interface.ip from (hosts inner join interface on hosts.hostid = interface.hostid) inner join hosts_groups on hosts.hostid=hosts_groups.hostid where hosts_groups.hostid = '番号';

トップ   編集 差分 履歴 添付 複製 名前変更 リロード   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS