11alert_insert_del.mql 19 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  1. insert into /bench/event/alerts_status1 (acknowledged, admin, adminphone, agent, alarmkey, alarmtype, alertgroup, alertkey, alertsubtype, alerttype, area, bname, bsm_classname, bsm_identity, bsm_subidentity, businessimpact, bussinesscategory, causetype, ccpc, ccpcbank, chineseflag, ciid, cmdbenrichstatus, cname, cnsummary, contact, contactman, contactphone, corrscore, customer, deviceios, devicelocation, devicemodel, devicepurpose, devicetype, domaingroup, domainsubgroup, duration, emailstatus, entity, eventclass, eventid, eventstatus, eventtime, eventtype, evtproccode, expiretime, explain, extendedattr, firstoccurrence, flag, flash, grade, id, identifier, idname, impactflag, instance, internallast, itmdisplayitem, lastoccurrence, ld_smsflag, localnodealias, localobjrelate, localpriobj, localrootobj, localsecobj, localtertobj, location, logticket, lpar, machineid, maintainstatus, maintenance, manager, market, msg_id, n_maintenance_status, name, netype, nmoscausetype, nmosdomainname, nmosentityid, nmoseventmap, nmosmanagedstatus, nmosobjinst, nmosserial, node, nodealias, nodename, nodetype, objectfullname, oldrow, omni_class, omni_serial, orgcode, origin_class, originalseverity, originalsummary, ownergid, owneruid, phone, physicalcabinet, physicalcard, physicallocation, physicalport, physicalslot, plateng, platform, policylevel, policyname, poll, probesubsecondid, processreq, recordtime, region, remotenodealias, remoteobjrelate, remotepriobj, remoterootobj, remotesecobj, remotetertobj, resolve, rowserial, servername, serverserial, service, servicenowerrorcode, servicenowstate, servicenowsysid, severity, siteid, situationfullname, smsflag, statechange, status, submodel, subsystem, summary, suppressescl, syscode, sysplex, tags, tally, tasklist, ticketstatus, tiggerflag, tsrmflag, ttnumber, ttstate, ttuser, type, upgradeflag, url, vtime, x733corrnotif, x733eventtype, x733probablecause, x733specificprob) values (null, null, null, null, '', 'NA', null, null, 'NA', null, null, null, null, null, null, null, 'tivoli监控平台', null, null, null, null, null, null, 'OMNIBUS服务器', null, null, '韩旭扬', '18840900596', null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, 1752202294000, null, null, null, '102760763574700{%d,mqli}', '10.1.81.124 root: this is a test
  2. 10.1.81.124', null, 1, null, null, null, 1752205967000, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, '10276076357470077220', null, null, null, null, null, null, null, null, '10.1.81.124', null, null, null, null, null, null, 541322097, null, 200, 1, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, 541322097, null, null, null, null, 1, null, null, null, null, null, null, null, 'Jul 11 11:52:47 10.1.81.124 root: this is a test
  3. ', null, null, null, null, 2, null, null, null, null, null, null, null, 1, null, null, 1752205967289, null, null, null, null)
  4. /**
  5. loop(1000)
  6. parallel(5)
  7. fork(a)
  8. **/
  9. ;
  10. insert into /bench/event/alerts_status1 (acknowledged, admin, adminphone, agent, alarmkey, alarmtype, alertgroup, alertkey, alertsubtype, alerttype, area, bname, bsm_classname, bsm_identity, bsm_subidentity, businessimpact, bussinesscategory, causetype, ccpc, ccpcbank, chineseflag, ciid, cmdbenrichstatus, cname, cnsummary, contact, contactman, contactphone, corrscore, customer, deviceios, devicelocation, devicemodel, devicepurpose, devicetype, domaingroup, domainsubgroup, duration, emailstatus, entity, eventclass, eventid, eventstatus, eventtime, eventtype, evtproccode, expiretime, explain, extendedattr, firstoccurrence, flag, flash, grade, id, identifier, idname, impactflag, instance, internallast, itmdisplayitem, lastoccurrence, ld_smsflag, localnodealias, localobjrelate, localpriobj, localrootobj, localsecobj, localtertobj, location, logticket, lpar, machineid, maintainstatus, maintenance, manager, market, msg_id, n_maintenance_status, name, netype, nmoscausetype, nmosdomainname, nmosentityid, nmoseventmap, nmosmanagedstatus, nmosobjinst, nmosserial, node, nodealias, nodename, nodetype, objectfullname, oldrow, omni_class, omni_serial, orgcode, origin_class, originalseverity, originalsummary, ownergid, owneruid, phone, physicalcabinet, physicalcard, physicallocation, physicalport, physicalslot, plateng, platform, policylevel, policyname, poll, probesubsecondid, processreq, recordtime, region, remotenodealias, remoteobjrelate, remotepriobj, remoterootobj, remotesecobj, remotetertobj, resolve, rowserial, servername, serverserial, service, servicenowerrorcode, servicenowstate, servicenowsysid, severity, siteid, situationfullname, smsflag, statechange, status, submodel, subsystem, summary, suppressescl, syscode, sysplex, tags, tally, tasklist, ticketstatus, tiggerflag, tsrmflag, ttnumber, ttstate, ttuser, type, upgradeflag, url, vtime, x733corrnotif, x733eventtype, x733probablecause, x733specificprob) values (null, null, null, null, '', 'NA', null, null, 'NA', null, null, null, null, null, null, null, 'tivoli监控平台', null, null, null, null, null, null, 'PROBE服务器', null, null, '韩旭扬', '18840900596', null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, 1752202294000, null, null, null, '102760763574700{%d,mqli}', '10.1.81.124 root: this is a test
  11. 10.1.81.124', null, 1, null, null, null, 1752205967000, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, '10276076357470077220', null, null, null, null, null, null, null, null, '10.1.81.124', null, null, null, null, null, null, 541322097, null, 200, 1, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, 541322097, null, null, null, null, 1, null, null, null, null, null, null, null, 'Jul 11 11:52:47 10.1.81.124 root: this is a test
  12. ', null, null, null, null, 2, null, null, null, null, null, null, null, 1, null, null, 1752205967289, null, null, null, null)
  13. /**
  14. loop(1000)
  15. parallel(10)
  16. fork(a)
  17. **/
  18. ;
  19. select * from /bench/event/alerts_status1 limit -1
  20. /**
  21. wait(a)
  22. count(1000)
  23. **/
  24. ;
  25. delete from /bench/event/alerts_status1;
  26. /**
  27. loop(10)
  28. parallel(10)
  29. fork(a)
  30. **/
  31. ;
  32. insert into /bench/event/alerts_status1 (acknowledged, admin, adminphone, agent, alarmkey, alarmtype, alertgroup, alertkey, alertsubtype, alerttype, area, bname, bsm_classname, bsm_identity, bsm_subidentity, businessimpact, bussinesscategory, causetype, ccpc, ccpcbank, chineseflag, ciid, cmdbenrichstatus, cname, cnsummary, contact, contactman, contactphone, corrscore, customer, deviceios, devicelocation, devicemodel, devicepurpose, devicetype, domaingroup, domainsubgroup, duration, emailstatus, entity, eventclass, eventid, eventstatus, eventtime, eventtype, evtproccode, expiretime, explain, extendedattr, firstoccurrence, flag, flash, grade, id, identifier, idname, impactflag, instance, internallast, itmdisplayitem, lastoccurrence, ld_smsflag, localnodealias, localobjrelate, localpriobj, localrootobj, localsecobj, localtertobj, location, logticket, lpar, machineid, maintainstatus, maintenance, manager, market, msg_id, n_maintenance_status, name, netype, nmoscausetype, nmosdomainname, nmosentityid, nmoseventmap, nmosmanagedstatus, nmosobjinst, nmosserial, node, nodealias, nodename, nodetype, objectfullname, oldrow, omni_class, omni_serial, orgcode, origin_class, originalseverity, originalsummary, ownergid, owneruid, phone, physicalcabinet, physicalcard, physicallocation, physicalport, physicalslot, plateng, platform, policylevel, policyname, poll, probesubsecondid, processreq, recordtime, region, remotenodealias, remoteobjrelate, remotepriobj, remoterootobj, remotesecobj, remotetertobj, resolve, rowserial, servername, serverserial, service, servicenowerrorcode, servicenowstate, servicenowsysid, severity, siteid, situationfullname, smsflag, statechange, status, submodel, subsystem, summary, suppressescl, syscode, sysplex, tags, tally, tasklist, ticketstatus, tiggerflag, tsrmflag, ttnumber, ttstate, ttuser, type, upgradeflag, url, vtime, x733corrnotif, x733eventtype, x733probablecause, x733specificprob) values (null, null, null, null, '', 'NA', null, null, 'NA', null, null, null, null, null, null, null, 'tivoli监控平台', null, null, null, null, null, null, 'OMNIBUS服务器', null, null, '韩旭扬', '18840900596', null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, 1752202294000, null, null, null, '102760763574700{%d,mqli}', '10.1.81.124 root: this is a test
  33. 10.1.81.124', null, 1, null, null, null, 1752205967000, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, '10276076357470077220', null, null, null, null, null, null, null, null, '10.1.81.124', null, null, null, null, null, null, 541322097, null, 200, 1, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, 541322097, null, null, null, null, 1, null, null, null, null, null, null, null, 'Jul 11 11:52:47 10.1.81.124 root: this is a test
  34. ', null, null, null, null, 2, null, null, null, null, null, null, null, 1, null, null, 1752205967289, null, null, null, null)
  35. /**
  36. loop(1000)
  37. parallel(5)
  38. fork(a)
  39. **/
  40. ;
  41. insert into /bench/event/alerts_status1 (acknowledged, admin, adminphone, agent, alarmkey, alarmtype, alertgroup, alertkey, alertsubtype, alerttype, area, bname, bsm_classname, bsm_identity, bsm_subidentity, businessimpact, bussinesscategory, causetype, ccpc, ccpcbank, chineseflag, ciid, cmdbenrichstatus, cname, cnsummary, contact, contactman, contactphone, corrscore, customer, deviceios, devicelocation, devicemodel, devicepurpose, devicetype, domaingroup, domainsubgroup, duration, emailstatus, entity, eventclass, eventid, eventstatus, eventtime, eventtype, evtproccode, expiretime, explain, extendedattr, firstoccurrence, flag, flash, grade, id, identifier, idname, impactflag, instance, internallast, itmdisplayitem, lastoccurrence, ld_smsflag, localnodealias, localobjrelate, localpriobj, localrootobj, localsecobj, localtertobj, location, logticket, lpar, machineid, maintainstatus, maintenance, manager, market, msg_id, n_maintenance_status, name, netype, nmoscausetype, nmosdomainname, nmosentityid, nmoseventmap, nmosmanagedstatus, nmosobjinst, nmosserial, node, nodealias, nodename, nodetype, objectfullname, oldrow, omni_class, omni_serial, orgcode, origin_class, originalseverity, originalsummary, ownergid, owneruid, phone, physicalcabinet, physicalcard, physicallocation, physicalport, physicalslot, plateng, platform, policylevel, policyname, poll, probesubsecondid, processreq, recordtime, region, remotenodealias, remoteobjrelate, remotepriobj, remoterootobj, remotesecobj, remotetertobj, resolve, rowserial, servername, serverserial, service, servicenowerrorcode, servicenowstate, servicenowsysid, severity, siteid, situationfullname, smsflag, statechange, status, submodel, subsystem, summary, suppressescl, syscode, sysplex, tags, tally, tasklist, ticketstatus, tiggerflag, tsrmflag, ttnumber, ttstate, ttuser, type, upgradeflag, url, vtime, x733corrnotif, x733eventtype, x733probablecause, x733specificprob) values (null, null, null, null, '', 'NA', null, null, 'NA', null, null, null, null, null, null, null, 'tivoli监控平台', null, null, null, null, null, null, 'PROBE服务器', null, null, '韩旭扬', '18840900596', null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, 1752202294000, null, null, null, '102760763574700{%d,mqli}', '10.1.81.124 root: this is a test
  42. 10.1.81.124', null, 1, null, null, null, 1752205967000, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, '10276076357470077220', null, null, null, null, null, null, null, null, '10.1.81.124', null, null, null, null, null, null, 541322097, null, 200, 1, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, 541322097, null, null, null, null, 1, null, null, null, null, null, null, null, 'Jul 11 11:52:47 10.1.81.124 root: this is a test
  43. ', null, null, null, null, 2, null, null, null, null, null, null, null, 1, null, null, 1752205967289, null, null, null, null)
  44. /**
  45. loop(1000)
  46. parallel(10)
  47. fork(a)
  48. **/
  49. ;
  50. select * from /bench/event/alerts_status1 limit -1
  51. /**
  52. wait(a)
  53. count(1000)
  54. **/
  55. ;
  56. delete from /bench/event/alerts_status1;
  57. /**
  58. output()
  59. **/
  60. ;
  61. insert into /bench/event/alerts_status1 (acknowledged, admin, adminphone, agent, alarmkey, alarmtype, alertgroup, alertkey, alertsubtype, alerttype, area, bname, bsm_classname, bsm_identity, bsm_subidentity, businessimpact, bussinesscategory, causetype, ccpc, ccpcbank, chineseflag, ciid, cmdbenrichstatus, cname, cnsummary, contact, contactman, contactphone, corrscore, customer, deviceios, devicelocation, devicemodel, devicepurpose, devicetype, domaingroup, domainsubgroup, duration, emailstatus, entity, eventclass, eventid, eventstatus, eventtime, eventtype, evtproccode, expiretime, explain, extendedattr, firstoccurrence, flag, flash, grade, id, identifier, idname, impactflag, instance, internallast, itmdisplayitem, lastoccurrence, ld_smsflag, localnodealias, localobjrelate, localpriobj, localrootobj, localsecobj, localtertobj, location, logticket, lpar, machineid, maintainstatus, maintenance, manager, market, msg_id, n_maintenance_status, name, netype, nmoscausetype, nmosdomainname, nmosentityid, nmoseventmap, nmosmanagedstatus, nmosobjinst, nmosserial, node, nodealias, nodename, nodetype, objectfullname, oldrow, omni_class, omni_serial, orgcode, origin_class, originalseverity, originalsummary, ownergid, owneruid, phone, physicalcabinet, physicalcard, physicallocation, physicalport, physicalslot, plateng, platform, policylevel, policyname, poll, probesubsecondid, processreq, recordtime, region, remotenodealias, remoteobjrelate, remotepriobj, remoterootobj, remotesecobj, remotetertobj, resolve, rowserial, servername, serverserial, service, servicenowerrorcode, servicenowstate, servicenowsysid, severity, siteid, situationfullname, smsflag, statechange, status, submodel, subsystem, summary, suppressescl, syscode, sysplex, tags, tally, tasklist, ticketstatus, tiggerflag, tsrmflag, ttnumber, ttstate, ttuser, type, upgradeflag, url, vtime, x733corrnotif, x733eventtype, x733probablecause, x733specificprob) values (null, null, null, null, '', 'NA', null, null, 'NA', null, null, null, null, null, null, null, 'tivoli监控平台', null, null, null, null, null, null, 'OMNIBUS服务器', null, null, '韩旭扬', '18840900596', null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, 1752202294000, null, null, null, '102760763574700{%d,mqli}', '10.1.81.124 root: this is a test
  62. 10.1.81.124', null, 1, null, null, null, 1752205967000, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, '10276076357470077220', null, null, null, null, null, null, null, null, '10.1.81.124', null, null, null, null, null, null, 541322097, null, 200, 1, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, 541322097, null, null, null, null, 1, null, null, null, null, null, null, null, 'Jul 11 11:52:47 10.1.81.124 root: this is a test
  63. ', null, null, null, null, 2, null, null, null, null, null, null, null, 1, null, null, 1752205967289, null, null, null, null)
  64. /**
  65. loop(1000)
  66. parallel(5)
  67. fork(a)
  68. **/
  69. ;
  70. insert into /bench/event/alerts_status1 (acknowledged, admin, adminphone, agent, alarmkey, alarmtype, alertgroup, alertkey, alertsubtype, alerttype, area, bname, bsm_classname, bsm_identity, bsm_subidentity, businessimpact, bussinesscategory, causetype, ccpc, ccpcbank, chineseflag, ciid, cmdbenrichstatus, cname, cnsummary, contact, contactman, contactphone, corrscore, customer, deviceios, devicelocation, devicemodel, devicepurpose, devicetype, domaingroup, domainsubgroup, duration, emailstatus, entity, eventclass, eventid, eventstatus, eventtime, eventtype, evtproccode, expiretime, explain, extendedattr, firstoccurrence, flag, flash, grade, id, identifier, idname, impactflag, instance, internallast, itmdisplayitem, lastoccurrence, ld_smsflag, localnodealias, localobjrelate, localpriobj, localrootobj, localsecobj, localtertobj, location, logticket, lpar, machineid, maintainstatus, maintenance, manager, market, msg_id, n_maintenance_status, name, netype, nmoscausetype, nmosdomainname, nmosentityid, nmoseventmap, nmosmanagedstatus, nmosobjinst, nmosserial, node, nodealias, nodename, nodetype, objectfullname, oldrow, omni_class, omni_serial, orgcode, origin_class, originalseverity, originalsummary, ownergid, owneruid, phone, physicalcabinet, physicalcard, physicallocation, physicalport, physicalslot, plateng, platform, policylevel, policyname, poll, probesubsecondid, processreq, recordtime, region, remotenodealias, remoteobjrelate, remotepriobj, remoterootobj, remotesecobj, remotetertobj, resolve, rowserial, servername, serverserial, service, servicenowerrorcode, servicenowstate, servicenowsysid, severity, siteid, situationfullname, smsflag, statechange, status, submodel, subsystem, summary, suppressescl, syscode, sysplex, tags, tally, tasklist, ticketstatus, tiggerflag, tsrmflag, ttnumber, ttstate, ttuser, type, upgradeflag, url, vtime, x733corrnotif, x733eventtype, x733probablecause, x733specificprob) values (null, null, null, null, '', 'NA', null, null, 'NA', null, null, null, null, null, null, null, 'tivoli监控平台', null, null, null, null, null, null, 'PROBE服务器', null, null, '韩旭扬', '18840900596', null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, 1752202294000, null, null, null, '102760763574700{%d,mqli}', '10.1.81.124 root: this is a test
  71. 10.1.81.124', null, 1, null, null, null, 1752205967000, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, '10276076357470077220', null, null, null, null, null, null, null, null, '10.1.81.124', null, null, null, null, null, null, 541322097, null, 200, 1, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, 541322097, null, null, null, null, 1, null, null, null, null, null, null, null, 'Jul 11 11:52:47 10.1.81.124 root: this is a test
  72. ', null, null, null, null, 2, null, null, null, null, null, null, null, 1, null, null, 1752205967289, null, null, null, null)
  73. /**
  74. loop(1000)
  75. parallel(10)
  76. fork(a)
  77. **/
  78. ;
  79. select * from /bench/event/alerts_status1 limit -1
  80. /**
  81. wait(a)
  82. count(1000)
  83. **/
  84. ;