Versions in this module Expand all Collapse all v0 v0.2.1 Aug 15, 2017 v0.2.0 Jun 18, 2017 Changes in this version + var DB *sql.DB + func Init() + func QueryBuiltinMetrics(tids string) ([]*model.BuiltinMetric, error) + func QueryExpressions() (ret []*model.Expression, err error) + func QueryGroupTemplates() (map[int][]int, error) + func QueryHostGroups() (map[int][]int, error) + func QueryHostTemplateIds() (map[int][]int, error) + func QueryHosts() (map[string]int, error) + func QueryMonitoredHosts() (map[int]*model.Host, error) + func QueryPlugins() (map[int][]string, error) + func QueryStrategies(tpls map[int]*model.Template) (map[int]*model.Strategy, error) + func QueryTemplates() (map[int]*model.Template, error) + func UpdateAgent(agentInfo *model.AgentUpdateInfo)