




insert into /test/malert_status3 (identifier, severity, lastoccurrence, maintenance, msg, type, agent, firstoccurrence, omni_class, nodealias, alertgroup, node, manager, originalseverity, summary, tags) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) on conflict update firstoccurrence=firstoccurrence, servicenowstate=servicenowstate, emailstatus=emailstatus, tally=tally+1
/**
loop(10000)
parallel(1000)
beforerun(
    set(ct,now),
    add(ct,1,second),
	set(t10,mqli),
	mod(t10,10),
    set(mtype, t10),
	set(tag,"mytag"),
	case(t10==1,set(tag,"mytag1")),
	case(t10==2,set(tag,"mytag2")),
	case(t10==3,set(tag,"mytag3")),
	case(t10==4,set(tag,"mytag4")),
	case(t10==5,set(tag,"mytag5")),
    set(t100,mqli),
	mod(t100,100)
)
params("222.129.134.178.1.3.6.1.4.1.2011.5.25.219.2.5.665.25.219.2.5.6{%d,mqli}", 5, 1622249715000, 1, "设备:222.129.134.178电源整体功能恢复!", {%d,mtype}, "huawei mttrapd #{%d,t100}", 1622211715023, "300", "222.129.134.178", "huawei_power_func", "222.129.134.178", "MTTrapd Probe", 5, "设备:222.129.134.178电源整体功能恢复!", "{%s,tag}")
**/
;
