Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ClearNqmAgent = []string{DeleteNqmAgentSQL, DeleteHostSQL, ResetAutoIncForNqmAgent, ResetAutoIncForHost}
View Source
var DeleteHostSQL = `DELETE FROM host WHERE id >= 36091 AND id <= 36095`
View Source
var DeleteNqmAgentPingtaskSQL = "DELETE FROM nqm_agent_ping_task WHERE apt_ag_id = 24022"
View Source
var DeleteNqmAgentSQL = `DELETE FROM nqm_agent WHERE ag_id >= 24021 AND ag_id <= 24025`
View Source
var DeleteNqmtargetSQL = "DELETE FROM nqm_target WHERE tg_id >= 80921 AND tg_id <= 80923"
View Source
var DeletetNqmPingtaskSQL = `DELETE FROM nqm_ping_task WHERE pt_id = 83051`
View Source
var InitNqmAgent = []string{SetAutoIncForHost, SetAutoIncForNqmAgent, InsertHostSQL, InsertNqmAgentSQL}
View Source
var InsertHostSQL = `` /* 198-byte string literal not displayed */
View Source
var InsertNqmAgentPingtaskSQL = `
INSERT INTO nqm_agent_ping_task(apt_ag_id, apt_pt_id)
VALUES
(24022, 83051)
`
View Source
var InsertNqmAgentSQL = `` /* 452-byte string literal not displayed */
View Source
var InsertNqmPingtaskSQL = `
INSERT INTO nqm_ping_task(
pt_id, pt_period
)
VALUES
(83051, 1)
`
View Source
var InsertNqmtargetSQL = `` /* 221-byte string literal not displayed */
View Source
var ResetAutoIncForHost = `ALTER TABLE host AUTO_INCREMENT = 1`
View Source
var ResetAutoIncForNqmAgent = `ALTER TABLE nqm_agent AUTO_INCREMENT = 1`
View Source
var SetAutoIncForHost = `ALTER TABLE host AUTO_INCREMENT = 36091`
View Source
var SetAutoIncForNqmAgent = `ALTER TABLE nqm_agent AUTO_INCREMENT = 24021`
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.