INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80169','30179','1','1','{#ALLOC_UNITS}','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80170','30180','1','1','{#ALLOC_UNITS}','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80171','30181','1','1','{#ALLOC_UNITS}','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80172','30182','1','1','{#ALLOC_UNITS}','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80173','30185','1','1','{#ALLOC_UNITS}','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80174','30186','1','1','{#ALLOC_UNITS}','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80175','27079','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80176','27080','1','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80177','27082','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80178','27083','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80179','27084','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80180','27084','2','1','8','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80181','27085','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80182','27085','2','1','8','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80183','27086','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80184','27620','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80185','27621','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80186','27622','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80187','27622','2','1','8','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80188','27623','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80189','27624','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80190','27625','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80191','27625','2','1','8','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80192','27628','1','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80193','27977','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80194','27978','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80195','27979','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80196','27979','2','1','8','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80197','27980','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80198','27981','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80199','27982','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80200','27982','2','1','8','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80201','27985','1','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80202','28006','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80203','28007','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80204','28008','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80205','28008','2','1','8','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80206','28009','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80207','28010','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80208','28011','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80209','28011','2','1','8','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80210','28014','1','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80211','27099','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80212','27100','1','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80213','27101','1','1','1000000','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80214','27101','2','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80215','27102','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80216','27103','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80217','27104','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80218','27104','2','1','8','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80219','27105','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80220','27105','2','1','8','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80221','27106','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80222','27181','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80223','27182','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80224','27183','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80225','27183','2','1','8','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80226','27184','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80227','27185','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80228','27186','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80229','27186','2','1','8','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80230','27187','1','1','1000000','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80231','27187','2','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80232','27189','1','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80233','27216','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80234','27217','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80235','27218','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80236','27218','2','1','8','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80237','27219','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80238','27220','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80239','27221','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80240','27221','2','1','8','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80241','27222','1','1','1000000','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80242','27222','2','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80243','27224','1','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80244','27252','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80245','27253','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80246','27254','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80247','27254','2','1','8','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80248','27255','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80249','27256','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80250','27257','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80251','27257','2','1','8','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80252','27258','1','1','1000000','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80253','27258','2','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80254','27260','1','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80255','27273','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80256','27274','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80257','27275','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80258','27275','2','1','8','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80259','27276','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80260','27277','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80261','27278','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80262','27278','2','1','8','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80263','27279','1','1','1000000','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80264','27279','2','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80265','27281','1','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80266','27322','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80267','27323','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80268','27324','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80269','27324','2','1','8','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80270','27325','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80271','27326','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80272','27327','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80273','27327','2','1','8','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80274','27328','1','1','1000000','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80275','27328','2','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80276','27330','1','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80277','27451','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80278','27452','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80279','27453','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80280','27453','2','1','8','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80281','27454','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80282','27455','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80283','27456','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80284','27456','2','1','8','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80285','27457','1','1','1000000','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80286','27457','2','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80287','27459','1','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80288','27487','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80289','27488','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80290','27489','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80291','27489','2','1','8','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80292','27490','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80293','27491','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80294','27492','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80295','27492','2','1','8','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80296','27493','1','1','1000000','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80297','27493','2','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80298','27495','1','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80299','27521','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80300','27522','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80301','27523','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80302','27523','2','1','8','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80303','27524','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80304','27525','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80305','27526','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80306','27526','2','1','8','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80307','27527','1','1','1000000','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80308','27527','2','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80309','27529','1','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80310','27557','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80311','27558','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80312','27559','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80313','27559','2','1','8','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80314','27560','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80315','27561','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80316','27562','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80317','27562','2','1','8','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80318','27563','1','1','1000000','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80319','27563','2','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80320','27565','1','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80321','27643','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80322','27644','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80323','27645','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80324','27645','2','1','8','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80325','27646','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80326','27647','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80327','27648','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80328','27648','2','1','8','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80329','27649','1','1','1000000','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80330','27649','2','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80331','27651','1','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80332','27723','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80333','27724','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80334','27725','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80335','27725','2','1','8','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80336','27726','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80337','27727','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80338','27728','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80339','27728','2','1','8','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80340','27729','1','1','1000000','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80341','27729','2','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80342','27731','1','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80343','27757','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80344','27758','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80345','27759','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80346','27759','2','1','8','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80347','27760','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80348','27761','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80349','27762','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80350','27762','2','1','8','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80351','27763','1','1','1000000','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80352','27763','2','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80353','27765','1','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80354','27789','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80355','27790','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80356','27791','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80357','27791','2','1','8','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80358','27792','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80359','27793','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80360','27794','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80361','27794','2','1','8','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80362','27795','1','1','1000000','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80363','27795','2','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80364','27797','1','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80365','27873','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80366','27874','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80367','27875','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80368','27875','2','1','8','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80369','27876','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80370','27877','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80371','27878','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80372','27878','2','1','8','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80373','27879','1','1','1000000','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80374','27879','2','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80375','27881','1','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80376','27910','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80377','27911','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80378','27912','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80379','27912','2','1','8','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80380','27913','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80381','27914','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80382','27915','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80383','27915','2','1','8','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80384','27916','1','1','1000000','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80385','27916','2','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80386','27918','1','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80387','27945','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80388','27946','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80389','27947','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80390','27947','2','1','8','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80391','27948','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80392','27949','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80393','27950','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80394','27950','2','1','8','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80395','27951','1','1','1000000','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80396','27951','2','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80397','27953','1','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80398','28119','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80399','28120','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80400','28121','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80401','28121','2','1','8','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80402','28122','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80403','28123','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80404','28124','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80405','28124','2','1','8','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80406','28125','1','1','1000000','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80407','28125','2','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80408','28127','1','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80420','28224','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80421','28225','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80422','28226','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80423','28226','2','1','8','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80424','28227','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80425','28228','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80426','28229','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80427','28229','2','1','8','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80428','28230','1','1','1000000','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80429','28230','2','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80430','28232','1','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80431','28294','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80432','28295','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80433','28296','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80434','28296','2','1','8','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80435','28297','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80436','28298','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80437','28299','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80438','28299','2','1','8','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80439','28300','1','1','1000000','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80440','28300','2','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80441','28302','1','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80442','28969','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80443','28970','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80444','28971','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80445','28971','2','1','8','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80446','28972','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80447','28973','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80448','28974','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80449','28974','2','1','8','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80450','28975','1','1','1000000','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80451','28975','2','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80452','28977','1','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80453','27119','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80454','27120','1','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80455','27121','1','1','1000000','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80456','27121','2','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80457','27122','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80458','27123','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80459','27124','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80460','27124','2','1','8','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80461','27125','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80462','27125','2','1','8','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80463','27126','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80464','29078','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80465','29079','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80466','29080','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80467','29080','2','1','8','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80468','29081','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80469','29082','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80470','29083','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80471','29083','2','1','8','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80472','29084','1','1','1000000','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80473','29084','2','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80474','29086','1','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80475','22231','1','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80476','23318','1','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80477','29545','1','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80478','29546','1','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80479','10059','1','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80480','22834','1','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80481','22874','1','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80482','22914','1','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80483','22954','1','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80484','22994','1','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80485','23034','1','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80486','23161','1','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80487','23319','1','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80488','23320','1','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80489','23321','1','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80490','23322','1','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80491','23323','1','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80492','23324','1','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80493','23325','1','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80494','23326','1','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80499','23288','1','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80500','23327','1','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80501','27203','1','5',E'^(\\w|-|\\.|/)+ (\\w|-|\\.|/)+ (.+) Copyright
\\3','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80502','27203','2','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80503','27207','1','1','1024','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80504','30086','1','5',E'^((\\w|-|\\.|/)+)
\\1','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80505','30086','2','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80506','30087','1','1','1024','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80507','27214','1','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80508','28323','1','1','0.1','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80509','28327','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80510','28328','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80511','27236','1','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80512','27237','1','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80513','27295','1','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80514','27296','1','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80515','27297','1','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80516','27314','1','1','0.5','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80517','27315','1','1','0.5','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80518','27318','1','1','0.5','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80519','27319','1','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80520','27320','1','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80521','27378','1','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80522','27379','1','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80523','30097','1','5',E'Version (.+), RELEASE
\\1','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80524','30097','2','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80525','27382','1','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80526','27383','1','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80527','27385','1','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80528','27386','1','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80529','28209','1','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80530','28210','1','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80531','30098','1','5',E'Version (.+), RELEASE
\\1','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80532','30098','2','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80533','30099','1','5',E'Version (.+), RELEASE
\\1','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80534','30099','2','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80535','30100','1','5',E'Version (.+), RELEASE
\\1','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80536','30100','2','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80537','27419','1','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80538','27428','1','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80539','27445','1','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80540','28208','1','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80541','27481','1','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80542','27482','1','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80543','27483','1','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80544','27484','1','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80545','27508','1','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80546','27509','1','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80547','27510','1','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80548','30106','1','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80549','27543','1','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80550','27544','1','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80551','27545','1','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80552','27546','1','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80553','27579','1','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80554','27580','1','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80555','27582','1','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80556','27583','1','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80557','30109','1','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80558','27591','1','1','1024','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80559','30110','1','1','1024','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80560','27675','1','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80561','27676','1','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80562','27677','1','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80563','27678','1','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80564','27679','1','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80565','28141','1','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80566','28142','1','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80567','28157','1','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80568','28158','1','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80569','27748','1','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80570','27749','1','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80571','27750','1','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80572','27754','1','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80573','27777','1','5',E'Firmware Version: ([0-9.]+),
\\1','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80574','27777','2','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80575','27778','1','5',E'(.+) - Firmware
\\1','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80576','27778','2','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80577','27785','1','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80578','27812','1','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80579','27813','1','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80580','30117','1','5',E'kernel (JUNOS [0-9a-zA-Z\\.\\-]+)
\\1','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80581','30117','2','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80582','28201','1','1','0.1','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80583','28204','1','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80584','28205','1','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80585','27893','1','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80586','27894','1','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80587','27895','1','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80588','27898','1','1','1024','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80589','27900','1','1','1024','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80590','30119','1','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80591','27905','1','1','0.1','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80592','27907','1','1','1024','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80593','27908','1','1','1024','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80594','31560','1','1','0.1','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80595','31562','1','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80596','31563','1','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80597','31564','1','20','15m','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80598','31567','1','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80599','31569','1','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80600','27930','1','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80601','27931','1','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80602','27936','1','5',E'60 Secs \\( ([0-9\\.]+)%\\).+300 Secs
\\1','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80603','30121','1','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80604','27967','1','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80605','27968','1','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80606','27970','1','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80607','27971','1','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80608','30125','1','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80609','27997','1','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80610','27998','1','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80611','27999','1','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80612','28000','1','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80613','28026','1','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80614','28027','1','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80615','30132','1','1','1024','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80616','30133','1','1','1024','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80617','30134','1','1','1024','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80618','30135','1','1','1024','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80619','29087','1','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80620','29089','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80621','29102','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80622','29111','1','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80623','29113','1','20','12h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80624','29114','1','20','12h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80625','29116','1','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80626','29117','1','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80627','29120','1','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80628','29121','1','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80629','29122','1','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80630','29123','1','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80631','29124','1','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80632','29126','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80633','29139','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80634','29148','1','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80635','29150','1','20','12h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80636','29151','1','20','12h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80637','29153','1','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80638','29154','1','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80639','29157','1','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80640','29158','1','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80641','29159','1','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80642','29160','1','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80643','29161','1','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80644','29163','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80645','29176','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80646','29185','1','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80647','29187','1','20','12h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80648','29188','1','20','12h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80649','29190','1','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80650','29191','1','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80651','29194','1','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80652','29195','1','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80653','29196','1','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80654','29197','1','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80655','29198','1','21','//Calculate utilization
return (100 - value)','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80656','31364','1','21','return (100-value);','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80657','29199','1','21','//Calculate utilization
return (100 - value)','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80658','31365','1','21','return (100-value);','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80659','29200','1','21','//Calculate utilization
return (100 - value)','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80660','31366','1','21','return (100-value);','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80661','31367','1','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80662','31368','1','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80663','31369','1','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80664','29216','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80665','29216','2','1','8','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80666','29217','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80667','29217','2','1','8','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80668','29218','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80669','29219','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80670','29220','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80671','29221','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80672','29222','1','21','var newvalue;
switch(value) {
  case "unkonwn":
    newvalue = 0;
    break;
  case "notpresent":
    newvalue = 1;
    break;
  case "down":
    newvalue = 2;
    break;
  case "lowerlayerdown":
    newvalue = 3;
    break;
  case "testing":
    newvalue = 4;
    break;
  case "dormant":
    newvalue = 5;
    break;
  case "up":
    newvalue = 6;
    break;  default:
    newvalue = "Problem parsing interface operstate in JS";
}
return newvalue;','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80673','29223','1','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80674','31372','1','21','return JSON.stringify(value.trim().split(/ +/));','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80675','29230','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80676','29230','2','1','8','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80677','29231','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80678','29231','2','1','8','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80679','29232','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80680','29233','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80681','29234','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80682','29235','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80683','29236','1','21','var newvalue;
switch(value) {
  case "unkonwn":
    newvalue = 0;
    break;
  case "notpresent":
    newvalue = 1;
    break;
  case "down":
    newvalue = 2;
    break;
  case "lowerlayerdown":
    newvalue = 3;
    break;
  case "testing":
    newvalue = 4;
    break;
  case "dormant":
    newvalue = 5;
    break;
  case "up":
    newvalue = 6;
    break;  default:
    newvalue = "Problem parsing interface operstate in JS";
}
return newvalue;','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80684','29237','1','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80685','31375','1','21','return JSON.stringify(value.trim().split(/ +/));','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80686','29244','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80687','29244','2','1','8','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80688','29245','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80689','29245','2','1','8','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80690','29246','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80691','29247','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80692','29248','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80693','29249','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80694','29250','1','21','var newvalue;
switch(value) {
  case "unkonwn":
    newvalue = 0;
    break;
  case "notpresent":
    newvalue = 1;
    break;
  case "down":
    newvalue = 2;
    break;
  case "lowerlayerdown":
    newvalue = 3;
    break;
  case "testing":
    newvalue = 4;
    break;
  case "dormant":
    newvalue = 5;
    break;
  case "up":
    newvalue = 6;
    break;  default:
    newvalue = "Problem parsing interface operstate in JS";
}
return newvalue;','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80695','29251','1','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80696','31378','1','21','return JSON.stringify(value.trim().split(/ +/));','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80697','31379','1','12','$[10]','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80698','31379','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80699','31379','3','1','0.001','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80700','31380','1','12','$[0]','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80701','31380','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80702','31381','1','12','$[3]','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80703','31381','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80704','31381','3','1','0.001','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80705','31382','1','12','$[9]','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80706','31382','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80707','31382','3','1','0.1','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80708','31383','1','12','$[4]','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80709','31383','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80710','31384','1','12','$[7]','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80711','31384','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80712','31384','3','1','0.001','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80713','31385','1','12','$[10]','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80714','31385','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80715','31385','3','1','0.001','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80716','31386','1','12','$[0]','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80717','31386','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80718','31387','1','12','$[3]','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80719','31387','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80720','31387','3','1','0.001','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80721','31388','1','12','$[9]','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80722','31388','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80723','31388','3','1','0.1','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80724','31389','1','12','$[4]','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80725','31389','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80726','31390','1','12','$[7]','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80727','31390','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80728','31390','3','1','0.001','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80729','31391','1','12','$[10]','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80730','31391','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80731','31391','3','1','0.001','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80732','31392','1','12','$[0]','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80733','31392','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80734','31393','1','12','$[3]','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80735','31393','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80736','31393','3','1','0.001','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80737','31394','1','12','$[9]','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80738','31394','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80739','31394','3','1','0.1','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80740','31395','1','12','$[4]','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80741','31395','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80742','31396','1','12','$[7]','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80743','31396','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80744','31396','3','1','0.001','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80745','31820','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80746','31831','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80747','31832','1','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80748','31836','1','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80749','31837','1','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80750','31840','1','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80751','31841','1','20','12h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80752','31843','1','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80753','31844','1','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80754','31845','1','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80755','31846','1','20','12h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80756','31849','1','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80757','31856','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80758','31867','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80759','31868','1','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80760','31872','1','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80761','31873','1','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80762','31876','1','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80763','31877','1','20','12h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80764','31879','1','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80765','31880','1','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80766','31881','1','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80767','31882','1','20','12h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80768','31885','1','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80769','31892','1','21','//Calculate utilization
return (100 - value)','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80770','31893','1','21','return (100-value);','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80771','31894','1','21','//Calculate utilization
return (100 - value)','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80772','31895','1','21','return (100-value);','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80773','31896','1','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80774','31899','1','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80775','31904','1','21','return JSON.stringify(value.trim().split(/ +/));','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80776','31909','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80777','31910','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80778','31911','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80779','31911','2','1','8','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80780','31912','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80781','31913','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80782','31914','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80783','31914','2','1','8','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80784','31915','1','21','var newvalue;
switch(value) {
  case "unkonwn":
    newvalue = 0;
    break;
  case "notpresent":
    newvalue = 1;
    break;
  case "down":
    newvalue = 2;
    break;
  case "lowerlayerdown":
    newvalue = 3;
    break;
  case "testing":
    newvalue = 4;
    break;
  case "dormant":
    newvalue = 5;
    break;
  case "up":
    newvalue = 6;
    break;  default:
    newvalue = "Problem parsing interface operstate in JS";
}
return newvalue;','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80785','31916','1','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80786','31919','1','21','return JSON.stringify(value.trim().split(/ +/));','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80787','31924','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80788','31925','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80789','31926','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80790','31926','2','1','8','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80791','31927','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80792','31928','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80793','31929','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80794','31929','2','1','8','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80795','31930','1','21','var newvalue;
switch(value) {
  case "unkonwn":
    newvalue = 0;
    break;
  case "notpresent":
    newvalue = 1;
    break;
  case "down":
    newvalue = 2;
    break;
  case "lowerlayerdown":
    newvalue = 3;
    break;
  case "testing":
    newvalue = 4;
    break;
  case "dormant":
    newvalue = 5;
    break;
  case "up":
    newvalue = 6;
    break;  default:
    newvalue = "Problem parsing interface operstate in JS";
}
return newvalue;','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80796','31931','1','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80797','31932','1','12','$[10]','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80798','31932','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80799','31932','3','1','0.001','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80800','31933','1','12','$[0]','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80801','31933','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80802','31934','1','12','$[3]','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80803','31934','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80804','31934','3','1','0.001','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80805','31935','1','12','$[9]','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80806','31935','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80807','31935','3','1','0.1','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80808','31936','1','12','$[4]','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80809','31936','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80810','31937','1','12','$[7]','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80811','31937','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80812','31937','3','1','0.001','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80813','31938','1','12','$[10]','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80814','31938','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80815','31938','3','1','0.001','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80816','31939','1','12','$[0]','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80817','31939','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80818','31940','1','12','$[3]','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80819','31940','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80820','31940','3','1','0.001','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80821','31941','1','12','$[9]','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80822','31941','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80823','31941','3','1','0.1','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80824','31942','1','12','$[4]','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80825','31942','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80826','31943','1','12','$[7]','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80827','31943','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80828','31943','3','1','0.001','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80829','29398','1','22','{__name__=~"^node_time(?:_seconds)?$"}
','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80830','29399','1','23','{__name__=~"^node_cpu(?:_seconds_total)?$",cpu=~".+",mode="steal"}','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80831','29399','2','21','//calculates average, all cpu utilization
var valueArr = JSON.parse(value);
return valueArr.reduce(function(acc,obj){
   return acc + parseFloat(obj[''value''])
},0)/valueArr.length;','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80832','29399','3','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80833','29399','4','1','100','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80834','29400','1','22','{__name__=~"node_memory_SwapFree"}
','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80835','29401','1','22','{__name__=~"node_memory_SwapTotal"}
','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80836','29402','1','22','{__name__=~"node_memory_MemAvailable"}
','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80837','29403','1','22','{__name__=~"node_memory_MemTotal"}
','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80838','29404','1','22','{__name__=~"^node_boot_time(?:_seconds)?$"}
','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80839','29405','1','22','{__name__=~"node_context_switches"}
','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80840','29405','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80841','29406','1','22','{__name__=~"node_intr"}
','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80842','29406','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80843','29407','1','23','{__name__=~"^node_cpu(?:_guest_seconds_total)?$",cpu=~".+",mode=~"^(?:nice|guest_nice)$"}','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80844','29407','2','21','//calculates average, all cpu utilization
var valueArr = JSON.parse(value);
return valueArr.reduce(function(acc,obj){
   return acc + parseFloat(obj[''value''])
},0)/valueArr.length;','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80845','29407','3','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80846','29407','4','1','100','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80847','29408','1','23','{__name__=~"^node_cpu(?:_guest_seconds_total)?$",cpu=~".+",mode=~"^(?:user|guest)$"}','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80848','29408','2','21','//calculates average, all cpu utilization
var valueArr = JSON.parse(value);
return valueArr.reduce(function(acc,obj){
   return acc + parseFloat(obj[''value''])
},0)/valueArr.length;','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80849','29408','3','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80850','29408','4','1','100','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80851','29409','1','23','{__name__=~"^node_cpu(?:_seconds_total)?$",cpu=~".+",mode="irq"}','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80852','29409','2','21','//calculates average, all cpu utilization
var valueArr = JSON.parse(value);
return valueArr.reduce(function(acc,obj){
   return acc + parseFloat(obj[''value''])
},0)/valueArr.length;','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80853','29409','3','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80854','29409','4','1','100','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80855','29410','1','23','{__name__=~"^node_cpu(?:_seconds_total)?$",cpu=~".+",mode="iowait"}','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80856','29410','2','21','//calculates average, all cpu utilization
var valueArr = JSON.parse(value);
return valueArr.reduce(function(acc,obj){
   return acc + parseFloat(obj[''value''])
},0)/valueArr.length;','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80857','29410','3','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80858','29410','4','1','100','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80859','29411','1','23','{__name__=~"^node_cpu(?:_seconds_total)?$",cpu=~".+",mode="nice"}','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80860','29411','2','21','//calculates average, all cpu utilization
var valueArr = JSON.parse(value);
return valueArr.reduce(function(acc,obj){
   return acc + parseFloat(obj[''value''])
},0)/valueArr.length;','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80861','29411','3','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80862','29411','4','1','100','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80863','29412','1','23','{__name__=~"^node_cpu(?:_seconds_total)?$",cpu=~".+",mode="softirq"}','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80864','29412','2','21','//calculates average, all cpu utilization
var valueArr = JSON.parse(value);
return valueArr.reduce(function(acc,obj){
   return acc + parseFloat(obj[''value''])
},0)/valueArr.length;','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80865','29412','3','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80866','29412','4','1','100','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80867','29413','1','23','{__name__=~"^node_cpu(?:_seconds_total)?$",cpu=~".+",mode="user"}','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80868','29413','2','21','//calculates average, all cpu utilization
var valueArr = JSON.parse(value);
return valueArr.reduce(function(acc,obj){
   return acc + parseFloat(obj[''value''])
},0)/valueArr.length;','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80869','29413','3','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80870','29413','4','1','100','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80871','29414','1','22','node_uname_info
nodename','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80872','29414','2','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80873','29415','1','22','node_exporter_build_info
version','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80874','29415','2','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80875','29416','1','23','{__name__=~"^node_cpu(?:_seconds_total)?$",cpu=~".+",mode="idle"}','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80876','29416','2','21','//calculates average, all cpu utilization
var valueArr = JSON.parse(value);
return valueArr.reduce(function(acc,obj){
   return acc + parseFloat(obj[''value''])
},0)/valueArr.length;','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80877','29416','3','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80878','29416','4','1','100','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80879','29417','1','23','{__name__=~"^node_cpu(?:_seconds_total)?$",cpu=~".+",mode="idle"}','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80880','29417','2','21','//count the number of cores
return JSON.parse(value).length','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80881','29418','1','22','node_load15
','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80882','29419','1','22','node_load5
','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80883','29420','1','22','node_load1
','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80884','29421','1','22','{__name__=~"^node_boot_time(?:_seconds)?$"}
','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80885','29421','2','21','//use boottime to calculate uptime
return (Math.floor(Date.now()/1000)-Number(value));','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80886','29422','1','22','node_uname_info
machine','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80887','29422','2','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80888','29423','1','22','node_filefd_allocated
','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80889','29424','1','22','node_filefd_maximum
','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80890','29424','2','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80891','29425','1','23','node_uname_info','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80892','29425','2','21','var info = JSON.parse(value)[0];
   return info.labels.sysname+'' version: ''+info.labels.release+'' ''+info.labels.version','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80893','29425','3','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80894','29426','1','23','{__name__=~"^node_cpu(?:_seconds_total)?$",cpu=~".+",mode="system"}','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80895','29426','2','21','//calculates average, all cpu utilization
var valueArr = JSON.parse(value);
return valueArr.reduce(function(acc,obj){
   return acc + parseFloat(obj[''value''])
},0)/valueArr.length;','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80896','29426','3','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80897','29426','4','1','100','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80898','29427','1','21','//Calculate utilization
return (100 - value)','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80899','29428','1','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80900','29429','1','23','{__name__=~"^node_network_info$"}','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80901','29430','1','23','{__name__=~"^node_filesystem_size(?:_bytes)?$", mountpoint=~".+"}','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80902','29431','1','23','node_disk_io_now{device=~".+"}','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80903','29436','1','22','node_network_receive_bytes_total{device="{#IFNAME}"}
','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80904','29436','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80905','29436','3','1','8','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80906','29437','1','22','node_network_transmit_bytes_total{device="{#IFNAME}"}
','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80907','29437','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80908','29437','3','1','8','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80909','29438','1','22','node_network_transmit_errs_total{device="{#IFNAME}"}
','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80910','29438','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80911','29439','1','22','node_network_receive_errs_total{device="{#IFNAME}"}
','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80912','29439','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80913','29440','1','22','node_network_receive_drop_total{device="{#IFNAME}"}
','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80914','29440','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80915','29441','1','22','node_network_transmit_drop_total{device="{#IFNAME}"}
','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80916','29441','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80917','29442','1','22','node_network_speed_bytes{device="{#IFNAME}"}
','2','0');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80918','29442','2','1','8','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80919','29443','1','22','node_network_protocol_type{device="{#IFNAME}"}
','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80920','29444','1','22','node_network_info{device="{#IFNAME}"}
operstate','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80921','29444','2','21','var newvalue;
switch(value) {
  case "unkonwn":
    newvalue = 0;
    break;
  case "notpresent":
    newvalue = 1;
    break;
  case "down":
    newvalue = 2;
    break;
  case "lowerlayerdown":
    newvalue = 3;
    break;
  case "testing":
    newvalue = 4;
    break;
  case "dormant":
    newvalue = 5;
    break;
  case "up":
    newvalue = 6;
    break;  default:
    newvalue = "Problem parsing interface operstate in JS";
}
return newvalue;','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80922','29445','1','22','{__name__=~"^node_filesystem_avail(?:_bytes)?$", mountpoint="{#FSNAME}"}
','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80923','29446','1','22','{__name__=~"^node_filesystem_size(?:_bytes)?$", mountpoint="{#FSNAME}"}
','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80924','29447','1','23','{__name__=~"node_filesystem_files.*",mountpoint="{#FSNAME}"}','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80925','29447','2','21','//count vfs.fs.inode.pfree
var inode_free;
var inode_total;
JSON.parse(value).forEach(function(metric) {
  if (metric[''name''] == ''node_filesystem_files''){
      inode_total = metric[''value''];
  } else if (metric[''name''] == ''node_filesystem_files_free''){
      inode_free = metric[''value''];
  }
});
return (inode_free/inode_total)*100;','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80926','29448','1','22','node_disk_reads_completed_total{device="{#DEVNAME}"}
','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80927','29448','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80928','29449','1','22','node_disk_writes_completed_total{device="{#DEVNAME}"}
','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80929','29449','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80930','29450','1','22','node_disk_read_time_seconds_total{device="{#DEVNAME}"}
','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80931','29450','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80932','29451','1','22','node_disk_write_time_seconds_total{device="{#DEVNAME}"}
','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80933','29451','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80934','29452','1','22','node_disk_io_time_weighted_seconds_total{device="{#DEVNAME}"}
','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80935','29452','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80936','29453','1','22','node_disk_io_time_seconds_total{device="{#DEVNAME}"}
','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80937','29453','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80938','29453','3','1','100','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80939','28979','1','1','1024','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80940','28980','1','1','1024','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80941','28981','1','1','1024','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80942','28982','1','1','1024','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80943','28984','1','1','1024','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80944','28985','1','1','1024','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80945','28990','1','21','//count the number of cores
return JSON.parse(value).length;','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80946','28991','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80947','28992','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80948','28994','1','1','1024','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80949','28995','1','1','1024','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80950','28996','1','1','1024','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80951','28997','1','1','1024','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80952','28999','1','1','1024','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80953','29000','1','1','1024','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80954','29005','1','21','//count the number of cores
return JSON.parse(value).length;','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80955','29006','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80956','29007','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80957','29009','1','21','//count the number of CPU cores
return JSON.stringify([{"{#CPU.COUNT}": value, "{#SNMPINDEX}": 0, "{#SINGLETON}":""}])','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80958','29012','1','21','//count the number of CPU cores
return JSON.stringify([{"{#CPU.COUNT}": value, "{#SNMPINDEX}": 0, "{#SINGLETON}":""}])','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80959','29014','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80960','29015','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80961','29017','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80962','29017','2','21','//to get utilization in %, divide by N, where N is number of cores.
return value/{#CPU.COUNT}','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80963','29018','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80964','29018','2','21','//to get utilization in %, divide by N, where N is number of cores.
return value/{#CPU.COUNT}','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80965','29019','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80966','29019','2','21','//to get utilization in %, divide by N, where N is number of cores.
return value/{#CPU.COUNT}','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80967','29020','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80968','29020','2','21','//to get utilization in %, divide by N, where N is number of cores.
return value/{#CPU.COUNT}','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80969','29021','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80970','29021','2','21','//to get utilization in %, divide by N, where N is number of cores.
return value/{#CPU.COUNT}','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80971','29022','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80972','29022','2','21','//to get utilization in %, divide by N, where N is number of cores.
return value/{#CPU.COUNT}','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80973','29023','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80974','29023','2','21','//to get utilization in %, divide by N, where N is number of cores.
return value/{#CPU.COUNT}','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80975','29024','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80976','29024','2','21','//to get utilization in %, divide by N, where N is number of cores.
return value/{#CPU.COUNT}','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80977','29025','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80978','29025','2','21','//to get utilization in %, divide by N, where N is number of cores.
return value/{#CPU.COUNT}','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80979','29026','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80980','29026','2','21','//to get utilization in %, divide by N, where N is number of cores.
return value/{#CPU.COUNT}','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80981','29027','1','1','{#ALLOC_UNITS}','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80982','29028','1','1','{#ALLOC_UNITS}','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80983','29030','1','21','return (100-value);','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80984','29031','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80985','29032','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80986','29034','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80987','29034','2','21','//to get utilization in %, divide by N, where N is number of cores.
return value/{#CPU.COUNT}','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80988','29035','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80989','29035','2','21','//to get utilization in %, divide by N, where N is number of cores.
return value/{#CPU.COUNT}','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80990','29036','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80991','29036','2','21','//to get utilization in %, divide by N, where N is number of cores.
return value/{#CPU.COUNT}','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80992','29037','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80993','29037','2','21','//to get utilization in %, divide by N, where N is number of cores.
return value/{#CPU.COUNT}','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80994','29038','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80995','29038','2','21','//to get utilization in %, divide by N, where N is number of cores.
return value/{#CPU.COUNT}','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80996','29039','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80997','29039','2','21','//to get utilization in %, divide by N, where N is number of cores.
return value/{#CPU.COUNT}','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80998','29040','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('80999','29040','2','21','//to get utilization in %, divide by N, where N is number of cores.
return value/{#CPU.COUNT}','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81000','29041','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81001','29041','2','21','//to get utilization in %, divide by N, where N is number of cores.
return value/{#CPU.COUNT}','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81002','29042','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81003','29042','2','21','//to get utilization in %, divide by N, where N is number of cores.
return value/{#CPU.COUNT}','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81004','29043','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81005','29043','2','21','//to get utilization in %, divide by N, where N is number of cores.
return value/{#CPU.COUNT}','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81006','29044','1','1','{#ALLOC_UNITS}','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81007','29045','1','1','{#ALLOC_UNITS}','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81008','29047','1','21','return (100-value);','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81009','29048','1','21','//Calculate utilization
return (100 - value)','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81010','29049','1','21','//Calculate utilization
return (100 - value)','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81011','29474','1','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81012','29475','1','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81013','29478','1','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81014','29500','1','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81015','29501','1','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81016','29504','1','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81017','31427','1','21','return (100 - value)','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81018','31428','1','21','return (100 - value)','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81019','31429','1','21','output = JSON.parse(value).map(function(net){
    return {
        "{#IFNAME}": net.Name,
        "{#IFDESCR}": net.Description,
        "{#IFALIAS}": net.NetConnectionID,
        "{#IFGUID}": net.GUID
    }})
return JSON.stringify({"data": output})','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81020','31429','2','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81021','31430','1','25','{#INSTANCE}
{#DEVNAME}','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81022','31431','1','25','{#INSTANCE}
{#DEVNAME}','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81023','31432','1','21','output = JSON.parse(value).map(function(net){
    return {
        "{#IFNAME}": net.Name,
        "{#IFDESCR}": net.Description,
        "{#IFALIAS}": net.NetConnectionID,
        "{#IFGUID}": net.GUID
    }})
return JSON.stringify({"data": output})','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81024','31432','2','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81025','31433','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81026','31434','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81027','31435','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81028','31435','2','1','8','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81029','31436','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81030','31437','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81031','31438','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81032','31438','2','1','8','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81033','31447','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81034','31448','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81035','31449','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81036','31449','2','1','8','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81037','31450','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81038','31451','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81039','31452','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81040','31452','2','1','8','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81041','31453','1','12','$[?(@.GUID == "{#IFGUID}")].Speed.first()','2','0');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81042','31453','2','21','return (value==''9223372036854775807'' ? 0 : value)','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81043','31454','1','12','$[?(@.GUID == "{#IFGUID}")].NetConnectionStatus.first()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81044','31455','1','12','$[?(@.GUID == "{#IFGUID}")].AdapterTypeId.first()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81045','31456','1','12','$[?(@.GUID == "{#IFGUID}")].Speed.first()','2','0');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81046','31456','2','21','return (value==''9223372036854775807'' ? 0 : value)','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81047','31457','1','12','$[?(@.GUID == "{#IFGUID}")].NetConnectionStatus.first()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81048','31458','1','12','$[?(@.GUID == "{#IFGUID}")].AdapterTypeId.first()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81049','31958','1','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81050','31960','1','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81051','31961','1','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81052','31985','1','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81053','31987','1','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81054','31988','1','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81055','32002','1','21','return (100 - value)','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81056','32003','1','21','return (100 - value)','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81057','32005','1','21','output = JSON.parse(value).map(function(net){
    return {
        "{#IFNAME}": net.Name,
        "{#IFDESCR}": net.Description,
        "{#IFALIAS}": net.NetConnectionID,
        "{#IFGUID}": net.GUID
    }})
return JSON.stringify({"data": output})','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81058','32005','2','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81059','32006','1','25','{#INSTANCE}
{#DEVNAME}','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81060','32009','1','21','output = JSON.parse(value).map(function(net){
    return {
        "{#IFNAME}": net.Name,
        "{#IFDESCR}": net.Description,
        "{#IFALIAS}": net.NetConnectionID,
        "{#IFGUID}": net.GUID
    }})
return JSON.stringify({"data": output})','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81061','32009','2','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81062','32010','1','25','{#INSTANCE}
{#DEVNAME}','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81063','32015','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81064','32016','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81065','32017','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81066','32017','2','1','8','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81067','32018','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81068','32019','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81069','32020','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81070','32020','2','1','8','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81071','32029','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81072','32030','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81073','32031','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81074','32031','2','1','8','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81075','32032','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81076','32033','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81077','32034','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81078','32034','2','1','8','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81079','32040','1','12','$[?(@.GUID == "{#IFGUID}")].Speed.first()','2','0');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81080','32040','2','21','return (value==''9223372036854775807'' ? 0 : value)','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81081','32041','1','12','$[?(@.GUID == "{#IFGUID}")].NetConnectionStatus.first()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81082','32042','1','12','$[?(@.GUID == "{#IFGUID}")].AdapterTypeId.first()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81083','32043','1','12','$[?(@.GUID == "{#IFGUID}")].Speed.first()','2','0');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81084','32043','2','21','return (value==''9223372036854775807'' ? 0 : value)','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81085','32044','1','12','$[?(@.GUID == "{#IFGUID}")].NetConnectionStatus.first()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81086','32045','1','12','$[?(@.GUID == "{#IFGUID}")].AdapterTypeId.first()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81087','30688','1','12','$.[?(@.id==''{#SENSOR_ID}'')].state.text.first()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81088','30688','2','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81089','30689','1','12','$.[?(@.id==''{#SENSOR_ID}'')].value.first()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81090','30689','2','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81091','30073','1','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81092','30074','1','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81093','30079','1','1','1048576','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81094','30082','1','1','1048576','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81095','28342','1','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81096','28344','1','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81097','28345','1','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81098','30141','1','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81099','28354','1','1','0.1','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81100','28356','1','1','0.1','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81101','28367','1','1','1048576','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81102','28372','1','1','1048576','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81103','28390','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81104','28391','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81105','28422','1','1','1048576','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81106','28425','1','1','1048576','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81107','28466','1','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81108','28467','1','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81109','28479','1','5',E'(\\d{1,3}) *%( of maximum)?
\\1','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81110','31782','1','20','10m','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81111','31784','1','21',E'var Ami = {
    params: {
        url: ''{$AMI.URL}'',
        trunk: ''{$AMI.TRUNK_REGEXP}''
    },
    api_request: new HttpRequest(),

    request: function (url, action) {
        url += action;
        Zabbix.log(4, ''[ Asterisk ] Sending request: '' + url);
        try {
            response = Ami.api_request.get(url);
        } catch (error) {
            Zabbix.log(4, ''[ Asterisk ] Get request returned error '' + error);
            throw ''Get request returned error '' + error + ''. Check debug log for more information.'';
        }
        Zabbix.log(4, ''[ Asterisk ] Received response with status code '' +
            Ami.api_request.getStatus() + ''\\n'' + response);

        if (Ami.api_request.getStatus() !== 200) {
            var message = ''Request failed with status code '' + Ami.api_request.getStatus();
            if (response !== null) {
                if (typeof response.message === ''string'') {
                    message += '': '' + response.message;
                }
            }

            throw message + '' Check debug log for more information.'';
        }

        var match = response.match(''Response: (.+)'');
        if (match !== null && match[1] !== ''Success'' && match[1] !== ''Goodbye'' && match[1] !== ''Follows'') {
            var responseText = match[1],
                message = ''Request failed with message '' + match[1];

            match = response.match(''Message: (.+)'');
            if (match !== null && match[1]) {
                var responseMessage = match[1];
                message += '': '' + match[1];
            }
            if (responseText !== ''Error'' || responseMessage !== ''No endpoints found'') {
                throw message + ''. Check debug log for more information.'';
            }
        }

        return {
            status: Ami.api_request.getStatus(),
            body: response
        };
    }
};

var asterisk = {
    version: '''',
    uptime: 0,
    uptime_reload: 0,
    active_channels: 0,
    active_calls: 0,
    calls_processed: 0,
    sip: {
        trunks: [],
        monitored_online: 0,
        monitored_offline: 0,
        unmonitored_online: 0,
        unmonitored_offline: 0,
        active_channels: 0,
        total: 0
    },
    iax: {
        trunks: [],
        online: 0,
        offline: 0,
        unmonitored: 0,
        active_channels: 0,
        total: 0
    },
    pjsip: {
        trunks: [],
        available: 0,
        unavailable: 0,
        active_channels: 0,
        total: 0
    },
    queue: {
        queues: [],
        total: 0
    }
};

function block2Object(text) {
    var parts = [],
        dict = {};

    text = text.replace(/^Output: /gm, '''');

    text.split(''\\n'').forEach(function (line) {
        parts = line.split('':'');
        if (parts.length > 1) {
            dict[parts.shift().trim()] = parts.join('':'').trim();
        }
    })

    return dict;
}

function text2Object(text) {
    var blocks = text.split(''\\r\\n\\r\\n''),
        arr = [],
        i = 1,
        j = blocks.length - 2;

    for (i; i < j; i++) {
        arr.push(block2Object(blocks[i]));
    }

    return arr;
}

function getSipPeers() {
    var response = Ami.request(url, ''SIPpeers''),
        elements = text2Object(response.body);
    asterisk.sip.total = elements.length;
    asterisk.sip.trunks = elements.filter(function (element) {
        return element.ObjectName.search(Ami.params.trunk) != -1;
    });
    elements.forEach(function (element) {
        if (element.IPaddress === ''-none-'') {
            switch (element.Status) {
                case ''Unmonitored'':
                    asterisk.sip.unmonitored_offline++;
                    break;

                case ''UNKNOWN'':
                    asterisk.sip.monitored_offline++;
                    break;
            }
        }
        else {
            if (element.Status === ''Unmonitored'') {
                asterisk.sip.unmonitored_online++;
            }
            else {
                asterisk.sip.monitored_online++;
                if (element.Status.search(''^OK'') != -1) {
                    element.Status = element.Status.split('' '')[0];
                }
            }
        }
    });
    asterisk.sip.trunks.forEach(function (trunk) {
        var active_channels = channels.match(new RegExp(''[^!J]SIP/'' + escapeChars(trunk.ObjectName), ''g''));
        trunk.active_channels = (active_channels === null) ? 0 : active_channels.length;
        asterisk.sip.active_channels += trunk.active_channels;
    });
}

function getIaxPeerList() {
    response = Ami.request(url, ''IAXpeerlist'');
    elements = text2Object(response.body);
    asterisk.iax.total = elements.length;
    asterisk.iax.trunks = elements.filter(function (element) {
        return element.ObjectName.search(Ami.params.trunk) != -1;
    });
    elements.forEach(function (element) {
        if (element.Status.search(''^OK'') != -1) {
            element.Status = element.Status.split('' '')[0];
        }
        switch (element.Status) {
            case ''Unmonitored'':
                asterisk.iax.unmonitored++;
                break;

            case ''UNKNOWN'':
                asterisk.iax.offline++;
                break;
        }
    });
    asterisk.iax.online = asterisk.iax.total - asterisk.iax.offline;
    asterisk.iax.trunks.forEach(function (trunk) {
        var active_channels = channels.match(new RegExp(''[^!](IAX2/'' + escapeChars(trunk.ObjectName) +
            ''|IAX2/'' + escapeChars(trunk.ObjectUsername) + '')'', ''g''));
        trunk.active_channels = (active_channels === null) ? 0 : active_channels.length;
        asterisk.iax.active_channels += trunk.active_channels;
    });
}

function getPjsipShowEndpoints() {
    response = Ami.request(url, ''PJSIPShowEndpoints'');
    elements = text2Object(response.body);
    asterisk.pjsip.total = elements.length;
    asterisk.pjsip.trunks = elements.filter(function (element) {
        return element.ObjectName.search(Ami.params.trunk) != -1;
    });

    elements.forEach(function (element) {
        if (element.DeviceState === ''Unavailable'') {
            asterisk.pjsip.unavailable++;
        }
    });
    asterisk.pjsip.available = asterisk.pjsip.total - asterisk.pjsip.unavailable;
    asterisk.pjsip.trunks.forEach(function (trunk) {
        var active_channels = channels.match(new RegExp(''[^!]PJSIP/'' + escapeChars(trunk.ObjectName), ''g''));
        trunk.active_channels = (active_channels === null) ? 0 : active_channels.length;
        asterisk.pjsip.active_channels += trunk.active_channels;
    });
}

function getQueueSummary() {
    response = Ami.request(url, ''QueueSummary'');
    asterisk.queue.queues = text2Object(response.body);
    asterisk.queue.total = asterisk.queue.queues.length;
}

function escapeChars(str) {
    return str.replace(/[-[\\]{}()*+?.,\\\\^$|#\\s]/g, ''\\\\$&'');
}

function getUptimeSeconds(text) {
    var date = {
        years: 0,
        weeks: 0,
        days: 0,
        hours: 0,
        minutes: 0,
        seconds: 0
    };

    var fields = {
        years: ''years?'',
        weeks: ''weeks?'',
        days: ''days?'',
        hours: ''hours?'',
        minutes: ''minutes?'',
        seconds: ''seconds?''
    };

    Object.keys(fields).forEach(function (field) {
        var match = text.match(''(\\\\d+) '' + fields[field]);
        if (match !== null && typeof match[1] !== ''undefined'') {
            date[field] = parseInt(match[1]);
        }
    });
    return date.years * 220752000 + date.weeks * 604800 + date.days * 86400 +
        date.hours * 3600 + date.minutes * 60 + date.seconds;
}

var cookie = value.match(/mansession_id="([0-9A-z]+)"/);
if (cookie == null) {
    throw ''Cannot find mansession_id with cookie in response.'';
}

var url = Ami.params.url.split(''?'')[0] + ''?action='';

Ami.api_request.addHeader(''Cookie: mansession_id="'' + cookie[1] + ''"'');

var response = Ami.request(url, ''CoreSettings'');
var coreSettings = block2Object(response.body);
if (typeof coreSettings.AsteriskVersion !== ''undefined'') {
    asterisk.version = coreSettings.AsteriskVersion;
}

response = Ami.request(url, ''command&command=core%20show%20uptime'');
var uptime = block2Object(response.body);
if (typeof uptime["System uptime"] !== ''undefined'') {
    asterisk.uptime = getUptimeSeconds(uptime["System uptime"]);
}
if (typeof uptime["Last reload"] !== ''undefined'') {
    asterisk.uptime_reload = getUptimeSeconds(uptime["Last reload"]);
}

response = Ami.request(url, ''command&command=core%20show%20channels%20count'');
channels = response.body;
var fields = {
    active_channels: ''active channels?'',
    active_calls: ''active calls?'',
    calls_processed: ''calls? processed''
};

Object.keys(fields).forEach(function (field) {
    var match = channels.match(''(\\\\d+) '' + fields[field]);
    if (match !== null && typeof match[1] !== ''undefined'') {
        asterisk[field] = parseInt(match[1]);
    }
});

response = Ami.request(url, ''command&command=core%20show%20channels%20concise'');
channels = response.body;

response = Ami.request(url, ''ListCommands'');
var list = response.body;
if (list.includes(''SIPpeers'')) {
    getSipPeers();
}
if (list.includes(''IAXpeerlist'')) {
    getIaxPeerList();
}
if (list.includes(''PJSIPShowEndpoints'')) {
    getPjsipShowEndpoints();
}
if (list.includes(''QueueSummary'')) {
    getQueueSummary();
}

try {
    response = Ami.request(url, ''Logoff'');
}
catch (e) {}

return JSON.stringify(asterisk);','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81112','31785','1','12','$.sip.total','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81113','31786','1','12','$.version','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81114','31787','1','12','$.uptime_reload','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81115','31788','1','12','$.uptime','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81116','31789','1','12','$.queue.total','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81117','31790','1','12','$.sip.unmonitored_online','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81118','31791','1','12','$.sip.unmonitored_offline','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81119','31792','1','12','$.active_calls','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81120','31793','1','12','$.sip.monitored_online','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81121','31794','1','12','$.active_channels','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81122','31795','1','12','$.pjsip.unavailable','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81123','31796','1','12','$.pjsip.total','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81124','31797','1','12','$.iax.unmonitored','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81125','31798','1','12','$.iax.total','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81126','31799','1','12','$.iax.offline','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81127','31800','1','12','$.calls_processed','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81128','31800','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81129','31801','1','12','$.calls_processed','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81130','31802','1','12','$.sip.monitored_offline','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81131','31803','1','12','$.iax.trunks','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81132','31803','2','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81133','31804','1','12','$.pjsip.trunks','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81134','31804','2','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81135','31805','1','12','$.queue.queues','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81136','31805','2','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81137','31806','1','12','$.sip.trunks','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81138','31806','2','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81139','31807','1','12','$.iax.trunks[?(@.ObjectName==''{#OBJECTNAME}'')].active_channels.first()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81140','31808','1','12','$.iax.trunks[?(@.ObjectName==''{#OBJECTNAME}'')].Status.first()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81141','31808','2','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81142','31809','1','12','$.pjsip.trunks[?(@.ObjectName==''{#OBJECTNAME}'')].active_channels.first()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81143','31810','1','12','$.pjsip.trunks[?(@.ObjectName==''{#OBJECTNAME}'')].DeviceState.first()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81144','31810','2','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81145','31811','1','12','$.queue.queues[?(@.Queue==''{#QUEUE}'')].Available.first()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81146','31812','1','12','$.queue.queues[?(@.Queue==''{#QUEUE}'')].Callers.first()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81147','31813','1','12','$.queue.queues[?(@.Queue==''{#QUEUE}'')].LoggedIn.first()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81148','31814','1','12','$.sip.trunks[?(@.ObjectName==''{#OBJECTNAME}'')].active_channels.first()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81149','31815','1','12','$.sip.trunks[?(@.ObjectName==''{#OBJECTNAME}'')].Status.first()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81150','31815','2','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81151','32442','1','20','3h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81152','32443','1','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81153','32445','1','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81154','32447','1','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81155','32450','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81156','32451','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81157','32453','1','1','0.001','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81158','32454','1','13','0
{$ACTIVEMQ.BROKER.CONSUMERS.MIN.HIGH}','2','{$ACTIVEMQ.BROKER.CONSUMERS.MIN.HIGH}');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81159','32454','2','20','3h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81160','32455','1','13','0
{$ACTIVEMQ.BROKER.PRODUCERS.MIN.HIGH}','2','{$ACTIVEMQ.BROKER.PRODUCERS.MIN.HIGH}');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81161','32455','2','20','3h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81162','32457','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81163','32458','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81164','32459','1','20','3h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81165','32464','1','21','var input = JSON.parse(value),
    output = [];

input.forEach(function (sensor) {
    sensor.metrics.forEach(function (metric) {
        output.push(
            {
                ''{#SENSOR_ID}'': sensor.id,
                ''{#SENSOR_NAME}'': sensor.name,
                ''{#GATEWAY_ID}'': sensor.gateway.id,
                ''{#GATEWAY_NAME}'': sensor.gateway.name,
                ''{#METRIC}'': metric.name,
                ''{#UNIT}'': metric.unit
            }
        );
    })
});

return JSON.stringify(output);','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81166','32464','2','20','15m','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81167','32486','1','12','$[?(@.id == "{#SENSOR_ID}" && @.name == "{#SENSOR_NAME}")].metrics[?(@.name == "{#METRIC}")].value.first()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81168','32487','1','12','$[?(@.id == "{#SENSOR_ID}" && @.name == "{#SENSOR_NAME}")].metrics[?(@.name == "{#METRIC}")].value.first()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81169','32488','1','12','$[?(@.id == "{#SENSOR_ID}" && @.name == "{#SENSOR_NAME}")].metrics[?(@.name == "{#METRIC}")].value.first()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81170','32489','1','12','$[?(@.id == "{#SENSOR_ID}" && @.name == "{#SENSOR_NAME}")].metrics[?(@.name == "{#METRIC}")].value.first()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81171','32490','1','12','$[?(@.id == "{#SENSOR_ID}" && @.name == "{#SENSOR_NAME}")].metrics[?(@.name == "{#METRIC}")].value.first()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81172','32491','1','12','$[?(@.id == "{#SENSOR_ID}" && @.name == "{#SENSOR_NAME}")].metrics[?(@.name == "{#METRIC}")].value.first()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81173','32492','1','12','$[?(@.id == "{#SENSOR_ID}" && @.name == "{#SENSOR_NAME}")].metrics[?(@.name == "{#METRIC}")].value.first()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81174','32493','1','12','$[?(@.id == "{#SENSOR_ID}" && @.name == "{#SENSOR_NAME}")].metrics[?(@.name == "{#METRIC}")].value.first()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81175','32493','2','21','return Math.floor(Date.now()/1000 - Number(value));','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81176','32494','1','12','$[?(@.id == "{#SENSOR_ID}" && @.name == "{#SENSOR_NAME}")].metrics[?(@.name == "{#METRIC}")].value.first()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81177','32495','1','12','$[?(@.id == "{#SENSOR_ID}" && @.name == "{#SENSOR_NAME}")].metrics[?(@.name == "{#METRIC}")].value.first()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81178','32496','1','12','$[?(@.id == "{#SENSOR_ID}" && @.name == "{#SENSOR_NAME}")].metrics[?(@.name == "{#METRIC}")].value.first()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81179','32497','1','12','$[?(@.id == "{#SENSOR_ID}" && @.name == "{#SENSOR_NAME}")].metrics[?(@.name == "{#METRIC}")].value.first()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81180','32498','1','12','$[?(@.id == "{#SENSOR_ID}" && @.name == "{#SENSOR_NAME}")].metrics[?(@.name == "{#METRIC}")].value.first()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81181','32499','1','12','$[?(@.id == "{#SENSOR_ID}" && @.name == "{#SENSOR_NAME}")].metrics[?(@.name == "{#METRIC}")].value.first()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81182','32500','1','12','$[?(@.id == "{#SENSOR_ID}" && @.name == "{#SENSOR_NAME}")].metrics[?(@.name == "{#METRIC}")].value.first()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81183','32501','1','12','$[?(@.id == "{#SENSOR_ID}" && @.name == "{#SENSOR_NAME}")].metrics[?(@.name == "{#METRIC}")].value.first()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81184','32502','1','12','$[?(@.id == "{#SENSOR_ID}" && @.name == "{#SENSOR_NAME}")].metrics[?(@.name == "{#METRIC}")].value.first()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81185','32503','1','12','$[?(@.id == "{#SENSOR_ID}" && @.name == "{#SENSOR_NAME}")].metrics[?(@.name == "{#METRIC}")].value.first()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81186','32504','1','12','$[?(@.id == "{#SENSOR_ID}" && @.name == "{#SENSOR_NAME}")].metrics[?(@.name == "{#METRIC}")].value.first()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81187','32505','1','12','$[?(@.id == "{#SENSOR_ID}" && @.name == "{#SENSOR_NAME}")].metrics[?(@.name == "{#METRIC}")].value.first()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81188','32506','1','12','$[?(@.id == "{#SENSOR_ID}" && @.name == "{#SENSOR_NAME}")].metrics[?(@.name == "{#METRIC}")].value.first()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81189','32507','1','12','$.pools["{#POOLNAME}"].bytes_used','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81190','32508','1','12','$.pools["{#POOLNAME}"].max_avail','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81191','32509','1','12','$.pools["{#POOLNAME}"].objects','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81192','32510','1','12','$.pools["{#POOLNAME}"].percent_used','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81193','32511','1','12','$.pools["{#POOLNAME}"].rd_bytes','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81194','32511','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81195','32512','1','12','$.pools["{#POOLNAME}"].rd_ops','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81196','32512','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81197','32513','1','12','$.pools["{#POOLNAME}"].stored_raw','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81198','32514','1','12','$.pools["{#POOLNAME}"].wr_bytes','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81199','32514','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81200','32515','1','12','$.pools["{#POOLNAME}"].wr_ops','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81201','32515','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81202','32516','1','20','3h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81203','32525','1','21','var data = JSON.parse(value);

data.forEach(function(instance) {
    if (instance["{#INSTANCE}"] === ''_total'') {
        instance["{#INF.STORE}"] = ''Information Store'';
    }
    else {
        instance["{#INF.STORE}"] = ''Information Store - '' + instance["{#INSTANCE}"];
    }
})

return JSON.stringify(data);','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81204','32528','1','20','3h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81205','32533','1','1','0.001','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81206','32534','1','1','0.001','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81207','32536','1','1','0.001','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81208','32537','1','1','0.001','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81209','32539','1','20','3m','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81210','32540','1','1','0.001','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81211','32543','1','1','0.001','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81212','32544','1','1','0.001','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81213','32546','1','20','3h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81214','32555','1','21','var data = JSON.parse(value);

data.forEach(function(instance) {
    if (instance["{#INSTANCE}"] === ''_total'') {
        instance["{#INF.STORE}"] = ''Information Store'';
    }
    else {
        instance["{#INF.STORE}"] = ''Information Store - '' + instance["{#INSTANCE}"];
    }
})

return JSON.stringify(data);','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81215','32558','1','20','3h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81216','32563','1','1','0.001','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81217','32564','1','1','0.001','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81218','32566','1','1','0.001','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81219','32567','1','1','0.001','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81220','32569','1','20','3m','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81221','32570','1','1','0.001','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81222','32573','1','1','0.001','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81223','32574','1','1','0.001','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81224','32576','0','26','','2','{"status": "failed"}');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81225','32576','1','12','$.status','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81226','32576','2','6','','2','0');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81227','32576','3','20','30m','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81228','32577','0','26','','2','{"master_check":[{"status":"failed"}]}');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81229','32577','1','12','$.master_check[0].status','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81230','32577','2','6','','2','0');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81231','32577','3','20','30m','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81232','32578','0','26','','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81233','32578','1','23','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81234','32579','1','12','$[?(@.name=="ruby_process_max_fds")].value.avg()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81235','32580','1','12','$[?(@.name=="gitlab_redis_client_requests_total" && @.labels.storage == "cache")].value.first()','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81236','32580','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81237','32581','1','12','$[?(@.name=="gitlab_redis_client_requests_total" && @.labels.storage == "queues")].value.first()','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81238','32581','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81239','32582','1','12','$[?(@.name=="gitlab_redis_client_requests_total" && @.labels.storage == "shared_state")].value.first()','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81240','32582','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81241','32583','1','12','$[?(@.name=="ruby_file_descriptors")].value.avg()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81242','32584','1','12','$[?(@.name=="ruby_file_descriptors")].value.max()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81243','32585','1','12','$[?(@.name=="ruby_file_descriptors")].value.min()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81244','32586','1','12','$[?(@.name=="ruby_process_cpu_seconds_total")].value.avg()','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81245','32586','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81246','32587','1','12','$[?(@.name=="ruby_process_resident_memory_bytes")].value.avg()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81247','32588','1','12','$[?(@.name=="gitlab_redis_client_exceptions_total" && @.labels.storage == "queues")].value.first()','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81248','32588','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81249','32589','1','12','$[?(@.name=="ruby_process_resident_memory_bytes")].value.max()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81250','32590','1','12','$[?(@.name=="ruby_process_resident_memory_bytes")].value.min()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81251','32591','1','12','$[?(@.name=="ruby_process_start_time_seconds")].value.min()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81252','32591','2','20','3h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81253','32592','1','12','$[?(@.name=="ruby_process_start_time_seconds")].value.max()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81254','32592','2','20','3h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81255','32593','1','12','$[?(@.name=="gitlab_ruby_threads_running_threads")].value.sum()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81256','32594','1','12','$[?(@.name=="successful_login_captcha_total")].value.first()','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81257','32595','1','12','$[?(@.name=~"gitlab_transaction_.*_count_total")].value.sum()','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81258','32595','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81259','32596','1','12','$[?(@.name=="upload_file_does_not_exist")].value.first()','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81260','32597','1','12','$[?(@.name=="gitlab_redis_client_exceptions_total" && @.labels.storage == "shared_state")].value.first()','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81261','32597','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81262','32598','1','12','$[?(@.name=="gitlab_cache_misses_total")].value.sum()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81263','32598','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81264','32599','1','12','$[?(@.name=="gitlab_redis_client_exceptions_total" && @.labels.storage == "cache")].value.first()','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81265','32599','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81266','32600','1','12','$[?(@.name=="failed_login_captcha_total")].value.first()','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81267','32601','1','12','$[?(@.name=="gitlab_database_connection_pool_busy" && @.labels.class == "ActiveRecord::Base")].value.sum()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81268','32602','1','12','$[?(@.name=="gitlab_database_connection_pool_connections" && @.labels.class == "ActiveRecord::Base")].value.sum()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81269','32603','1','12','$[?(@.name=="gitlab_database_connection_pool_dead" && @.labels.class == "ActiveRecord::Base")].value.sum()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81270','32604','1','12','$[?(@.name=="gitlab_database_connection_pool_idle" && @.labels.class == "ActiveRecord::Base")].value.sum()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81271','32605','1','12','$[?(@.name=="gitlab_database_connection_pool_size" && @.labels.class == "ActiveRecord::Base")].value.sum()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81272','32606','1','12','$[?(@.name=="gitlab_database_connection_pool_waiting" && @.labels.class == "ActiveRecord::Base")].value.sum()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81273','32607','1','12','$[?(@.name=="deployments")].labels.version.first()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81274','32607','2','20','3h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81275','32608','1','12','$[?(@.name=="http_requests_total" && @.labels.status =~ ''4..'' )].value.sum()','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81276','32608','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81277','32609','1','12','$[?(@.name=="gitlab_cache_operations_total")].value.sum()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81278','32609','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81279','32610','1','12','$[?(@.name=="http_requests_total" && @.labels.status =~ ''5..'' )].value.sum()','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81280','32610','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81281','32611','1','12','$[?(@.name=="http_requests_total")].value.sum()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81282','32611','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81283','32612','1','12','$[?(@.name=="auto_devops_pipelines_completed_total")].value.sum()','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81284','32613','1','12','$[?(@.name=="auto_devops_pipelines_completed_total" && @.labels.status == "failed")].value.sum()','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81285','32614','1','12','$[?(@.name=="pipelines_created_total")].value.sum()','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81286','32615','1','12','$[?(@.name=="gitlab_ci_pipeline_creation_duration_seconds_sum")].value.first()','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81287','32616','1','12','$[?(@.name=="gitlab_ci_pipeline_creation_duration_seconds_count")].value.first()','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81288','32617','1','12','$[?(@.name=="gitlab_ci_pipeline_processing_events_total")].value.first()','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81289','32618','1','12','$[?(@.name=="user_session_logins_total")].value.first()','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81290','32619','1','23','puma_workers','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81291','32619','2','21','return JSON.stringify(value != "[]" ? [{''{#SINGLETON}'': ''''}] : []);','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81292','32620','1','23','unicorn_workers','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81293','32620','2','21','return JSON.stringify(value != "[]" ? [{''{#SINGLETON}'': ''''}] : []);','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81294','32621','1','12','$[?(@.name==''puma_active_connections'')].value.sum()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81295','32622','1','12','$[?(@.name==''puma_idle_threads'')].value.sum()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81296','32623','1','12','$[?(@.name==''puma_killer_terminations_total'')].value.sum()','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81297','32624','1','12','$[?(@.name==''puma_max_threads'')].value.sum()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81298','32625','1','12','$[?(@.name==''puma_pool_capacity'')].value.sum()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81299','32626','1','12','$[?(@.name==''puma_queued_connections'')].value.sum()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81300','32627','1','12','$[?(@.name==''puma_running'')].value.sum()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81301','32628','1','12','$[?(@.name==''puma_running_workers'')].value.sum()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81302','32629','1','12','$[?(@.name==''puma_stale_workers'')].value.sum()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81303','32630','1','12','$[?(@.name==''puma_workers'')].value.sum()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81304','32631','1','12','$[?(@.name==''unicorn_active_connections'')].value.sum()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81305','32632','1','12','$[?(@.name==''unicorn_queued_connections'')].value.sum()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81306','32633','1','12','$[?(@.name==''unicorn_workers'')].value.sum()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81307','32634','1','21','try {
  parsed = JSON.parse(value);
  var result = [];

  function getNodes(nodes, state) {
      Object.keys(nodes).forEach(function (field) {
          var Node = {};
          Node[''HostName''] = field || '''';
          Node[''adminState''] = nodes[field].adminState || '''';
          Node[''operState''] = state || '''';
          Node[''version''] = nodes[field].version || '''';
          result.push(Node);
      });
  }

  getNodes(JSON.parse(parsed.beans[0].LiveNodes), ''Live'');
  getNodes(JSON.parse(parsed.beans[0].DeadNodes), ''Dead'');
  getNodes(JSON.parse(parsed.beans[0].DecomNodes), ''Decommission'');
  getNodes(JSON.parse(parsed.beans[0].EnteringMaintenanceNodes), ''Maintenance'');

  return JSON.stringify(result);
}
catch (error) {
  throw ''Failed to process response received from Hadoop'';
}','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81308','32635','1','21','return JSON.stringify(JSON.parse(JSON.parse(value).beans[0].LiveNodeManagers))','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81309','32636','1','20','10m','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81310','32640','1','20','10m','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81311','32642','1','12','$.beans[?(@.name==''Hadoop:service=NameNode,name=FSNamesystem'')].MissingBlocks.first()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81312','32643','1','12','$.beans[?(@.name==''Hadoop:service=ResourceManager,name=ClusterMetrics'')].NumDecommissionedNMs.first()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81313','32644','1','12','$.beans[?(@.name==''Hadoop:service=NameNode,name=FSNamesystem'')].BlockCapacity.first()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81314','32645','1','12','$.beans[?(@.name==''Hadoop:service=NameNode,name=FSNamesystem'')].CapacityRemaining.first()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81315','32646','1','12','$.beans[?(@.name==''Hadoop:service=NameNode,name=FSNamesystem'')].CorruptBlocks.first()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81316','32647','1','12','$.beans[?(@.name==''java.lang:type=Runtime'')].Uptime.first()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81317','32647','2','1','0.001','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81318','32648','1','12','$.beans[?(@.name==''Hadoop:service=ResourceManager,name=RpcActivityForPort8031'')].RpcProcessingTimeAvgTime.first()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81319','32649','1','12','$.beans[?(@.name==''Hadoop:service=ResourceManager,name=ClusterMetrics'')].NumUnhealthyNMs.first()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81320','32650','1','12','$.beans[?(@.name==''Hadoop:service=ResourceManager,name=ClusterMetrics'')].NumShutdownNMs.first()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81321','32651','1','12','$.beans[?(@.name==''Hadoop:service=ResourceManager,name=ClusterMetrics'')].NumRebootedNMs.first()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81322','32652','1','12','$.beans[?(@.name==''Hadoop:service=ResourceManager,name=ClusterMetrics'')].NumLostNMs.first()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81323','32652','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81324','32653','1','12','$.beans[?(@.name==''Hadoop:service=ResourceManager,name=ClusterMetrics'')].NumDecommissioningNMs.first()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81325','32653','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81326','32654','1','12','$.beans[?(@.name==''Hadoop:service=NameNode,name=FSNamesystem'')].FilesTotal.first()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81327','32655','1','12','$.beans[?(@.name==''Hadoop:service=ResourceManager,name=ClusterMetrics'')].NumActiveNMs.first()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81328','32655','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81329','32656','1','12','$.beans[?(@.name==''Hadoop:service=NameNode,name=FSNamesystem'')].NumDeadDataNodes.first()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81330','32656','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81331','32657','1','12','$.beans[?(@.name==''Hadoop:service=NameNode,name=FSNamesystem'')].VolumeFailuresTotal.first()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81332','32658','1','12','$.beans[?(@.name==''Hadoop:service=NameNode,name=FSNamesystem'')].BlocksTotal.first()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81333','32659','1','12','$.beans[?(@.name==''Hadoop:service=NameNode,name=FSNamesystem'')].UnderReplicatedBlocks.first()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81334','32660','1','12','$.beans[?(@.name==''Hadoop:service=NameNode,name=FSNamesystem'')].TransactionsSinceLastCheckpoint.first()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81335','32661','1','12','$.beans[?(@.name==''Hadoop:service=NameNode,name=FSNamesystem'')].TotalLoad.first()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81336','32662','1','12','$.beans[?(@.name==''Hadoop:service=NameNode,name=RpcActivityForPort9000'')].RpcProcessingTimeAvgTime.first()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81337','32663','1','12','$.beans[?(@.name==''Hadoop:service=NameNode,name=NameNodeInfo'')].PercentRemaining.first()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81338','32663','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81339','32664','1','12','$.beans[?(@.name==''Hadoop:service=NameNode,name=NameNodeInfo'')].PercentBlockPoolUsed.first()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81340','32665','1','12','$.beans[?(@.name==''Hadoop:service=NameNode,name=FSNamesystem'')].StaleDataNodes.first()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81341','32665','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81342','32666','1','12','$.beans[?(@.name==''Hadoop:service=NameNode,name=FSNamesystem'')].NumLiveDataNodes.first()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81343','32666','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81344','32667','1','12','$.beans[?(@.name==''java.lang:type=Runtime'')].Uptime.first()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81345','32667','2','1','0.001','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81346','32668','1','21','try{
  parsed = JSON.parse(value);
  var result = [];

  function getNodes(nodes) {
      Object.keys(nodes).forEach(function (field) {
          var Node = {};
          Node[''{#HOSTNAME}''] = field || '''';
          Node[''{#INFOADDR}''] = nodes[field].infoAddr || '''';
          result.push(Node);
      });
  }

  getNodes(JSON.parse(parsed.beans[0].LiveNodes));
  getNodes(JSON.parse(parsed.beans[0].DeadNodes));
  getNodes(JSON.parse(parsed.beans[0].DecomNodes));
  getNodes(JSON.parse(parsed.beans[0].EnteringMaintenanceNodes));

  return JSON.stringify(result);
}
catch (error) {
  throw ''Failed to process response received from Hadoop.'';
}','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81347','32669','1','21','try {
  parsed = JSON.parse(value);
  var result = [];

  function getNodes(nodes) {
      Object.keys(nodes).forEach(function (field) {
          var Node = {};
          Node[''{#HOSTNAME}''] = nodes[field].HostName || '''';
          Node[''{#NODEHTTPADDRESS}''] = nodes[field].NodeHTTPAddress || '''';
          result.push(Node);
      });
  }

  getNodes(JSON.parse(parsed.beans[0].LiveNodeManagers));

  return JSON.stringify(result);
}
catch (error) {
  throw ''Failed to process response received from Hadoop.'';
}','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81348','32672','1','12','$.[?(@.HostName==''{#HOSTNAME}'')].adminState.first()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81349','32672','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81350','32673','1','12','$.beans[?(@.name==''Hadoop:service=DataNode,name=FSDatasetState'')].DfsUsed.first()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81351','32674','1','12','$.beans[?(@.name==''Hadoop:service=DataNode,name=JvmMetrics'')].GcTimeMillis.first()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81352','32675','1','12','$.beans[?(@.name==''Hadoop:service=DataNode,name=JvmMetrics'')].MemHeapUsedM.first()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81353','32676','1','12','$.beans[?(@.name==''java.lang:type=Threading'')].ThreadCount.first()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81354','32677','1','12','$.beans[?(@.name==''Hadoop:service=DataNode,name=FSDatasetState'')].NumFailedVolumes.first()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81355','32678','1','12','$.[?(@.HostName==''{#HOSTNAME}'')].operState.first()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81356','32678','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81357','32679','1','12','$.beans[?(@.name==''Hadoop:service=DataNode,name=FSDatasetState'')].Remaining.first()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81358','32680','1','12','$.beans[?(@.name==''java.lang:type=Runtime'')].Uptime.first()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81359','32680','2','1','0.001','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81360','32681','1','12','$.[?(@.HostName==''{#HOSTNAME}'')].version.first()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81361','32681','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81362','32682','1','12','$[?(@.HostName==''{#HOSTNAME}'')].AvailableMemoryMB.first()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81363','32683','1','12','$.beans[?(@.name==''Hadoop:service=NodeManager,name=NodeManagerMetrics'')].ContainerLaunchDurationAvgTime.first()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81364','32684','1','12','$.beans[?(@.name==''Hadoop:service=NodeManager,name=JvmMetrics'')].GcTimeMillis.first()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81365','32685','1','12','$.beans[?(@.name==''Hadoop:service=NodeManager,name=JvmMetrics'')].MemHeapUsedM.first()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81366','32686','1','12','$.beans[?(@.name==''java.lang:type=Threading'')].ThreadCount.first()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81367','32687','1','12','$[?(@.HostName==''{#HOSTNAME}'')].NumContainers.first()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81368','32688','1','12','$.beans[?(@.name==''Hadoop:service=NodeManager,name=RpcActivityForPort8040'')].RpcProcessingTimeAvgTime.first()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81369','32689','1','12','$[?(@.HostName==''{#HOSTNAME}'')].State.first()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81370','32689','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81371','32690','1','12','$.beans[?(@.name==''java.lang:type=Runtime'')].Uptime.first()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81372','32690','2','1','0.001','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81373','32691','1','12','$[?(@.HostName==''{#HOSTNAME}'')].UsedMemoryMB.first()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81374','32692','1','12','$[?(@.HostName==''{#HOSTNAME}'')].NodeManagerVersion.first()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81375','32692','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81376','32694','1','1','100','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81377','32696','1','1','100','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81378','32697','1','21','return (Math.floor((Date.now()-Number(value))/1000))','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81379','32698','1','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81380','32699','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81381','32700','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81382','32701','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81383','32702','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81384','32703','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81385','32704','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81386','32709','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81387','32710','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81388','32717','1','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81389','32718','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81390','32719','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81391','32720','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81392','32721','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81393','32724','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81394','32726','1','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81395','32758','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81396','32759','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81397','32760','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81398','32761','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81399','28511','1','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81400','32766','1','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81401','32767','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81402','32768','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81403','32769','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81404','32770','1','1','0.001','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81405','32771','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81406','32775','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81407','32776','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81408','32777','1','20','10m','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81409','32779','1','20','10m','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81410','32780','0','26','','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81411','32781','0','26','','2','{"healthcheck": 0}');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81412','32782','0','26','','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81413','32784','1','12','$.standby','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81414','32784','2','6','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81415','32784','3','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81416','32785','1','12','$.replication_dr_mode','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81417','32785','2','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81418','32786','1','12','$.is_self','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81419','32786','2','6','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81420','32786','3','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81421','32787','1','12','$.ha_enabled','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81422','32787','2','6','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81423','32787','3','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81424','32788','1','12','$.version','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81425','32788','2','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81426','32789','1','12','$.sealed','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81427','32789','2','6','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81428','32789','3','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81429','32790','1','12','$.replication_performance_mode','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81430','32790','2','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81431','32791','1','12','$.initialized','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81432','32791','2','6','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81433','32791','3','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81434','32792','1','12','$.performance_standby','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81435','32792','2','6','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81436','32792','3','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81437','32793','1','12','$.healthcheck','2','1');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81438','32793','2','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81439','32794','1','12','$.errors[0]','2','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81440','32794','2','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81441','32795','1','16','$.errors','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81442','32796','1','22','process_resident_memory_bytes
','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81443','32797','1','22','vault_runtime_alloc_bytes
','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81444','32798','1','22','vault_runtime_free_count
','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81445','32799','1','22','vault_runtime_heap_objects
','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81446','32800','1','22','process_virtual_memory_max_bytes
','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81447','32800','2','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81448','32801','1','22','process_virtual_memory_bytes
','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81449','32802','1','22','process_start_time_seconds
','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81450','32802','2','21','return Math.floor(Date.now()/1000 - Number(value));','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81451','32803','1','23','{__name__=~"^vault_rollback_attempt_(?:.+?)_count$"}','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81452','32803','2','21','var name,
    output = [];

JSON.parse(value).forEach(function (v) {
    if (name = v.name.match(/^vault_(rollback_attempt|route_rollback)_(.+?)_count$/)) {
        output.push(
            {
                ''{#MOUNTPOINT}'': name[2].replace(/_/g, ''/''),
                ''{#PATTERN_C}'': ''vault_'' + name[1] + ''_'' + name[2] + ''_count'',
                ''{#PATTERN_Q}'': ''vault_'' + name[1] + ''_'' + name[2]
            }
        );
    }
});

return JSON.stringify(output);','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81453','32803','3','20','15m','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81454','32804','1','22','process_open_fds
','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81455','32805','1','22','process_max_fds
','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81456','32805','2','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81457','32806','1','22','process_cpu_seconds_total
','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81458','32807','1','22','vault_policy_set_policy_count
','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81459','32807','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81460','32808','1','22','vault_runtime_num_goroutines
','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81461','32809','1','22','vault_policy_list_policies_count
','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81462','32809','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81463','32810','1','22','vault_policy_get_policy_count
','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81464','32810','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81465','32811','1','22','vault_runtime_malloc_count
','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81466','32812','1','22','vault_token_create_count
','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81467','32813','1','22','vault_runtime_sys_bytes
','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81468','32814','1','22','vault_token_createAccessor_count
','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81469','32815','1','22','vault_runtime_total_gc_pause_ns
','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81470','32815','2','1','1.0E-9','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81471','32816','1','22','vault_token_store_count
','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81472','32817','1','22','vault_token_revoke_tree_count
','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81473','32818','1','22','vault_token_revoke_count
','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81474','32819','1','22','vault_token_lookup_count
','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81475','32819','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81476','32820','1','23','vault_token_creation','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81477','32820','2','12','$[?(@.name=="vault_token_creation")].value.sum()','2','0');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81478','32820','3','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81479','32821','1','22','vault_expire_revoke_prefix_count
','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81480','32822','1','22','vault_runtime_total_gc_runs
','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81481','32823','1','23','vault_token_count_by_ttl','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81482','32823','2','12','$[?(@.name=="vault_token_count_by_ttl")].value.sum()','2','0');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81483','32824','1','23','vault_token_count_by_policy','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81484','32824','2','12','$[?(@.name=="vault_token_count_by_policy")].value.sum()','2','0');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81485','32825','1','23','vault_token_count_by_auth','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81486','32825','2','12','$[?(@.name=="vault_token_count_by_auth")].value.sum()','2','0');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81487','32826','1','23','vault_token_count','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81488','32826','2','12','$[?(@.name=="vault_token_count")].value.sum()','2','0');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81489','32827','1','23','vault_secret_lease_creation','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81490','32827','2','12','$[?(@.name=="vault_secret_lease_creation")].value.sum()','2','0');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81491','32827','3','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81492','32828','1','23','vault_secret_kv_count','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81493','32828','2','12','$[?(@.name=="vault_secret_kv_count")].value.sum()','2','0');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81494','32829','1','22','vault_policy_delete_policy_count
','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81495','32829','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81496','32830','1','22','vault_expire_fetch_lease_times_by_token_count
','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81497','32831','1','22','vault_expire_revoke_force_count
','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81498','32832','1','22','vault_barrier_list_count
','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81499','32832','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81500','32833','1','22','vault_core_fetch_acl_and_token_count
','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81501','32833','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81502','32834','1','22','vault_core_check_token_count
','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81503','32834','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81504','32835','1','22','vault_cache_write
','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81505','32835','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81506','32836','1','22','vault_cache_miss
','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81507','32836','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81508','32837','1','22','vault_cache_hit
','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81509','32837','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81510','32838','1','22','vault_barrier_put_count
','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81511','32838','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81512','32839','1','22','vault_barrier_delete_count
','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81513','32839','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81514','32840','1','23','vault_core_leadership_setup_failed','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81515','32840','2','12','$[?(@.name=="vault_core_leadership_setup_failed")].value.sum()','2','0');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81516','32841','1','22','vault_audit_log_response_count
','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81517','32841','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81518','32842','1','22','vault_audit_log_response_failure
','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81519','32842','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81520','32843','1','22','vault_audit_log_request_count
','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81521','32843','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81522','32844','1','22','vault_audit_log_request_failure
','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81523','32844','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81524','32845','1','23','{__name__=~"^vault_wal_(?:.+)$"}','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81525','32845','2','21','return JSON.stringify(value !== "[]" ? [{''{#SINGLETON}'': ''''}] : []);','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81526','32845','3','20','15m','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81527','32846','1','23','{__name__=~"^vault_(?:.+)_(?:get|put|list|delete)_count$"}','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81528','32846','2','21','var name,
    output = [];

JSON.parse(value).forEach(function (v) {
    if (name = v.name.match(/^vault_((?!barrier).+?)_(get|put|list|delete)_count$/)) {
        output.push(
            {
                ''{#STORAGE}'': name[1],
                ''{#OPERATION}'': name[2].toUpperCase(),
                ''{#PATTERN_C}'': ''vault_'' + name[1] + ''_'' + name[2] + ''_count'',
                ''{#PATTERN_Q}'': ''vault_'' + name[1] + ''_'' + name[2]
            }
        );
    }
});

return JSON.stringify(output);','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81529','32846','3','20','15m','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81530','32847','1','22','vault_core_handle_request_count
','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81531','32847','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81532','32848','1','23','vault_core_leadership_lost_count','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81533','32848','2','12','$[?(@.name=="vault_core_leadership_lost_count")].value.sum()','2','0');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81534','32849','1','22','vault_expire_revoke_by_token_count
','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81535','32850','1','23','{__name__=~"^replication_(?:.+)$"}','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81536','32850','2','21','return JSON.stringify(value !== "[]" ? [{''{#SINGLETON}'': ''''}] : []);','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81537','32850','3','20','15m','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81538','32851','1','22','vault_expire_revoke_count
','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81539','32852','1','22','vault_expire_renew_token_count
','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81540','32853','1','22','vault_expire_renew_count
','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81541','32854','1','22','vault_expire_register_auth_count
','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81542','32855','1','22','vault_expire_register_count
','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81543','32856','1','22','vault_expire_num_leases
','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81544','32857','1','22','vault_expire_fetch_lease_times_count
','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81545','32858','1','22','vault_core_post_unseal_count
','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81546','32859','1','22','vault_core_unseal_count
','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81547','32860','1','23','vault_core_step_down_count','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81548','32860','2','12','$[?(@.name=="vault_core_step_down_count")].value.sum()','2','0');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81549','32861','1','22','vault_core_seal_with_request_count
','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81550','32862','1','22','vault_core_seal_internal_count
','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81551','32863','1','22','vault_core_seal_count
','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81552','32864','1','22','vault_core_pre_seal_count
','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81553','32865','1','22','vault_barrier_get_count
','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81554','32865','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81555','32871','1','12','$.[?(@.accessor == "{#ACCESSOR}")].error.first()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81556','32871','2','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81557','32872','1','12','$.[?(@.accessor == "{#ACCESSOR}")].has_ttl.first()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81558','32872','2','6','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81559','32872','3','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81560','32873','1','12','$.[?(@.accessor == "{#ACCESSOR}")].ttl.first()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81561','32874','1','22','{#PATTERN_C}
','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81562','32874','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81563','32875','1','22','{#PATTERN_C}
','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81564','32875','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81565','32876','1','22','logshipper_streamWALs_guard_found
','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81566','32877','1','22','logshipper_streamWALs_missing_guard
','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81567','32878','1','22','replication_fsm_last_remote_wal
','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81568','32879','1','22','replication_merkle_commit_index
','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81569','32880','1','22','replication_wal_last_dr_wal
','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81570','32881','1','22','replication_wal_last_performance_wal
','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81571','32882','1','22','replication_wal_last_wal
','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81572','32883','1','22','{#PATTERN_C}
','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81573','32883','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81574','32884','1','22','vault_wal_deletewals_count
','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81575','32885','1','22','vault_wal_flushready_count
','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81576','32886','1','22','vault_wal_gc_deleted
','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81577','32887','1','22','vault_wal_gc_total
','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81578','32888','1','22','vault_wal_loadWAL_count
','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81579','32889','1','22','vault_wal_persistwals_count
','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81580','32890','1','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81581','32895','1','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81582','32896','1','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81583','32900','1','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81584','32904','1','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81585','32905','1','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81586','32909','1','20','10m','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81587','32920','1','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81588','32924','1','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81589','32927','1','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81590','32928','1','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81591','32945','1','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81592','32952','1','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81593','32953','1','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81594','32965','1','12','$.approximate_data_size','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81595','32966','1','12','$.outstanding_requests','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81596','32967','1','12','$.max_latency','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81597','32968','1','12','$.min_latency','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81598','32969','1','12','$.num_alive_connections','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81599','32970','1','12','$.open_file_descriptor_count','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81600','32971','1','12','$.packets_received','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81601','32971','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81602','32972','1','12','$.looking_count','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81603','32972','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81604','32973','1','12','$.packets_sent','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81605','32973','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81606','32974','1','12','$.revalidate_count','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81607','32974','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81608','32975','1','12','$.server_state','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81609','32975','2','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81610','32976','1','12','$.snap_count','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81611','32976','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81612','32977','1','12','$.uptime','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81613','32977','2','1','0.001','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81614','32978','1','12','$.version','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81615','32978','2','5',E'([^,]+)--(.+)
\\1','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81616','32978','3','20','3h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81617','32979','1','12','$.watch_count','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81618','32980','1','12','$.max_file_descriptor_count','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81619','32980','2','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81620','32981','1','12','$.global_sessions','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81621','32982','1','12','$.local_sessions','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81622','32983','1','21','var metrics = JSON.parse(value),
    res = metrics.avg_election_time || metrics[''election_time{quantile="0.5"}''];
if (isNaN(res)) {
    return 0;
}
return res;','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81623','32984','1','12','$.ephemerals_count','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81624','32985','1','12','$.diff_count','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81625','32985','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81626','32986','1','12','$.connection_revalidate_count','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81627','32986','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81628','32987','1','12','$.connection_rejected','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81629','32987','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81630','32988','1','12','$.connection_drop_count','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81631','32988','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81632','32989','1','12','$.commit_count','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81633','32989','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81634','32990','1','21','var metrics = JSON.parse(value)
return metrics.snapshottime_count || metrics.cnt_snapshottime','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81635','32991','1','21','var metrics = JSON.parse(value)
return metrics.cnt_fsynctime || metrics.fsynctime_count','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81636','32992','1','21','var metrics = JSON.parse(value);
if (metrics.server_state === "standalone") { 
    return 0 
    }
else {
    return metrics.cnt_election_time || metrics.election_time_count
}','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81637','32993','1','12','$.bytes_received_count','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81638','32993','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81639','32994','1','21','var metrics = JSON.parse(value),
    res = metrics[''snapshottime{quantile="0.5"}''] || metrics.avg_snapshottime ;
if (isNaN(res)) {
    return 0;
}
return res;','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81640','32995','1','12','$.avg_latency','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81641','32996','1','21','var metrics = JSON.parse(value),
    res = metrics.avg_fsynctime || metrics[''fsynctime{quantile="0.5"}''];
if (isNaN(res)) {
    return 0;
}
return res;','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81642','32997','1','12','$.znode_count','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81643','32997','2','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81644','32998','1','21','var source = JSON.parse(value),
    data = [];

source.connections.forEach(function(v){
    data.push({
        "{#ADDRESS}": v.remote_socket_address,
        "{#CLIENT}": v.remote_socket_address.split('':'')[0],
        "{#TYPE}": "connections"})
});

source.secure_connections.forEach(function(v){
data.push({
    "{#ADDRESS}": v.remote_socket_address,
    "{#CLIENT}":v.remote_socket_address.split('':'')[0],
    "{#TYPE}": "secure_connections"})
});

return JSON.stringify(data);','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81645','32999','1','12','$.server_state','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81646','32999','2','21','return JSON.stringify(value == ''leader'' ? [{''{#SINGLETON}'': ''''}] : []);','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81647','33000','1','12','$.{#TYPE}.[?(@.remote_socket_address == "{#ADDRESS}")].avg_latency.first()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81648','33001','1','12','$.{#TYPE}.[?(@.remote_socket_address == "{#ADDRESS}")].max_latency.first()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81649','33002','1','12','$.{#TYPE}.[?(@.remote_socket_address == "{#ADDRESS}")].min_latency.first()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81650','33003','1','12','$.{#TYPE}.[?(@.remote_socket_address == "{#ADDRESS}")].outstanding_requests.first()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81651','33004','1','12','$.{#TYPE}.[?(@.remote_socket_address == "{#ADDRESS}")].packets_received.first()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81652','33004','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81653','33005','1','12','$.{#TYPE}.[?(@.remote_socket_address == "{#ADDRESS}")].packets_sent.first()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81654','33005','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81655','33006','1','12','$.learners','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81656','33007','1','12','$.pending_syncs','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81657','33008','1','12','$.quorum_size','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81658','33009','1','12','$.synced_followers','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81659','33010','1','12','$.synced_non_voting_followers','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81660','33011','1','12','$.synced_observers','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81661','33012','1','12','$.data.process[''availability manager''].busy.avg','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81662','33013','1','12','$.data.process[''history poller''].busy.avg','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81663','33014','1','12','$.data.tcache.pitems','3','Not supported this version');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81664','33015','1','12','$.data.tcache.pmisses','3','Not supported this version');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81665','33016','1','12','$.data.process[''availability manager''].busy.avg','3','Processes availability manager not started');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81666','33017','1','12','$.data.process[''history poller''].busy.avg','3','Processes history poller not started');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81667','33028','1','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81668','33059','1','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81669','33062','1','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81670','33063','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81671','33066','1','1','0.001','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81672','33067','1','1','0.001','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81673','33068','1','1','0.001','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81674','33071','1','1','0.001','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81675','33072','1','1','0.001','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81676','33073','1','1','0.001','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81677','33074','1','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81678','33076','1','1','100','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81679','33077','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81680','33082','1','1','0.001','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81681','33083','1','1','0.001','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81682','33084','1','1','0.001','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81683','33085','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81684','33086','1','1','0.001','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81685','33087','1','1','0.001','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81686','33088','1','1','0.001','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81687','33089','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81688','33094','1','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81689','33098','1','1','0.001','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81690','33099','1','1','0.001','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81691','33100','1','1','0.001','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81692','33101','1','1','0.001','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81693','33110','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81694','33112','1','1','0.001','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81695','33113','1','1','0.001','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81696','33123','1','1','0.001','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81697','33124','1','1','0.001','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81698','33125','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81699','33126','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81700','33127','1','11','/resultset/row[field/text()=''Innodb_buffer_pool_wait_free'']/field[@name=''Value'']/text()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81701','33127','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81702','33128','1','11','/resultset/row[field/text()=''Innodb_num_open_files'']/field[@name=''Value'']/text()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81703','33128','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81704','33129','1','11','/resultset/row[field/text()=''Innodb_os_log_written'']/field[@name=''Value'']/text()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81705','33130','1','11','/resultset/row[field/text()=''Open_tables'']/field[@name=''Value'']/text()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81706','33130','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81707','33131','1','11','/resultset/row[field/text()=''Open_table_definitions'']/field[@name=''Value'']/text()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81708','33131','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81709','33132','1','11','/resultset/row[field/text()=''Binlog_cache_disk_use'']/field[@name=''Value'']/text()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81710','33132','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81711','33133','1','21','return JSON.stringify(value.search(''MariaDB'')>-1 ? [{''{#SINGLETON}'': ''''}] : []);','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81712','33134','1','11','/resultset/row[field/text()=''Binlog_commits'']/field[@name=''Value'']/text()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81713','33135','1','11','/resultset/row[field/text()=''Binlog_group_commits'']/field[@name=''Value'']/text()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81714','33136','1','11','/resultset/row[field/text()=''Master_gtid_wait_count'']/field[@name=''Value'']/text()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81715','33136','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81716','33137','1','11','/resultset/row[field/text()=''Master_gtid_wait_timeouts'']/field[@name=''Value'']/text()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81717','33137','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81718','33138','1','11','/resultset/row[field/text()=''Master_gtid_wait_time'']/field[@name=''Value'']/text()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81719','33138','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81720','33139','1','11','/resultset/row[field/text()=''Slave_SQL_Running_State'']/field[@name=''Value'']/text()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81721','33139','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81722','33140','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81723','33141','1','12','$.Innodb_buffer_pool_wait_free','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81724','33141','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81725','33142','1','12','$.Innodb_num_open_files','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81726','33142','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81727','33143','1','12','$.Innodb_os_log_written','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81728','33143','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81729','33144','1','12','$.Open_tables','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81730','33144','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81731','33145','1','12','$.Open_table_definitions','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81732','33145','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81733','33146','1','12','$.Binlog_cache_disk_use','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81734','33146','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81735','33147','1','21','return JSON.stringify(value.search(''MariaDB'')>-1 ? [{''{#SINGLETON}'': ''''}] : []);','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81736','33148','1','12','$.Binlog_commits','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81737','33149','1','12','$.Binlog_group_commits','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81738','33150','1','12','$.Master_gtid_wait_count','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81739','33150','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81740','33151','1','12','$.Master_gtid_wait_timeouts','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81741','33151','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81742','33152','1','12','$.Master_gtid_wait_time','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81743','33152','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81744','33153','1','12','$.Slave_SQL_Running_State','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81745','33153','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81746','33154','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81747','33155','1','12','$[?(@.Variable_name==''Innodb_buffer_pool_wait_free'')].Value.first()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81748','33155','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81749','33156','1','12','$[?(@.Variable_name==''Innodb_num_open_files'')].Value.first()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81750','33156','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81751','33157','1','12','$[?(@.Variable_name==''Innodb_os_log_written'')].Value.first()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81752','33157','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81753','33158','1','12','$[?(@.Variable_name==''Open_tables'')].Value.first()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81754','33158','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81755','33159','1','12','$[?(@.Variable_name==''Open_table_definitions'')].Value.first()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81756','33159','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81757','33160','1','12','$[?(@.Variable_name==''Binlog_cache_disk_use'')].Value.first()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81758','33160','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81759','33161','1','21','return JSON.stringify(value.search(''MariaDB'')>-1 ? [{''{#SINGLETON}'': ''''}] : []);','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81760','33162','1','12','$.[?(@.Master_Host==''{#MASTER_HOST}'')][''Slave_SQL_Running_State''].first()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81761','33162','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81762','33163','1','12','$[?(@.Variable_name==''Binlog_commits'')].Value.first()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81763','33164','1','12','$[?(@.Variable_name==''Binlog_group_commits'')].Value.first()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81764','33165','1','12','$[?(@.Variable_name==''Master_gtid_wait_count'')].Value.first()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81765','33165','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81766','33166','1','12','$[?(@.Variable_name==''Master_gtid_wait_timeouts'')].Value.first()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81767','33166','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81768','33167','1','12','$[?(@.Variable_name==''Master_gtid_wait_time'')].Value.first()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81769','33167','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81770','33168','1','12','$..[''{#TABLESPACE}''].used_bytes.first()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81771','33169','1','12','$..[''{#TABLESPACE}''].used_file_pct.first()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81772','33170','1','12','$[?(@.TABLESPACE==''{#TABLESPACE}'')].USED_BYTES.first()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81773','33171','1','12','$[?(@.TABLESPACE==''{#TABLESPACE}'')].USED_FILE_PCT.first()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81774','33176','1','12','$.checkpoint_sync_time','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81775','33176','2','1','0.001','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81776','33176','3','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81777','33178','1','12','$[''{#APPLICATION_NAME}''].flush_lag','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81778','33179','1','12','$[''{#APPLICATION_NAME}''].replay_lag','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81779','33180','1','12','$[''{#APPLICATION_NAME}''].write_lag','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81780','27031','1','21','try {
    var data = JSON.parse(value);
}
catch (error) {
    throw ''Failed to parse JSON of EtherLike-MIB discovery.'';
}
var fields = [''{#SNMPVALUE}'',''{#IFOPERSTATUS}'',''{#IFALIAS}'',''{#IFNAME}'',''{#IFDESCR}''];
data.forEach(function (element) {
    fields.forEach(function (field) {
        element[field] = element[field] || '''';
    });
});
return JSON.stringify(data);','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81781','27190','1','21','try {
    var data = JSON.parse(value);
}
catch (error) {
    throw ''Failed to parse JSON of EtherLike-MIB discovery.'';
}
var fields = [''{#SNMPVALUE}'',''{#IFOPERSTATUS}'',''{#IFALIAS}'',''{#IFNAME}'',''{#IFDESCR}''];
data.forEach(function (element) {
    fields.forEach(function (field) {
        element[field] = element[field] || '''';
    });
});
return JSON.stringify(data);','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81782','27331','1','21','try {
    var data = JSON.parse(value);
}
catch (error) {
    throw ''Failed to parse JSON of EtherLike-MIB discovery.'';
}
var fields = [''{#SNMPVALUE}'',''{#IFOPERSTATUS}'',''{#IFALIAS}'',''{#IFNAME}'',''{#IFDESCR}''];
data.forEach(function (element) {
    fields.forEach(function (field) {
        element[field] = element[field] || '''';
    });
});
return JSON.stringify(data);','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81783','27460','1','21','try {
    var data = JSON.parse(value);
}
catch (error) {
    throw ''Failed to parse JSON of EtherLike-MIB discovery.'';
}
var fields = [''{#SNMPVALUE}'',''{#IFOPERSTATUS}'',''{#IFALIAS}'',''{#IFNAME}'',''{#IFDESCR}''];
data.forEach(function (element) {
    fields.forEach(function (field) {
        element[field] = element[field] || '''';
    });
});
return JSON.stringify(data);','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81784','27530','1','21','try {
    var data = JSON.parse(value);
}
catch (error) {
    throw ''Failed to parse JSON of EtherLike-MIB discovery.'';
}
var fields = [''{#SNMPVALUE}'',''{#IFOPERSTATUS}'',''{#IFALIAS}'',''{#IFNAME}'',''{#IFDESCR}''];
data.forEach(function (element) {
    fields.forEach(function (field) {
        element[field] = element[field] || '''';
    });
});
return JSON.stringify(data);','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81785','27566','1','21','try {
    var data = JSON.parse(value);
}
catch (error) {
    throw ''Failed to parse JSON of EtherLike-MIB discovery.'';
}
var fields = [''{#SNMPVALUE}'',''{#IFOPERSTATUS}'',''{#IFALIAS}'',''{#IFNAME}'',''{#IFDESCR}''];
data.forEach(function (element) {
    fields.forEach(function (field) {
        element[field] = element[field] || '''';
    });
});
return JSON.stringify(data);','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81786','27629','1','21','try {
    var data = JSON.parse(value);
}
catch (error) {
    throw ''Failed to parse JSON of EtherLike-MIB discovery.'';
}
var fields = [''{#SNMPVALUE}'',''{#IFOPERSTATUS}'',''{#IFALIAS}'',''{#IFNAME}'',''{#IFDESCR}''];
data.forEach(function (element) {
    fields.forEach(function (field) {
        element[field] = element[field] || '''';
    });
});
return JSON.stringify(data);','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81787','27652','1','21','try {
    var data = JSON.parse(value);
}
catch (error) {
    throw ''Failed to parse JSON of EtherLike-MIB discovery.'';
}
var fields = [''{#SNMPVALUE}'',''{#IFOPERSTATUS}'',''{#IFALIAS}'',''{#IFNAME}'',''{#IFDESCR}''];
data.forEach(function (element) {
    fields.forEach(function (field) {
        element[field] = element[field] || '''';
    });
});
return JSON.stringify(data);','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81788','27732','1','21','try {
    var data = JSON.parse(value);
}
catch (error) {
    throw ''Failed to parse JSON of EtherLike-MIB discovery.'';
}
var fields = [''{#SNMPVALUE}'',''{#IFOPERSTATUS}'',''{#IFALIAS}'',''{#IFNAME}'',''{#IFDESCR}''];
data.forEach(function (element) {
    fields.forEach(function (field) {
        element[field] = element[field] || '''';
    });
});
return JSON.stringify(data);','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81789','27798','1','21','try {
    var data = JSON.parse(value);
}
catch (error) {
    throw ''Failed to parse JSON of EtherLike-MIB discovery.'';
}
var fields = [''{#SNMPVALUE}'',''{#IFOPERSTATUS}'',''{#IFALIAS}'',''{#IFNAME}'',''{#IFDESCR}''];
data.forEach(function (element) {
    fields.forEach(function (field) {
        element[field] = element[field] || '''';
    });
});
return JSON.stringify(data);','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81790','27954','1','21','try {
    var data = JSON.parse(value);
}
catch (error) {
    throw ''Failed to parse JSON of EtherLike-MIB discovery.'';
}
var fields = [''{#SNMPVALUE}'',''{#IFOPERSTATUS}'',''{#IFALIAS}'',''{#IFNAME}'',''{#IFDESCR}''];
data.forEach(function (element) {
    fields.forEach(function (field) {
        element[field] = element[field] || '''';
    });
});
return JSON.stringify(data);','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81791','28128','1','21','try {
    var data = JSON.parse(value);
}
catch (error) {
    throw ''Failed to parse JSON of EtherLike-MIB discovery.'';
}
var fields = [''{#SNMPVALUE}'',''{#IFOPERSTATUS}'',''{#IFALIAS}'',''{#IFNAME}'',''{#IFDESCR}''];
data.forEach(function (element) {
    fields.forEach(function (field) {
        element[field] = element[field] || '''';
    });
});
return JSON.stringify(data);','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81792','28280','1','21','try {
    var data = JSON.parse(value);
}
catch (error) {
    throw ''Failed to parse JSON of EtherLike-MIB discovery.'';
}
var fields = [''{#SNMPVALUE}'',''{#IFOPERSTATUS}'',''{#IFALIAS}'',''{#IFNAME}'',''{#IFDESCR}''];
data.forEach(function (element) {
    fields.forEach(function (field) {
        element[field] = element[field] || '''';
    });
});
return JSON.stringify(data);','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81793','28955','1','21','try {
    var data = JSON.parse(value);
}
catch (error) {
    throw ''Failed to parse JSON of EtherLike-MIB discovery.'';
}
var fields = [''{#SNMPVALUE}'',''{#IFOPERSTATUS}'',''{#IFALIAS}'',''{#IFNAME}'',''{#IFDESCR}''];
data.forEach(function (element) {
    fields.forEach(function (field) {
        element[field] = element[field] || '''';
    });
});
return JSON.stringify(data);','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81794','33181','1','21','try {
    var data = JSON.parse(value);
}
catch (error) {
    throw ''Failed to parse JSON of Arista sensor discovery.'';
}
var fields = [''{#SNMPINDEX}'',''{#SENSOR_TYPE}'',''{#SENSOR_INFO}'',''{#SENSOR_PRECISION}'',''{#THRESHOLD_LO_WARN}'',''{#THRESHOLD_LO_CRIT}'',''{#THRESHOLD_HI_WARN}'',''{#THRESHOLD_HI_CRIT}''];
data.forEach(function (element) {
    fields.forEach(function (field) {
        element[field] = element[field] || '''';
    });
});
return JSON.stringify(data);','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81795','33185','1','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81796','33188','1','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81797','33189','1','1','0.01','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81798','33190','1','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81799','33190','2','21',E'var FIELDS = [
  ''externalShortCircuit'',
  ''overcurrent'',
  ''mosfetShorted'',
  ''software'',
  ''loadHvd'',
  ''highTempDisconnect'',
  ''dipSwitchChanged'',
  ''customSettingsEdit''
];

var flags = parseInt(value.replace(/\\x20/g, ''''), 16),
  result = [];

for (var i = 0, f = 1 << 31 >>> 0, l = FIELDS.length; i < l; i++, f >>>= 1) {
    if (flags & f) {
        result.push(FIELDS[i]);
    }
}

return result.length ? result.join(''\\n'') : ''No faults'';','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81800','33191','1','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81801','33191','2','21',E'var FIELDS = [
  ''overcurrent'',
  ''mosfetSShorted'',
  ''software'',
  ''batteryHvd'',
  ''arrayHvd'',
  ''customSettingsEdit'',
  ''rtsShorted'',
  ''rtsNoLongerValid'',
  ''localTempSensorDamaged'',
  ''batteryLowVoltageDisconnect'',
  ''slaveTimeout'',
  ''dipSwitchChanged'',
];

var flags = parseInt(value.replace(/\\x20/g, ''''), 16),
  result = [];

for (var i = 0, f = 1 << 31 >>> 0, l = FIELDS.length; i < l; i++, f >>>= 1) {
    if (flags & f) {
        result.push(FIELDS[i]);
    }
}

return result.length ? result.join(''\\n'') : ''No faults'';','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81802','33192','1','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81803','33192','2','21',E'var FIELDS = [
  ''rtsOpen'',
  ''rtsShorted'',
  ''rtsDisconnected'',
  ''heatsinkTempSensorOpen'',
  ''heatsinkTempSensorShorted'',
  ''heatsinkTempLimit'',
  ''inductorTempSensorOpen'',
  ''inductorTempSensorShorted'',
  ''inductorTempLimit'',
  ''currentLimit'',
  ''currentMeasurementError'',
  ''batterySenseOutOfRange'',
  ''batterySenseDisconnected'',
  ''uncalibrated'',
  ''tb5v'',
  ''fp10SupplyOutOfRange'',
  ''unused'',
  ''mosfetOpen'',
  ''arrayCurrentOffset'',
  ''loadCurrentOffset'',
  ''p33SupplyOutOfRange'',
  ''p12SupplyOutOfRange'',
  ''hightInputVoltageLimit'',
  ''controllerReset'',
  ''loadLvd'',
  ''logTimeout'',
  ''eepromAccessFailure''
];

var flags = parseInt(value.replace(/\\x20/g, ''''), 16),
  result = [];

for (var i = 0, f = 1 << 31 >>> 0, l = FIELDS.length; i < l; i++, f >>>= 1) {
    if (flags & f) {
        result.push(FIELDS[i]);
    }
}

return result.length ? result.join(''\\n'') : ''No alarms'';','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81804','33196','1','1','0.1','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81805','33198','1','1','0.1','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81806','33199','1','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81807','33205','1','21','var v_range = [
      [[0, 18], [12, 15, 11.5, 15.5]],
      [[18, 36], [24, 30, 23, 31]],
      [[36, 99], [48, 60, 46, 62]],
  ],
  result = [];

for (var idx in v_range) {
    if (v_range[idx][0][0] < value && value <= v_range[idx][0][1]) {
        result = [{
            ''{#VOLTAGE.MIN.WARN}'': parseInt({$VOLTAGE.MIN.WARN}) || v_range[idx][1][0],
            ''{#VOLTAGE.MAX.WARN}'': parseInt({$VOLTAGE.MAX.WARN}) || v_range[idx][1][1],
            ''{#VOLTAGE.MIN.CRIT}'': parseInt({$VOLTAGE.MIN.CRIT}) || v_range[idx][1][2],
            ''{#VOLTAGE.MAX.CRIT}'': parseInt({$VOLTAGE.MAX.CRIT}) || v_range[idx][1][3],
            ''{#SINGLETON}'': ''''
        }];
        break;
    }
}

return JSON.stringify(result);','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81808','33208','1','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81809','33208','2','21',E'var FIELDS = [
  ''rtsOpen'',
  ''rtsShorted'',
  ''rtsDisconnected'',
  ''heatsinkTempSensorOpen'',
  ''heatsinkTempSensorShorted'',
  ''heatsinkTempLimit'',
  ''currentLimit'',
  ''currentMeasurementError'',
  ''batterySenseOutOfRange'',
  ''batterySenseDisconnected'',
  ''uncalibrated'',
  ''batteryTempOutOfRange'',
  ''fp10SupplyOutOfRange'',
  ''mosfetOpen'',
  ''arrayCurrentOffset'',
  ''loadCurrentOffset'',
  ''p33SupplyOutOfRange'',
  ''p12SupplyOutOfRange'',
  ''hightInputVoltageLimit'',
  ''controllerReset'',
  ''loadLvd'',
  ''logTimeout'',
  ''eepromAccessFailure''
];

var flags = parseInt(value.replace(/\\x20/g, ''''), 16),
  result = [];

for (var i = 0, f = 1 << 31 >>> 0, l = FIELDS.length; i < l; i++, f >>>= 1) {
    if (flags & f) {
        result.push(FIELDS[i]);
    }
}

return result.length ? result.join(''\\n'') : ''No alarms'';','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81810','33211','1','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81811','33212','1','1','0.01','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81812','33213','1','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81813','33213','2','21',E'var FIELDS = [
  ''externalShortCircuit'',
  ''overcurrent'',
  ''mosfetShorted'',
  ''software'',
  ''loadHvd'',
  ''highTempDisconnect'',
  ''dipSwitchChanged'',
  ''customSettingsEdit'',
  ''p3Fault''
];

var flags = parseInt(value.replace(/\\x20/g, ''''), 16),
  result = [];

for (var i = 0, f = 1 << 31 >>> 0, l = FIELDS.length; i < l; i++, f >>>= 1) {
    if (flags & f) {
        result.push(FIELDS[i]);
    }
}

return result.length ? result.join(''\\n'') : ''No faults'';','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81814','33214','1','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81815','33214','2','21',E'var FIELDS = [
  ''overcurrent'',
  ''mosfetSShorted'',
  ''software'',
  ''batteryHvd'',
  ''arrayHvd'',
  ''customSettingsEdit'',
  ''rtsShorted'',
  ''rtsNoLongerValid'',
  ''localTempSensorDamaged'',
  ''batteryLowVoltageDisconnect'',
  ''slaveTimeout'',
  ''dipSwitchChanged'',
  ''p3Fault'',
];

var flags = parseInt(value.replace(/\\x20/g, ''''), 16),
  result = [];

for (var i = 0, f = 1 << 31 >>> 0, l = FIELDS.length; i < l; i++, f >>>= 1) {
    if (flags & f) {
        result.push(FIELDS[i]);
    }
}

return result.length ? result.join(''\\n'') : ''No faults'';','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81816','33217','1','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81817','33219','1','1','0.1','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81818','33221','1','1','0.1','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81819','33222','1','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81820','33225','1','21','var v_range = [
      [[0, 18], [12, 15, 11.5, 15.5]],
      [[18, 36], [24, 30, 23, 31]],
      [[36, 99], [48, 60, 46, 62]],
  ],
  result = [];

for (var idx in v_range) {
    if (v_range[idx][0][0] < value && value <= v_range[idx][0][1]) {
        result = [{
            ''{#VOLTAGE.MIN.WARN}'': parseInt({$VOLTAGE.MIN.WARN}) || v_range[idx][1][0],
            ''{#VOLTAGE.MAX.WARN}'': parseInt({$VOLTAGE.MAX.WARN}) || v_range[idx][1][1],
            ''{#VOLTAGE.MIN.CRIT}'': parseInt({$VOLTAGE.MIN.CRIT}) || v_range[idx][1][2],
            ''{#VOLTAGE.MAX.CRIT}'': parseInt({$VOLTAGE.MAX.CRIT}) || v_range[idx][1][3],
            ''{#SINGLETON}'': ''''
        }];
        break;
    }
}

return JSON.stringify(result);','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81821','33227','1','1','0.01509857178','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81822','33227','2','5',E'^(\\d+)(\\.\\d{1,2})?
\\1\\2','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81823','33228','1','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81824','33231','1','1','0.003051757813','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81825','33231','2','5',E'^(\\d+)(\\.\\d{1,2})?
\\1\\2','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81826','33232','1','1','0.01','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81827','33233','1','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81828','33233','2','21',E'var FIELDS = [
  ''externalShortCircuit'',
  ''overcurrent'',
  ''mosfetShorted'',
  ''software'',
  ''loadHvd'',
  ''highTempDisconnect'',
  ''customSettingsEdit'',
  ''unknownLoadFault''
];

var flags = parseInt(value.replace(/\\x20/g, ''''), 16),
  result = [];

for (var i = 0, f = 1 << 31 >>> 0, l = FIELDS.length; i < l; i++, f >>>= 1) {
    if (flags & f) {
        result.push(FIELDS[i]);
    }
}

return result.length ? result.join(''\\n'') : ''No faults'';','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81829','33234','1','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81830','33234','2','21',E'var FIELDS = [
  ''overcurrent'',
  ''mosfetSShorted'',
  ''softwareFault'',
  ''batteryHvd'',
  ''arrayHvd'',
  ''customSettingsEdit'',
  ''rtsShorted'',
  ''rtsNoLongerValid'',
  ''localTempSensorDamaged'',
];

var flags = parseInt(value.replace(/\\x20/g, ''''), 16),
  result = [];

for (var i = 0, f = 1 << 31 >>> 0, l = FIELDS.length; i < l; i++, f >>>= 1) {
    if (flags & f) {
        result.push(FIELDS[i]);
    }
}

return result.length ? result.join(''\\n'') : ''No faults'';','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81831','33235','1','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81832','33235','2','21',E'var FIELDS = [
  ''rtsOpen'',
  ''rtsShorted'',
  ''rtsDisconnected'',
  ''heatsinkTempSensorOpen'',
  ''heatsinkTempSensorShorted'',
  ''sspptHot'',
  ''currentLimit'',
  ''currentOffset'',
  ''undefined'',
  ''undefined1'',
  ''uncalibrated'',
  ''rtsMiswire'',
  ''undefined12'',
  ''undefined123'',
  ''systemMiswire'',
  ''mosfetSOpen'',
  ''p12VoltageReferenceOff'',
  ''highVaCurrentLimit'',
];

var flags = parseInt(value.replace(/\\x20/g, ''''), 16),
  result = [];

for (var i = 0, f = 1 << 31 >>> 0, l = FIELDS.length; i < l; i++, f >>>= 1) {
    if (flags & f) {
        result.push(FIELDS[i]);
    }
}

return result.length ? result.join(''\\n'') : ''No alarms'';','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81833','33236','1','1','0.003051757813','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81834','33236','2','5',E'^(\\d+)(\\.\\d{1,2})?
\\1\\2','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81835','33237','1','1','0.002415771484','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81836','33237','2','5',E'^(\\d+)(\\.\\d{1,2})?
\\1\\2','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81837','33238','1','1','0.003051757813','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81838','33238','2','5',E'^(\\d+)(\\.\\d{1,2})?
\\1\\2','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81839','33239','1','1','0.1','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81840','33241','1','1','0.1','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81841','33242','1','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81842','33243','1','1','0.002415771484','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81843','33243','2','5',E'^(\\d+)(\\.\\d{1,2})?
\\1\\2','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81844','33244','1','1','0.003051757813','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81845','33245','1','1','0.003051757813','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81846','33245','2','5',E'^(\\d+)(\\.\\d{1,2})?
\\1\\2','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81847','33246','1','1','0.003051757813','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81848','33246','2','5',E'^(\\d+)(\\.\\d{1,2})?
\\1\\2','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81849','33248','1','21','var v_range = [
      [[0, 18], [12, 15, 11.5, 15.5]],
      [[18, 36], [24, 30, 23, 31]],
      [[36, 99], [48, 60, 46, 62]],
  ],
  result = [];

for (var idx in v_range) {
    if (v_range[idx][0][0] < value && value <= v_range[idx][0][1]) {
        result = [{
            ''{#VOLTAGE.MIN.WARN}'': parseInt({$VOLTAGE.MIN.WARN}) || v_range[idx][1][0],
            ''{#VOLTAGE.MAX.WARN}'': parseInt({$VOLTAGE.MAX.WARN}) || v_range[idx][1][1],
            ''{#VOLTAGE.MIN.CRIT}'': parseInt({$VOLTAGE.MIN.CRIT}) || v_range[idx][1][2],
            ''{#VOLTAGE.MAX.CRIT}'': parseInt({$VOLTAGE.MAX.CRIT}) || v_range[idx][1][3],
            ''{#SINGLETON}'': ''''
        }];
        break;
    }
}

return JSON.stringify(result);','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81850','33249','1','1','0.003051757813','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81851','33249','2','5',E'^(\\d+)(\\.\\d{1,2})?
\\1\\2','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81852','33250','1','1','2.581787109375E-4','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81853','33250','2','5',E'^(\\d+)(\\.\\d{1,2})?
\\1\\2','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81854','33251','1','1','1.953125E-4','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81855','33251','2','5',E'^(\\d+)(\\.\\d{1,2})?
\\1\\2','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81856','33252','1','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81857','33253','1','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81858','33253','2','21',E'var FIELDS = [
  ''heatsinkTempSensorOpen'',
  ''heatsinkTempSensorShort'',
  ''unknownAlarm'',
  ''suresineHot''
];

var flags = parseInt(value.replace(/\\x20/g, ''''), 16),
  result = [];

for (var i = 0, f = 1 << 31 >>> 0, l = FIELDS.length; i < l; i++, f >>>= 1) {
    if (flags & f) {
        result.push(FIELDS[i]);
    }
}

return result.length ? result.join(''\\n'') : ''No alarms'';','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81859','33254','1','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81860','33254','2','21',E'var FIELDS = [
  ''reset'',
  ''overcurrent'',
  ''unknownFault'',
  ''software'',
  ''highVoltageDisconnect'',
  ''suresineHot'',
  ''dipSwitchChanged'',
  ''customSettingsEdit''
];

var flags = parseInt(value.replace(/\\x20/g, ''''), 16),
  result = [];

for (var i = 0, f = 1 << 31 >>> 0, l = FIELDS.length; i < l; i++, f >>>= 1) {
    if (flags & f) {
        result.push(FIELDS[i]);
    }
}

return result.length ? result.join(''\\n'') : ''No faults'';','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81861','33255','1','1','0.01','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81862','33257','1','21','var v_range = [
      [[0, 18], [12, 15, 11.5, 15.5]],
      [[18, 36], [24, 30, 23, 31]],
      [[36, 99], [48, 60, 46, 62]],
  ],
  result = [];

for (var idx in v_range) {
    if (v_range[idx][0][0] < value && value <= v_range[idx][0][1]) {
        result = [{
            ''{#VOLTAGE.MIN.WARN}'': parseInt({$VOLTAGE.MIN.WARN}) || v_range[idx][1][0],
            ''{#VOLTAGE.MAX.WARN}'': parseInt({$VOLTAGE.MAX.WARN}) || v_range[idx][1][1],
            ''{#VOLTAGE.MIN.CRIT}'': parseInt({$VOLTAGE.MIN.CRIT}) || v_range[idx][1][2],
            ''{#VOLTAGE.MAX.CRIT}'': parseInt({$VOLTAGE.MAX.CRIT}) || v_range[idx][1][3],
            ''{#SINGLETON}'': ''''
        }];
        break;
    }
}

return JSON.stringify(result);','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81863','33258','1','1','2.581787109375E-4','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81864','33258','2','5',E'^(\\d+)(\\.\\d{1,2})?
\\1\\2','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81865','33262','1','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81866','33263','1','1','0.01','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81867','33264','1','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81868','33264','2','21',E'var FIELDS = [
  ''overcurrent'',
  ''fetShort'',
  ''softwareFault'',
  ''batteryHvd'',
  ''arrayHvd'',
  ''dipSwitchChange'',
  ''customSettingsEdit'',
  ''rtsShorted'',
  ''rtsDisconnected'',
  ''eepromRetryLimit'',
  ''controllerWasReset'',
  ''chargeSlaveControlTimeout'',
  ''rs232SerialToMeterBridge'',
  ''batteryLvd'',
  ''fault14Undefined'',
  ''powerboardCommunicationFault'',
  ''fault16Software'',
  ''fault17Software'',
  ''fault18Software'',
  ''fault19Software'',
  ''fault20Software'',
  ''fault21Software'',
  ''fpgaVersion'',
  ''currentSensorReferenceOutOfRange'',
  ''ia-refSlaveModeTimeout'',
  ''blockbusBoot'',
  ''hscommMaster'',
  ''hscomm'',
  ''slave'',
];

var flags = parseInt(value.replace(/\\x20/g, ''''), 16),
  result = [];

for (var i = 0, f = 1 << 31 >>> 0, l = FIELDS.length; i < l; i++, f >>>= 1) {
    if (flags & f) {
        result.push(FIELDS[i]);
    }
}

return result.length ? result.join(''\\n'') : ''No faults'';','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81869','33265','1','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81870','33265','2','21',E'var FIELDS = [
  ''rtsOpen'',
  ''rtsShorted'',
  ''rtsDisconnected'',
  ''heatsinkTempSensorOpen'',
  ''heatsinkTempSensorShorted'',
  ''highTemperatureCurrentLimit'',
  ''currentLimit'',
  ''currentOffset'',
  ''batterySense'',
  ''batterySenseDisconnected'',
  ''uncalibrated'',
  ''rtsMiswire'',
  ''highVoltageDisconnect'',
  ''undefined'',
  ''systemMiswire'',
  ''mosfetSOpen'',
  ''p12VoltageOutOfRange'',
  ''highArrayVCurrentLimit'',
  ''maxAdcValueReached'',
  ''controllerWasReset'',
  ''alarm21Internal'',
  ''p3VoltageOutOfRange'',
  ''derateLimit'',
  ''arrayCurrentOffset'',
  ''ee-i2cRetryLimit'',
  ''ethernetAlarm'',
  ''lvd'',
  ''software'',
  ''fp12VoltageOutOfRange'',
  ''extflashFault'',
  ''slaveControlFault'',
  ''alarm32Undefined''
];

var flags = parseInt(value.replace(/\\x20/g, ''''), 16),
  result = [];

for (var i = 0, f = 1 << 31 >>> 0, l = FIELDS.length; i < l; i++, f >>>= 1) {
    if (flags & f) {
        result.push(FIELDS[i]);
    }
}

return result.length ? result.join(''\\n'') : ''No alarms'';','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81871','33267','1','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81872','33276','1','21','var v_range = [
      [[0, 18], [12, 15, 11.5, 15.5]],
      [[18, 36], [24, 30, 23, 31]],
      [[36, 99], [48, 60, 46, 62]],
  ],
  result = [];

for (var idx in v_range) {
    if (v_range[idx][0][0] < value && value <= v_range[idx][0][1]) {
        result = [{
            ''{#VOLTAGE.MIN.WARN}'': parseInt({$VOLTAGE.MIN.WARN}) || v_range[idx][1][0],
            ''{#VOLTAGE.MAX.WARN}'': parseInt({$VOLTAGE.MAX.WARN}) || v_range[idx][1][1],
            ''{#VOLTAGE.MIN.CRIT}'': parseInt({$VOLTAGE.MIN.CRIT}) || v_range[idx][1][2],
            ''{#VOLTAGE.MAX.CRIT}'': parseInt({$VOLTAGE.MAX.CRIT}) || v_range[idx][1][3],
            ''{#SINGLETON}'': ''''
        }];
        break;
    }
}

return JSON.stringify(result);','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81873','33278','1','1','0.00244140625','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81874','33278','2','5',E'^(\\d+)(\\.\\d{1,2})?
\\1\\2','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81875','33279','1','1','0.1','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81876','33281','1','1','0.005493164063','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81877','33281','2','5',E'^(\\d+)(\\.\\d{1,2})?
\\1\\2','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81878','33282','1','1','0.01','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81879','33283','1','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81880','33283','2','21',E'var FIELDS = [
  ''overcurrent'',
  ''fetShort'',
  ''softwareFault'',
  ''batteryHvd'',
  ''arrayHvd'',
  ''dipSwitchChange'',
  ''customSettingsEdit'',
  ''rtsShorted'',
  ''rtsDisconnected'',
  ''eepromRetryLimit'',
  ''fault11Undefined'',
  ''slaveControlTimeout'',
];

var flags = parseInt(value.replace(/\\x20/g, ''''), 16),
  result = [];

for (var i = 0, f = 1 << 31 >>> 0, l = FIELDS.length; i < l; i++, f >>>= 1) {
    if (flags & f) {
        result.push(FIELDS[i]);
    }
}

return result.length ? result.join(''\\n'') : ''No faults'';','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81881','33284','1','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81882','33284','2','21',E'var FIELDS = [
  ''rtsOpen'',
  ''rtsShorted'',
  ''rtsDisconnected'',
  ''heatsinkTempSensorOpen'',
  ''heatsinkTempSensorShorted'',
  ''highTemperatureCurrentLimit'',
  ''currentLimit'',
  ''currentOffset'',
  ''batterySense'',
  ''batterySenseDisconnected'',
  ''uncalibrated'',
  ''rtsMiswire'',
  ''highVoltageDisconnect'',
  ''undefined'',
  ''systemMiswire'',
  ''mosfetSOpen'',
  ''p12VoltageReferenceOff'',
  ''highArrayVCurrentLimit'',
  ''maxAdcValueReached'',
  ''controllerWasReset'',
];

var flags = parseInt(value.replace(/\\x20/g, ''''), 16),
  result = [];

for (var i = 0, f = 1 << 31 >>> 0, l = FIELDS.length; i < l; i++, f >>>= 1) {
    if (flags & f) {
        result.push(FIELDS[i]);
    }
}

return result.length ? result.join(''\\n'') : ''No alarms'';','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81883','33286','1','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81884','33287','1','1','0.1098632813','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81885','33287','2','5',E'^(\\d+)(\\.\\d{1,2})?
\\1\\2','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81886','33288','1','1','0.1098632813','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81887','33288','2','5',E'^(\\d+)(\\.\\d{1,2})?
\\1\\2','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81888','33289','1','1','0.00244140625','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81889','33289','2','5',E'^(\\d+)(\\.\\d{1,2})?
\\1\\2','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81890','33290','1','1','0.005493164063','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81891','33291','1','1','0.005493164063','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81892','33291','2','5',E'^(\\d+)(\\.\\d{1,2})?
\\1\\2','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81893','33292','1','1','0.005493164063','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81894','33292','2','5',E'^(\\d+)(\\.\\d{1,2})?
\\1\\2','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81895','33293','1','1','0.005493164063','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81896','33293','2','5',E'^(\\d+)(\\.\\d{1,2})?
\\1\\2','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81897','33295','1','21','var v_range = [
      [[0, 18], [12, 15, 11.5, 15.5]],
      [[18, 36], [24, 30, 23, 31]],
      [[36, 99], [48, 60, 46, 62]],
  ],
  result = [];

for (var idx in v_range) {
    if (v_range[idx][0][0] < value && value <= v_range[idx][0][1]) {
        result = [{
            ''{#VOLTAGE.MIN.WARN}'': parseInt({$VOLTAGE.MIN.WARN}) || v_range[idx][1][0],
            ''{#VOLTAGE.MAX.WARN}'': parseInt({$VOLTAGE.MAX.WARN}) || v_range[idx][1][1],
            ''{#VOLTAGE.MIN.CRIT}'': parseInt({$VOLTAGE.MIN.CRIT}) || v_range[idx][1][2],
            ''{#VOLTAGE.MAX.CRIT}'': parseInt({$VOLTAGE.MAX.CRIT}) || v_range[idx][1][3],
            ''{#SINGLETON}'': ''''
        }];
        break;
    }
}

return JSON.stringify(result);','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81898','33296','1','1','0.005493164063','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81899','33296','2','5',E'^(\\d+)(\\.\\d{1,2})?
\\1\\2','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81900','33297','1','1','0.002950042725','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81901','33299','1','1','0.1','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81902','33300','1','1','0.001','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81903','33300','2','5',E'^(\\d+)(\\.\\d{1,2})?
\\1\\2','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81904','33301','1','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81905','33301','2','21',E'var FIELDS = [
  ''rtsOpen'',
  ''rtsShorted'',
  ''rtsDisconnected'',
  ''heatsinkTempSensorOpen'',
  ''heatsinkTempSensorShorted'',
  ''tristarHot'',
  ''currentLimit'',
  ''currentOffset'',
  ''batterySense'',
  ''batterySenseDisconnected'',
  ''uncalibrated'',
  ''rtsMiswire'',
  ''highVoltageDisconnect'',
  ''diversionLoadNearMax'',
  ''systemMiswire'',
  ''mosfetSOpen'',
  ''p12VoltageReferenceOff'',
  ''loadDisconnectState'',
];

var flags = parseInt(value.replace(/\\x20/g, ''''), 16),
  result = [];

for (var i = 0, f = 1 << 31 >>> 0, l = FIELDS.length; i < l; i++, f >>>= 1) {
    if (flags & f) {
        result.push(FIELDS[i]);
    }
}

return result.length ? result.join(''\\n'') : ''No alarms'';','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81906','33302','1','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81907','33302','2','21',E'var FIELDS = [
  ''externalShort'',
  ''overcurrent'',
  ''mosfetSShorted'',
  ''softwareFault'',
  ''highVoltageDisconnect'',
  ''tristarHot'',
  ''dipSwitchChange'',
  ''customSettingsEdit'',
  ''reset'',
  ''systemMiswire'',
  ''rtsShorted'',
  ''rtsDisconnected'',
];

var flags = parseInt(value.replace(/\\x20/g, ''''), 16),
  result = [];

for (var i = 0, f = 1 << 31 >>> 0, l = FIELDS.length; i < l; i++, f >>>= 1) {
    if (flags & f) {
        result.push(FIELDS[i]);
    }
}

return result.length ? result.join(''\\n'') : ''No faults'';','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81908','33303','1','1','0.01','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81909','33306','1','21','var v_range = [
      [[0, 18], [12, 15, 11.5, 15.5]],
      [[18, 36], [24, 30, 23, 31]],
      [[36, 99], [48, 60, 46, 62]],
  ],
  result = [];

for (var idx in v_range) {
    if (v_range[idx][0][0] < value && value <= v_range[idx][0][1]) {
        result = [{
            ''{#VOLTAGE.MIN.WARN}'': parseInt({$VOLTAGE.MIN.WARN}) || v_range[idx][1][0],
            ''{#VOLTAGE.MAX.WARN}'': parseInt({$VOLTAGE.MAX.WARN}) || v_range[idx][1][1],
            ''{#VOLTAGE.MIN.CRIT}'': parseInt({$VOLTAGE.MIN.CRIT}) || v_range[idx][1][2],
            ''{#VOLTAGE.MAX.CRIT}'': parseInt({$VOLTAGE.MAX.CRIT}) || v_range[idx][1][3],
            ''{#SINGLETON}'': ''''
        }];
        break;
    }
}

return JSON.stringify(result);','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81910','33307','1','21','return JSON.stringify(parseInt(value) === 0 ? [{''{#SINGLETON}'': ''''}] : []);','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81911','33308','1','21','var mode = parseInt(value);
return JSON.stringify((mode === 0 || mode === 2) ? [{''{#SINGLETON}'': ''''}] : []);','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81912','33309','1','21','return JSON.stringify(parseInt(value) === 2 ? [{''{#SINGLETON}'': ''''}] : []);','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81913','33310','1','21','return JSON.stringify(parseInt(value) === 1 ? [{''{#SINGLETON}'': ''''}] : []);','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81914','33311','1','21','var mode = parseInt(value);
return JSON.stringify((mode === 1 || mode === 2) ? [{''{#SINGLETON}'': ''''}] : []);','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81915','33312','1','1','0.002950042725','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81916','33312','2','5',E'^(\\d+)(\\.\\d{1,2})?
\\1\\2','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81917','33313','1','1','0.004246520996','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81918','33313','2','5',E'^(\\d+)(\\.\\d{1,2})?
\\1\\2','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81919','33314','1','1','0.002034515381','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81920','33314','2','5',E'^(\\d+)(\\.\\d{1,2})?
\\1\\2','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81921','33315','1','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81922','33316','1','1','0.002950042725','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81923','33316','2','5',E'^(\\d+)(\\.\\d{1,2})?
\\1\\2','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81924','33317','1','1','0.3921568627','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81925','33317','2','5',E'^(\\d+)(\\.\\d{1,2})?
\\1\\2','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81926','33318','1','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81927','33319','1','1','0.009664001465','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81928','33319','2','5',E'^(\\d+)(\\.\\d{1,2})?
\\1\\2','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81929','33320','1','1','0.004246520996','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81930','33320','2','5',E'^(\\d+)(\\.\\d{1,2})?
\\1\\2','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81931','31453','3','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81932','31454','2','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81933','31455','2','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81934','31456','3','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81935','31457','2','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81936','31458','2','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81937','32040','3','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81938','32041','2','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81939','32042','2','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81940','32043','3','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81941','32044','2','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81942','32045','2','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81943','33341','1','20','12h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81944','33342','1','20','12h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81945','33343','1','20','12h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81946','33344','1','20','12h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81947','33345','1','20','12h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81948','33346','1','1','0.01','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81949','33348','1','20','10m','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81950','33349','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81951','33350','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81952','33351','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81953','33356','1','21','var data = JSON.parse(value);
var descriptions = {};
var out = [];

data.forEach(function(elem) {
    if (elem["{#IFDESCR}"]) {
        var parts = elem["{#IFDESCR}"].split(":");
        var port = parts[parts.length-1].split('' '');
        descriptions[parts[0] + '':'' + port[port.length-1]] = {
            "{#IFDESCR}": elem["{#IFDESCR}"],
            "{#SNMPINDEX}": elem["{#SNMPINDEX}"]
        }
    }
});

data.forEach(function(elem) {
    if (elem["{#IFNAME}"]) {
        var port = descriptions[elem["{#NODE}"] + '':'' + elem["{#IFNAME}"]];

        elem["{#IFDESCR}"] = port["{#IFDESCR}"];
        elem["{#IFSNMPINDEX}"] = port["{#SNMPINDEX}"];


        switch(elem["{#TYPE}"]) {
            case ''0'':
                elem["{#TYPE}"] = ''physical'';
                break;
            case ''1'':
                elem["{#TYPE}"] = ''if-group'';
                break;
            case ''2'':
                elem["{#TYPE}"] = ''vlan'';
                break;
            case ''3'':
                elem["{#TYPE}"] = ''undef'';
                break;
        };
    
        out.push(elem);
    }
});

return JSON.stringify(out);','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81954','33357','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81955','33358','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81956','33359','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81957','33360','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81958','33361','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81959','33362','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81960','33363','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81961','33364','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81962','33365','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81963','33366','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81964','33367','1','1','0.01','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81965','33369','1','1','1024','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81966','33370','1','1','1024','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81967','33371','1','1','1024','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81968','33375','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81969','33376','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81970','33377','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81971','33378','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81972','33379','1','1','8','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81973','33379','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81974','33380','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81975','33381','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81976','33382','1','1','8','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81977','33382','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81978','33383','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81979','33384','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81980','33385','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81981','33386','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81982','33387','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81983','33388','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81984','33389','1','12','$.pjsip.available','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81985','33390','1','12','$.iax.online','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81986','33391','0','26','','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81987','33392','0','26','','2','0');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81988','33392','1','5','{$JENKINS.PING.REPLY}$
1','2','0');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81989','33392','2','20','30m','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81990','33393','0','26','','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81991','33394','0','26','','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81992','33395','0','26','','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81993','33396','1','12','$.timers.[''jenkins.job.waiting.duration''].m1_rate','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81994','33397','1','12','$.gauges.[''jenkins.node.online.value''].value','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81995','33397','2','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81996','33398','1','12','$.gauges.[''jenkins.node.offline.value''].value','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81997','33398','2','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81998','33399','1','12','$.gauges.[''jenkins.node.count.value''].value','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('81999','33399','2','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82000','33400','1','12','$.timers.[''jenkins.job.waiting.duration''].m5_rate','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82001','33401','1','12','$.timers.[''jenkins.job.waiting.duration''].p50','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82002','33402','1','12','$.timers.[''jenkins.job.waiting.duration''].p95','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82003','33403','1','12','$.gauges.[''jenkins.plugins.active''].value','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82004','33403','2','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82005','33404','1','12','$.timers.[''jenkins.job.total.duration''].m5_rate','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82006','33405','1','12','$.timers.[''jenkins.job.total.duration''].m1_rate','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82007','33406','1','12','$.timers.[''jenkins.job.total.duration''].p95','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82008','33407','1','12','$.timers.[''jenkins.job.total.duration''].p50','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82009','33408','1','12','$.meters.[''jenkins.job.scheduled''].m5_rate','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82010','33409','1','12','$.plugins.healthy','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82011','33409','2','6','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82012','33409','3','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82013','33410','1','12','$.gauges.[''jenkins.plugins.inactive''].value','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82014','33410','2','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82015','33411','1','12','$.gauges.[''jenkins.plugins.failed''].value','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82016','33411','2','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82017','33412','1','12','$.gauges.[''jenkins.queue.stuck.value''].value','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82018','33413','1','12','$[''thread-deadlock''].message','2','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82019','33413','2','20','3h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82020','33414','1','12','$[''thread-deadlock''].healthy','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82021','33414','2','6','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82022','33414','3','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82023','33415','1','12','$[''temporary-space''].message','2','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82024','33415','2','20','3h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82025','33416','1','12','$[''temporary-space''].healthy','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82026','33416','2','6','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82027','33416','3','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82028','33417','1','12','$.gauges.[''vm.uptime.milliseconds''].value','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82029','33417','2','1','0.001','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82030','33418','1','12','$.gauges.[''system.cpu.load''].value','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82031','33419','1','12','$.gauges.[''jenkins.queue.size.value''].value','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82032','33420','1','12','$.timers.[''jenkins.job.queuing.duration''].m5_rate','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82033','33421','1','12','$.gauges.[''jenkins.queue.pending.value''].value','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82034','33422','1','12','$.gauges.[''jenkins.queue.buildable.value''].value','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82035','33423','1','12','$.gauges.[''jenkins.queue.blocked.value''].value','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82036','33424','1','12','$.gauges.[''jenkins.project.count.value''].value','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82037','33424','2','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82038','33425','1','12','$.gauges.[''jenkins.plugins.withUpdate''].value','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82039','33425','2','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82040','33426','1','12','$[''plugins''].message','2','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82041','33426','2','20','3h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82042','33427','1','12','$.meters.[''jenkins.job.scheduled''].m1_rate','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82043','33428','1','12','$.timers.[''jenkins.job.queuing.duration''].p95','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82044','33429','1','12','$.timers.[''jenkins.job.queuing.duration''].m1_rate','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82045','33430','1','12','$.meters.[''http.responseCodes.created''].count','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82046','33430','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82047','33431','1','12','$.meters.[''http.responseCodes.other''].count','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82048','33431','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82049','33432','1','12','$.meters.[''http.responseCodes.ok''].count','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82050','33432','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82051','33433','1','12','$.meters.[''http.responseCodes.noContent''].count','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82052','33433','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82053','33434','1','12','$.meters.[''http.responseCodes.notModified''].count','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82054','33434','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82055','33435','1','12','$.meters.[''http.responseCodes.notFound''].count','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82056','33435','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82057','33436','1','12','$.meters.[''http.responseCodes.forbidden''].count','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82058','33436','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82059','33437','1','12','$.meters.[''http.responseCodes.badRequest''].count','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82060','33437','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82061','33438','1','12','$.timers.[''http.requests''].p50','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82062','33439','1','12','$.counters.[''http.activeRequests''].count','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82063','33439','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82064','33440','1','12','$.gauges.[''jenkins.executor.in-use.value''].value','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82065','33441','1','12','$.gauges.[''jenkins.executor.free.value''].value','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82066','33442','1','12','$.gauges.[''jenkins.executor.count.value''].value','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82067','33442','2','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82068','33443','1','12','$[''disk-space''].message','2','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82069','33443','2','20','3h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82070','33444','1','12','$[''disk-space''].healthy','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82071','33444','2','6','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82072','33444','3','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82073','33445','1','12','$.timers.[''http.requests''].count','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82074','33445','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82075','33446','1','12','$.timers.[''http.requests''].p95','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82076','33447','1','12','$.gauges.[''vm.file.descriptor.ratio''].value','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82077','33447','2','1','100','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82078','33448','1','12','$.timers.[''jenkins.job.buildable.duration''].m5_rate','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82079','33449','1','12','$.timers.[''jenkins.job.queuing.duration''].p50','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82080','33450','1','12','$.gauges.[''jenkins.job.count.value''].value','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82081','33450','2','20','3h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82082','33451','1','12','$.timers.[''jenkins.job.building.duration''].m5_rate','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82083','33452','1','12','$.timers.[''jenkins.job.building.duration''].m1_rate','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82084','33453','1','12','$.timers.[''jenkins.job.building.duration''].p95','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82085','33454','1','12','$.timers.[''jenkins.job.building.duration''].p50','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82086','33455','1','12','$.timers.[''jenkins.job.buildable.duration''].m1_rate','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82087','33456','1','12','$.meters.[''http.responseCodes.serverError''].count','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82088','33456','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82089','33457','1','12','$.timers.[''jenkins.job.buildable.duration''].p95','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82090','33458','1','12','$.timers.[''jenkins.job.buildable.duration''].p50','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82091','33459','1','12','$.timers.[''jenkins.job.blocked.duration''].m5_rate','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82092','33460','1','12','$.timers.[''jenkins.job.blocked.duration''].m1_rate','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82093','33461','1','12','$.timers.[''jenkins.job.blocked.duration''].p95','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82094','33462','1','12','$.timers.[''jenkins.job.blocked.duration''].p50','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82095','33463','1','12','$.meters.[''http.responseCodes.serviceUnavailable''].count','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82096','33463','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82097','33464','1','12','$.gauges.[''jenkins.versions.core''].value','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82098','33464','2','20','3h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82099','33465','1','12','$.computer.[*]','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82100','33466','1','12','$.jobs.[*]','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82101','33467','1','12','$.computer.[?(@.displayName == "{#DISPLAY_NAME}")].monitorData[''hudson.node_monitors.SwapSpaceMonitor''].availablePhysicalMemory.first()','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82102','33468','1','12','$.computer.[?(@.displayName == "{#DISPLAY_NAME}")].monitorData[''hudson.node_monitors.SwapSpaceMonitor''].availableSwapSpace.first()','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82103','33469','1','12','$.computer.[?(@.displayName == "{#DISPLAY_NAME}")].monitorData[''hudson.node_monitors.ClockMonitor''].diff.first()','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82104','33469','2','1','0.001','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82105','33470','1','12','$.computer.[?(@.displayName == "{#DISPLAY_NAME}")].monitorData[''hudson.node_monitors.DiskSpaceMonitor''].size.first()','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82106','33471','1','12','$.computer.[?(@.displayName == "{#DISPLAY_NAME}")].idle.first()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82107','33471','2','6','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82108','33471','3','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82109','33472','1','12','$.computer.[?(@.displayName == "{#DISPLAY_NAME}")].numExecutors.first()','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82110','33473','1','12','$.computer.[?(@.displayName == "{#DISPLAY_NAME}")].offlineCauseReason.first()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82111','33473','2','20','3h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82112','33474','1','12','$.computer.[?(@.displayName == "{#DISPLAY_NAME}")].monitorData[''hudson.node_monitors.ResponseTimeMonitor''].average.first()','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82113','33474','2','1','0.001','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82114','33475','1','12','$.computer.[?(@.displayName == "{#DISPLAY_NAME}")].offline.first()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82115','33475','2','6','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82116','33475','3','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82117','33476','1','12','$.computer.[?(@.displayName == "{#DISPLAY_NAME}")].temporarilyOffline.first()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82118','33476','2','6','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82119','33476','3','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82120','33477','1','12','$.computer.[?(@.displayName == "{#DISPLAY_NAME}")].monitorData[''hudson.node_monitors.TemporarySpaceMonitor''].size.first()','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82121','33478','1','12','$.computer.[?(@.displayName == "{#DISPLAY_NAME}")].monitorData[''hudson.node_monitors.SwapSpaceMonitor''].totalPhysicalMemory.first()','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82122','33479','1','12','$.computer.[?(@.displayName == "{#DISPLAY_NAME}")].monitorData[''hudson.node_monitors.SwapSpaceMonitor''].totalSwapSpace.first()','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82123','33480','1','12','$.jobs.[?(@.name == "{#NAME}")].healthReport..score.first()','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82124','33480','2','20','30m','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82125','33481','1','12','$.jobs.[?(@.name == "{#NAME}")].lastBuild.duration.first()','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82126','33481','2','1','0.001','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82127','33481','3','20','30m','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82128','33482','1','12','$.jobs.[?(@.name == "{#NAME}")].lastBuild.number.first()','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82129','33482','2','20','30m','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82130','33483','1','12','$.jobs.[?(@.name == "{#NAME}")].lastBuild.result.first()','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82131','33483','2','20','30m','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82132','33484','1','12','$.jobs.[?(@.name == "{#NAME}")].lastBuild.timestamp.first()','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82133','33484','2','1','0.001','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82134','33484','3','20','30m','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82135','33485','1','12','$.jobs.[?(@.name == "{#NAME}")].lastFailedBuild.duration.first()','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82136','33485','2','1','0.001','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82137','33485','3','20','30m','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82138','33486','1','12','$.jobs.[?(@.name == "{#NAME}")].lastFailedBuild.number.first()','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82139','33486','2','20','30m','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82140','33487','1','12','$.jobs.[?(@.name == "{#NAME}")].lastFailedBuild.timestamp.first()','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82141','33487','2','1','0.001','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82142','33487','3','20','30m','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82143','33488','1','12','$.jobs.[?(@.name == "{#NAME}")].lastSuccessfulBuild.duration.first()','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82144','33488','2','1','0.001','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82145','33488','3','20','30m','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82146','33489','1','12','$.jobs.[?(@.name == "{#NAME}")].lastSuccessfulBuild.number.first()','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82147','33489','2','20','30m','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82148','33490','1','12','$.jobs.[?(@.name == "{#NAME}")].lastSuccessfulBuild.timestamp.first()','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82149','33490','2','1','0.001','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82150','33490','3','20','30m','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82151','33491','0','26','','2','{"html":{"head":{"title":"Connection error"}}}');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82152','33491','1','27','','2','{"html":{"head":{"title":"Connection error"}}}');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82153','33492','0','26','','2','{"html":{"head":{"title":"Connection error"}}}');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82154','33492','1','27','','2','{"html":{"head":{"title":"Connection error"}}}');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82155','33493','0','26','','2','{"html":{"head":{"title":"Connection error"}}}');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82156','33493','1','27','','2','{"html":{"head":{"title":"Connection error"}}}');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82157','33494','1','12','$.DeviceInfo.bootReleasedDate','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82158','33494','2','20','24h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82159','33495','1','12','$.DeviceInfo.telecontrolID','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82160','33495','2','20','24h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82161','33496','1','12','$.DeviceInfo.systemContact','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82162','33496','2','20','24h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82163','33497','1','12','$.DeviceInfo.supportVideoLoss','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82164','33497','2','20','24h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82165','33498','1','12','$.DeviceInfo.supportBeep','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82166','33498','2','20','24h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82167','33499','1','12','$.DeviceInfo.serialNumber','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82168','33499','2','20','24h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82169','33500','1','12','$.DeviceInfo.model','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82170','33500','2','20','24h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82171','33501','1','12','$.DeviceStatus.MemoryList.Memory.memoryUsage','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82172','33501','2','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82173','33502','1','12','$.DeviceInfo.macAddress','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82174','33502','2','20','24h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82175','33503','1','12','$.DeviceInfo.hardwareVersion','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82176','33503','2','20','24h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82177','33504','1','21','var data = JSON.parse(value);

if ("html" in data){
    if (data.html.head.title === "Document Error: Unauthorized")
       {return 1}
    else if (data.html.head.title === "Connection error")
       {return 2}
}
return 0;','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82178','33504','2','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82179','33505','1','21','var data = JSON.parse(value);

if ("html" in data){
    if (data.html.head.title === "Document Error: Unauthorized")
       {return 1}
    else if (data.html.head.title === "Connection error")
       {return 2}
}
return 0;','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82180','33505','2','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82181','33506','1','21','var data = JSON.parse(value);

if ("html" in data){
    if (data.html.head.title === "Document Error: Unauthorized")
       {return 1}
    else if (data.html.head.title === "Connection error")
       {return 2}
}
return 0;','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82182','33506','2','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82183','33507','1','12','$.DeviceInfo.bootVersion','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82184','33507','2','20','24h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82185','33508','1','12','$.DeviceInfo.firmwareVersion','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82186','33508','2','20','24h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82187','33509','1','12','$.DeviceInfo.firmwareReleasedDate','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82188','33509','2','20','24h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82189','33510','1','12','$.DeviceInfo.encoderVersion','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82190','33510','2','20','24h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82191','33511','1','12','$.DeviceInfo.encoderReleasedDate','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82192','33511','2','20','24h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82193','33512','1','12','$.DeviceInfo.deviceType','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82194','33512','2','20','24h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82195','33513','1','12','$.DeviceInfo.deviceName','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82196','33513','2','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82197','33514','1','12','$.DeviceInfo.deviceLocation','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82198','33514','2','20','24h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82199','33515','1','12','$.DeviceInfo.deviceID','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82200','33515','2','20','24h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82201','33516','1','12','$.DeviceInfo.deviceDescription','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82202','33516','2','20','24h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82203','33517','1','12','$.DeviceStatus.currentDeviceTime','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82204','33518','1','12','$.DeviceStatus.CPUList.CPU.cpuUtilization','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82205','33518','2','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82206','33519','1','12','$.DeviceStatus.deviceUpTime','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82207','33520','1','27','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82208','33520','2','21','var data = JSON.parse(value);
var out = [];

if ("PTZChannel" in data.PTZChannelList) {
    out.push({
        "{#PTZ_CHANNEL_ID}": data.PTZChannelList.PTZChannel.id
    })
}

return JSON.stringify(out);','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82209','33521','1','27','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82210','33521','2','21','var data = JSON.parse(value);
var out = [];

data.StreamingChannelList.StreamingChannel.forEach(function (field) {
    out.push({
        "{#CHANNEL_ID}": field.id,
        "{#CHANNEL_NAME}": field.channelName,
        "{#CHANNEL_ENABLED}": field.enabled
    });
})

return JSON.stringify(out);','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82211','33522','0','26','','2','{"html":{"head":{"title":"Connection error"}}}');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82212','33522','1','27','','2','{"html":{"head":{"title":"Connection error"}}}');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82213','33523','1','21','var data = JSON.parse(value);

if ("html" in data){
    if (data.html.head.title === "Document Error: Unauthorized")
       {return 1}
    else if (data.html.head.title === "Connection error")
       {return 2}
}
return 0;','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82214','33523','2','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82215','33524','1','12','$.PTZStatus.AbsoluteHigh.absoluteZoom','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82216','33524','2','1','0.1','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82217','33524','3','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82218','33525','1','12','$.PTZStatus.AbsoluteHigh.azimuth','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82219','33525','2','1','0.1','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82220','33525','3','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82221','33526','1','12','$.PTZStatus.AbsoluteHigh.elevation','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82222','33526','2','1','0.1','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82223','33526','3','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82224','33527','1','12','$.StreamingChannelList.StreamingChannel[?(@.id=={#CHANNEL_ID})].Video.constantBitRate','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82225','33527','2','12','$.[0]','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82226','33527','3','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82227','33528','1','12','$.StreamingChannelList.StreamingChannel[?(@.id=={#CHANNEL_ID})].Video.fixedQuality','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82228','33528','2','12','$[0]','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82229','33528','3','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82230','33529','1','12','$.StreamingChannelList.StreamingChannel[?(@.id=={#CHANNEL_ID})].Video.GovLength','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82231','33529','2','12','$[0]','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82232','33529','3','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82233','33530','1','12','$.StreamingChannelList.StreamingChannel[?(@.id=={#CHANNEL_ID})].Video.H264Profile','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82234','33530','2','12','$[0]','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82235','33530','3','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82236','33531','1','12','$.StreamingChannelList.StreamingChannel[?(@.id=={#CHANNEL_ID})].Video.keyFrameInterval','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82237','33531','2','12','$[0]','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82238','33531','3','1','0.01','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82239','33531','4','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82240','33532','1','12','$.StreamingChannelList.StreamingChannel[?(@.id=={#CHANNEL_ID})].Video.maxFrameRate','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82241','33532','2','12','$[0]','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82242','33532','3','1','0.01','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82243','33532','4','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82244','33533','1','12','$.StreamingChannelList.StreamingChannel[?(@.id=={#CHANNEL_ID})].Video.smoothing','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82245','33533','2','12','$[0]','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82246','33533','3','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82247','33534','1','12','$.StreamingChannelList.StreamingChannel[?(@.id=={#CHANNEL_ID})].Video.snapShotImageType','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82248','33534','2','12','$[0]','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82249','33534','3','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82250','33535','1','12','$.StreamingChannelList.StreamingChannel[?(@.id=={#CHANNEL_ID})].Video.vbrLowerCap','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82251','33535','2','12','$[0]','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82252','33535','3','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82253','33536','1','12','$.StreamingChannelList.StreamingChannel[?(@.id=={#CHANNEL_ID})].Video.vbrUpperCap','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82254','33536','2','12','$[0]','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82255','33537','1','12','$.StreamingChannelList.StreamingChannel[?(@.id=={#CHANNEL_ID})].Video.videoCodecType','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82256','33537','2','12','$[0]','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82257','33537','3','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82258','33538','1','12','$.StreamingChannelList.StreamingChannel[?(@.id=={#CHANNEL_ID})].Video.videoQualityControlType','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82259','33538','2','12','$[0]','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82260','33538','3','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82261','33539','1','12','$.StreamingChannelList.StreamingChannel[?(@.id=={#CHANNEL_ID})].Video.videoResolutionHeight','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82262','33539','2','12','$[0]','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82263','33539','3','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82264','33540','1','12','$.StreamingChannelList.StreamingChannel[?(@.id=={#CHANNEL_ID})].Video.videoResolutionWidth','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82265','33540','2','12','$[0]','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82266','33540','3','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82267','33541','1','12','$.StreamingChannelList.StreamingChannel[?(@.id=={#CHANNEL_ID})].Video.videoScanType','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82268','33541','2','12','$[0]','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82269','33541','3','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82270','33542','1','21','var data = JSON.parse(value);
for (var item, i = 0; item = data.data[i++];) {
if (!(''{#JMXIGNITEINSTANCENAME}'' in item)) {
Object.assign(item, {
''{#JMXIGNITEINSTANCENAME}'': ''null''
});
}

}

return JSON.stringify(data)','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82271','33542','2','20','3h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82272','33543','1','21','var data = JSON.parse(value);
for (var item, i = 0; item = data.data[i++];) {
if (!(''{#JMXIGNITEINSTANCENAME}'' in item)) {
Object.assign(item, {
''{#JMXIGNITEINSTANCENAME}'': ''null''
});
}

}

return JSON.stringify(data)','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82273','33544','1','21','var data = JSON.parse(value);
for (var item, i = 0; item = data.data[i++];) {
if (!(''{#JMXIGNITEINSTANCENAME}'' in item)) {
Object.assign(item, {
''{#JMXIGNITEINSTANCENAME}'': ''null''
});
}

}

return JSON.stringify(data)','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82274','33545','1','21','var data = JSON.parse(value);
for (var item, i = 0; item = data.data[i++];) {
if (!(''{#JMXIGNITEINSTANCENAME}'' in item)) {
Object.assign(item, {
''{#JMXIGNITEINSTANCENAME}'': ''null''
});
}

}

return JSON.stringify(data)','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82275','33546','1','21','var data = JSON.parse(value);
for (var item, i = 0; item = data.data[i++];) {
if (!(''{#JMXIGNITEINSTANCENAME}'' in item)) {
Object.assign(item, {
''{#JMXIGNITEINSTANCENAME}'': ''null''
});
}

}

return JSON.stringify(data)','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82276','33547','1','21','var data = JSON.parse(value);
for (var item, i = 0; item = data.data[i++];) {
if (!(''{#JMXIGNITEINSTANCENAME}'' in item)) {
Object.assign(item, {
''{#JMXIGNITEINSTANCENAME}'': ''null''
});
}

}

return JSON.stringify(data)','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82277','33548','1','21','var data = JSON.parse(value);
for (var item, i = 0; item = data.data[i++];) {
if (!(''{#JMXIGNITEINSTANCENAME}'' in item)) {
Object.assign(item, {
''{#JMXIGNITEINSTANCENAME}'': ''null''
});
}

}

return JSON.stringify(data)','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82278','33549','1','21','var data = JSON.parse(value);
for (var item, i = 0; item = data.data[i++];) {
if (!(''{#JMXIGNITEINSTANCENAME}'' in item)) {
Object.assign(item, {
''{#JMXIGNITEINSTANCENAME}'': ''null''
});
}

}

return JSON.stringify(data)','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82279','33549','2','20','3h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82280','33550','1','21','var data = JSON.parse(value);
for (var item, i = 0; item = data.data[i++];) {
if (!(''{#JMXIGNITEINSTANCENAME}'' in item)) {
Object.assign(item, {
''{#JMXIGNITEINSTANCENAME}'': ''null''
});
}

}

return JSON.stringify(data)','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82281','33550','2','20','3h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82282','33551','1','21','var data = JSON.parse(value);
for (var item, i = 0; item = data.data[i++];) {
if (!(''{#JMXIGNITEINSTANCENAME}'' in item)) {
Object.assign(item, {
''{#JMXIGNITEINSTANCENAME}'': ''null''
});
}

}

return JSON.stringify(data)','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82283','33551','2','20','3h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82284','33570','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82285','33571','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82286','33572','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82287','33573','1','20','3h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82288','33574','1','20','3h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82289','33575','1','20','3h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82290','33576','1','20','3h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82291','33577','1','20','3h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82292','33578','1','5',E'(.*)-\\d+
\\1','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82293','33578','2','20','3h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82294','33579','1','20','3h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('82295','33580','1','1','0.001','0','');
