Linux云计算架构-Zabbix企业级监控系统之数据库常用表结构介绍
select * from hosts where hostid='10050'
select * from items where itemid='10050'
select * from hosts_templates
select * from hosts_groups
select * from hstgrp
select * from dashboard
select * from dashboard_user
select * from dashboard_usrgrp
select * from config
select * From profiles
select * from graphs
select * from graph_theme
select * from graphs_items
select * from triggers where triggerid='13015'
select * froM trigger_depends
select * from functions where itemid='22189'
select * from functions where functionid='12641'
select * from items where itemid='22189'
select * from events where objectid='13015'
SELECT itemid,FROM_UNIXTIME(clock),VALUE,FROM_UNIXTIME(ns) FROM history WHERE itemid='10073'
SELECT itemid,FROM_UNIXTIME(clock),num,value_min,value_avg,value_max FROM trends WHERE itemid='10073'
SELECT * FROM history_log
select * from history_str
select * froM history_text
SELECT itemid,FROM_UNIXTIME(clock),VALUE,ns FROM history_uint;
SELECT itemid,FROM_UNIXTIME(clock),num,value_min,value_avg,value_max FROM trends_uint;
select * from users
select * from users_groups
select * from usrgrp
select c.name,a.name from usrgrp a inner join users_groups b
on a.usrgrpid=b.usrgrpid
inner join users c on b.userid=c.userid;
SELECT * FROM interface
SELECT * FROM problem
SELECT * FROM actions
SELECT * FROM alerts
SELECT * FROM rights
SELECT * FROM screens
SELECT * FROM screens_items
SELECT sessionid,userid,FROM_UNIXTIME(lastaccess),STATUS FROM sessions