INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83092','34340','1','12','$.start_timestamp','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83093','34340','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 ('83094','34341','1','12','$.version','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83095','34341','2','20','3h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83096','34342','1','12','$[?(@.name=="pd_cluster_status")]','2','[]');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83097','34342','2','21','return JSON.stringify(value != "[]" ? [{''{#SINGLETON}'': ''''}] : []);','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83098','34342','3','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83099','34343','1','12','$[?(@.name == "grpc_server_handling_seconds_count")]','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83100','34343','2','21','var lookup = {},
    result = [];

JSON.parse(value).forEach(function (item) {
    var grpc_method = item.labels.grpc_method;
    if (!(lookup[grpc_method])) {
        lookup[grpc_method] = 1;
        result.push({ "{#GRPC_METHOD}": grpc_method });
    }
})

return JSON.stringify(result);','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83101','34343','3','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83102','34344','1','12','$[?(@.name == "pd_scheduler_region_heartbeat")]','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83103','34344','2','21','var lookup = {},
    result = [];

JSON.parse(value).forEach(function (item) {
    var address = item.labels.address;
    if (!(lookup[address])) {
        lookup[address] = 1;
        result.push({ "{#STORE_ADDRESS}": address });
    }
})

return JSON.stringify(result);','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83104','34344','3','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83105','34345','1','12','$[?(@.name == "pd_regions_label_level")]','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83106','34345','2','21','output = JSON.parse(value).map(function(item){
     return {
         "{#TYPE}": item.labels.type,
     }})
 return JSON.stringify({"data": output})','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83107','34345','3','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83108','34346','1','12','$[?(@.name == "pd_regions_status")]','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83109','34346','2','21','output = JSON.parse(value).map(function(item){
     return {
         "{#TYPE}": item.labels.type,
     }})
 return JSON.stringify({"data": output})','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83110','34346','3','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83111','34347','1','12','$[?(@.name == "pd_scheduler_status" && @.labels.type == "allow")]','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83112','34347','2','21','output = JSON.parse(value).map(function(item){
     return {
         "{#KIND}": item.labels.kind,
     }})
 return JSON.stringify({"data": output})','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83113','34347','3','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83114','34348','1','12','$[?(@.name == "pd_cluster_status" && @.labels.type == "leader_count")].value.first()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83115','34349','1','12','$[?(@.name == "pd_cluster_status" && @.labels.type == "region_count")].value.first()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83116','34350','1','12','$[?(@.name == "pd_cluster_status" && @.labels.type == "storage_capacity")].value.first()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83117','34350','2','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83118','34351','1','12','$[?(@.name == "pd_cluster_status" && @.labels.type == "storage_size")].value.first()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83119','34352','1','12','$[?(@.name == "pd_cluster_status" && @.labels.type == "store_disconnected_count")].value.first()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83120','34352','2','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83121','34353','1','12','$[?(@.name == "pd_cluster_status" && @.labels.type == "store_down_count")].value.first()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83122','34353','2','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83123','34354','1','12','$[?(@.name == "pd_cluster_status" && @.labels.type == "store_low_space_count")].value.first()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83124','34354','2','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83125','34355','1','12','$[?(@.name == "pd_cluster_status" && @.labels.type == "store_offline_count")].value.first()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83126','34355','2','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83127','34356','1','12','$[?(@.name == "pd_cluster_status" && @.labels.type == "store_tombstone_count")].value.first()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83128','34356','2','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83129','34357','1','12','$[?(@.name == "pd_cluster_status" && @.labels.type == "store_unhealth_count")].value.first()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83130','34357','2','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83131','34358','1','12','$[?(@.name == "pd_cluster_status" && @.labels.type == "store_up_count")].value.first()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83132','34358','2','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83133','34359','1','12','$[?(@.name == "grpc_server_handling_seconds_count" && @.labels.grpc_method == "{#GRPC_METHOD}")].value.first()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83134','34359','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83135','34360','1','12','$[?(@.name == "pd_scheduler_region_heartbeat" && @.labels.status == "err" && @.labels.type == "report" && @.labels.address == "{#STORE_ADDRESS}")].value.sum()','2','0');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83136','34360','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83137','34361','1','12','$[?(@.name == "pd_scheduler_region_heartbeat" && @.labels.status == "ok" && @.labels.type == "report" && @.labels.address == "{#STORE_ADDRESS}")].value.sum()','2','0');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83138','34361','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83139','34362','1','12','$[?(@.name == "pd_scheduler_region_heartbeat" && @.labels.type == "push" && @.labels.address == "{#STORE_ADDRESS}")].value.sum()','2','0');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83140','34362','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83141','34363','1','12','$[?(@.name == "pd_scheduler_region_heartbeat" && @.labels.type == "report" && @.labels.address == "{#STORE_ADDRESS}")].value.sum()','2','0');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83142','34363','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83143','34364','1','12','$[?(@.name == "pd_regions_label_level" && @.labels.type == "{#TYPE}")].value.first()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83144','34365','1','12','$[?(@.name == "pd_regions_status" && @.labels.type == "{#TYPE}")].value.first()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83145','34366','1','12','$[?(@.name == "pd_regions_status" && @.labels.type == "allow" && @.labels.kind == "{#KIND}")].value.first()','2','0');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83146','34367','0','26','','2','{"status": "0"}');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83147','34368','0','26','','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83148','34368','1','23','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83149','34369','1','12','$[?(@.name=="process_cpu_seconds_total")].value.first()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83150','34369','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83151','34369','3','1','100','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83152','34370','1','12','$[?(@.name == "tidb_server_query_total")].value.sum()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83153','34370','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83154','34371','1','12','$[?(@.name=="process_start_time_seconds")].value.first()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83155','34371','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 ('83156','34372','1','12','$[?(@.name=="tidb_tikvclient_txn_cmd_duration_seconds_count")].value.sum()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83157','34372','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83158','34373','1','12','$[?(@.name=="tidb_tikvclient_region_err_total")].value.sum()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83159','34373','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83160','34374','1','12','$[?(@.name=="tidb_tikvclient_lock_resolver_actions_total")].value.sum()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83161','34374','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83162','34375','1','12','$[?(@.name=="tidb_tikvclient_backoff_total")].value.sum()','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83163','34375','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83164','34376','1','12','$[?(@.name=="tidb_server_panic_total")].value.first()','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83165','34376','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83166','34377','1','12','$[?(@.name=="tidb_server_critical_error_total")].value.first()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83167','34377','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83168','34378','1','12','$[?(@.name=="tidb_server_connections")].value.first()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83169','34379','1','12','$.status','2','1');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83170','34379','2','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83171','34380','1','12','$[?(@.name=="tidb_executor_statement_total")].value.sum()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83172','34380','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83173','34381','1','12','$[?(@.name=="tidb_session_schema_lease_error_total && @.labels.type == "outdate"")].value.first()','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83174','34381','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83175','34382','1','12','$[?(@.name=="tidb_session_schema_lease_error_total && @.labels.type == "change"")].value.first()','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83176','34382','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83177','34383','1','12','$[?(@.name == "tidb_server_query_total" && @.labels.result == "Error")].value.sum()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83178','34383','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83179','34384','1','12','$[?(@.name == "tidb_server_query_total" && @.labels.result == "OK")].value.sum()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83180','34384','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83181','34385','1','12','$[?(@.name=="tidb_ddl_waiting_jobs")].value.sum()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83182','34386','1','12','$[?(@.name=="process_resident_memory_bytes")].value.first()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83183','34387','1','12','$[?(@.name=="process_open_fds")].value.first()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83184','34388','1','12','$[?(@.name=="process_max_fds")].value.first()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83185','34389','1','12','$[?(@.name=="pd_client_request_handle_requests_duration_seconds_count" && @.labels.type == "tso")].value.first()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83186','34389','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83187','34390','1','12','$[?(@.name=="pd_client_cmd_handle_cmds_duration_seconds_count" && @.labels.type == "tso")].value.first()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83188','34390','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83189','34391','1','12','$[?(@.name=="tidb_monitor_time_jump_back_total")].value.first()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83190','34391','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83191','34392','1','12','$[?(@.name=="tidb_monitor_keep_alive_total")].value.first()','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83192','34392','2','9','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83193','34393','1','12','$[?(@.name=="go_memstats_heap_inuse_bytes")].value.first()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83194','34394','1','12','$[?(@.name=="go_goroutines")].value.first()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83195','34395','1','12','$[?(@.name=="tidb_server_execute_error_total")].value.sum()','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83196','34395','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83197','34396','1','12','$[?(@.name=="tidb_domain_load_schema_total")].value.sum()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83198','34396','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83199','34397','1','12','$[?(@.name=="tidb_domain_load_schema_total && @.labels.type == "failed"")].value.first()','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83200','34397','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83201','34398','1','12','$.version','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83202','34398','2','20','3h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83203','34399','1','12','$[?(@.name=="tidb_tikvclient_txn_cmd_duration_seconds_count")]','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83204','34399','2','21','output = JSON.parse(value).map(function(item){
     return {
         "{#TYPE}": item.labels.type,
     }})
 return JSON.stringify({"data": output})','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83205','34399','3','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83206','34400','1','12','$[?(@.name=="tidb_server_query_total")]','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83207','34400','2','21','var lookup = {},
    result = [];

JSON.parse(value).forEach(function (item) {
    var type = item.labels.type;
    if (!(lookup[type])) {
        lookup[type] = 1;
        result.push({ "{#TYPE}": type });
    }
})

return JSON.stringify(result);','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83208','34400','3','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83209','34401','1','12','$[?(@.name=="tidb_executor_statement_total")]','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83210','34401','2','21','output = JSON.parse(value).map(function(item){
     return {
         "{#TYPE}": item.labels.type,
     }})
 return JSON.stringify({"data": output})','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83211','34401','3','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83212','34402','1','12','$[?(@.name=="tidb_tikvclient_backoff_total")]','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83213','34402','2','21','output = JSON.parse(value).map(function(item){
     return {
         "{#TYPE}": item.labels.type,
     }})
 return JSON.stringify({"data": output})','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83214','34402','3','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83215','34403','1','12','$[?(@.name=="tidb_tikvclient_gc_action_result")]','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83216','34403','2','21','output = JSON.parse(value).map(function(item){
     return {
         "{#TYPE}": item.labels.type,
     }})
 return JSON.stringify({"data": output})','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83217','34403','3','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83218','34404','1','12','$[?(@.name=="tidb_tikvclient_lock_resolver_actions_total")]','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83219','34404','2','21','output = JSON.parse(value).map(function(item){
     return {
         "{#TYPE}": item.labels.type,
     }})
 return JSON.stringify({"data": output})','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83220','34404','3','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83221','34405','1','12','$[?(@.name=="tidb_tikvclient_txn_cmd_duration_seconds_count" && @.labels.type == "{#TYPE}")].value.first()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83222','34405','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83223','34406','1','12','$[?(@.name == "tidb_server_query_total" && @.labels.result == "Error" && @.labels.type == "{#TYPE}")].value.first()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83224','34406','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83225','34407','1','12','$[?(@.name == "tidb_server_query_total" && @.labels.result == "OK" && @.labels.type == "{#TYPE}")].value.first()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83226','34407','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83227','34408','1','12','$[?(@.name=="tidb_executor_statement_total" && @.labels.type == "{#TYPE}")].value.first()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83228','34408','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83229','34409','1','12','$[?(@.name=="tidb_tikvclient_backoff_total" && @.labels.type == "{#TYPE}")].value.first()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83230','34409','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83231','34410','1','12','$[?(@.name=="tidb_tikvclient_gc_action_result" && @.labels.type == "{#TYPE}")].value.first()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83232','34410','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83233','34411','1','12','$[?(@.name=="tidb_tikvclient_lock_resolver_actions_total" && @.labels.type == "{#TYPE}")].value.first()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83234','34411','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83235','34412','0','26','','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83236','34412','1','23','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83237','34413','1','12','$[?(@.name == "tikv_scheduler_commands_pri_total" && @.labels.priority == "high")].value.first()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83238','34413','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83239','34414','1','12','$[?(@.name == "tikv_raftstore_region_count" && @.labels.type == "region" )].value.first()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83240','34415','1','12','$[?(@.name == "tikv_store_size_bytes" && @.labels.type == "capacity")].value.first()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83241','34416','1','12','$[?(@.name == "tikv_store_size_bytes" && @.labels.type == "available")].value.first()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83242','34417','1','12','$[?(@.name == "tikv_storage_command_total")].value.sum()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83243','34417','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83244','34418','1','12','$[?(@.name == "tikv_raftstore_snapshot_traffic_total" && @.labels.type == "sending")].value.first()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83245','34419','1','12','$[?(@.name == "tikv_raftstore_snapshot_traffic_total" && @.labels.type == "receiving")].value.first()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83246','34420','1','12','$[?(@.name == "tikv_raftstore_snapshot_traffic_total" && @.labels.type == "applying")].value.first()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83247','34421','1','12','$[?(@.name == "tikv_scheduler_too_busy_total")].value.sum()','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83248','34421','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83249','34422','1','12','$[?(@.name == "tikv_worker_pending_task_total")].value.first()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83250','34423','1','12','$[?(@.name == "tikv_scheduler_stage_total")].value.sum()','2','0');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83251','34423','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83252','34424','1','12','$[?(@.name == "process_resident_memory_bytes")].value.first()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83253','34425','1','12','$[?(@.name == "tikv_raftstore_region_count" && @.labels.type == "leader" )].value.first()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83254','34426','1','12','$[?(@.name == "tikv_server_report_failure_msg_total")].value.sum()','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83255','34426','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83256','34427','1','12','$[?(@.name == "tikv_scheduler_commands_pri_total" && @.labels.priority == "low")].value.first()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83257','34427','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83258','34428','1','12','$[?(@.name == "tikv_grpc_msg_fail_total")].value.sum()','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83259','34428','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83260','34429','1','12','$[?(@.name == "tikv_grpc_msg_duration_seconds_count")].value.sum()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83261','34429','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83262','34430','1','12','$[?(@.name == "tikv_engine_size_bytes")].value.sum()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83263','34431','1','12','$[?(@.name == "tikv_engine_flow_bytes" && @.labels.db == "kv" && @.labels.type == "wal_file_bytes")].value.first()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83264','34432','1','12','$[?(@.name == "tikv_engine_flow_bytes" && @.labels.db == "kv" && @.labels.type =~ "bytes_read|iter_bytes_read")].value.sum()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83265','34433','1','12','$[?(@.name == "tikv_thread_cpu_seconds_total")].value.sum()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83266','34433','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83267','34433','3','1','100','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83268','34434','1','12','$[?(@.name == "tikv_coprocessor_response_bytes")].value.first()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83269','34434','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83270','34435','1','12','$[?(@.name == "tikv_coprocessor_rocksdb_perf")].value.sum()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83271','34435','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83272','34436','1','12','$[?(@.name == "tikv_coprocessor_request_error")].value.sum()','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83273','34436','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83274','34437','1','12','$[?(@.name == "tikv_coprocessor_request_duration_seconds_count")].value.sum()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83275','34437','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83276','34438','1','12','$[?(@.name == "tikv_scheduler_commands_pri_total" && @.labels.priority == "normal")].value.first()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83277','34438','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83278','34439','1','12','$[?(@.name=="process_start_time_seconds")].value.first()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83279','34439','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 ('83280','34440','1','12','$[?(@.name == "tikv_coprocessor_request_duration_seconds_count")]','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83281','34440','2','21','output = JSON.parse(value).map(function(item){
     return {
         "{#REQ_TYPE}": item.labels.req,
     }})
 return JSON.stringify({"data": output})','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83282','34440','3','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83283','34441','1','12','$[?(@.name == "tikv_grpc_msg_duration_seconds_count")]','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83284','34441','2','21','output = JSON.parse(value).map(function(item){
     return {
         "{#TYPE}": item.labels.type,
     }})
 return JSON.stringify({"data": output})','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83285','34441','3','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83286','34442','1','12','$[?(@.name == "tikv_scheduler_stage_total")]','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83287','34442','2','21','var lookup = {},
    result = [];

JSON.parse(value).forEach(function (item) {
    var stage = item.labels.stage;
    if (!(lookup[stage])) {
        lookup[stage] = 1;
        result.push({ "{#STAGE}": stage });
    }
})

return JSON.stringify(result);','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83288','34442','3','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83289','34443','1','12','$[?(@.name == "tikv_server_report_failure_msg_total")]','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83290','34443','2','21','output = JSON.parse(value).map(function(item){
     return {
         "{#STORE_ID}": item.labels.store_id,
         "{#TYPE}": item.labels.type,

     }})
 return JSON.stringify({"data": output})','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83291','34443','3','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83292','34444','1','12','$[?(@.name == "tikv_coprocessor_request_duration_seconds_count" && @.labels.req == "{#REQ_TYPE}")].value.first()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83293','34444','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83294','34445','1','12','$[?(@.name == "tikv_coprocessor_request_error" && @.labels.req == "{#REQ_TYPE}")].value.first()','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83295','34445','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83296','34446','1','12','$[?(@.name == "tikv_coprocessor_rocksdb_perf" && @.labels.req == "{#REQ_TYPE}")].value.sum()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83297','34446','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83298','34447','1','12','$[?(@.name == "tikv_coprocessor_scan_keys_count" && @.labels.req == "{#REQ_TYPE}")].value.first()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83299','34447','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83300','34448','1','12','$[?(@.name == "tikv_grpc_msg_duration_seconds_count" && @.labels.type == "{#TYPE}")].value.first()','2','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83301','34449','1','12','$[?(@.name == "tikv_scheduler_stage_total" && @.labels.stage == "{#STAGE}")].value.sum()','2','0');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83302','34449','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83303','34450','1','12','$[?(@.name == "tikv_server_report_failure_msg_total" && @.labels.store_id == "{#STORE_ID}"  && @.labels.type == "{#TYPE}")].value.sum()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83304','34450','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83305','34451','1','1','0.1','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83306','34451','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83307','34452','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83308','34453','1','1','0.01','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83309','34454','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83310','34455','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83311','34456','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83312','34457','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83313','34458','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83314','34459','1','20','12h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83315','34460','1','20','12h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83316','34462','1','1','0.1','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83317','34462','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83318','34463','1','1','0.1','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83319','34463','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83320','34464','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83321','34465','1','1','0.1','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83322','34465','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83323','34466','1','1','0.1','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83324','34466','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83325','34467','1','1','0.1','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83326','34467','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83327','34468','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83328','34469','1','1','0.1','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83329','34469','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83330','34470','1','1','0.1','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83331','34470','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83332','34471','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83333','34472','1','1','0.01','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83334','34472','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83335','34473','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83336','34474','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83337','34475','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83338','34482','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83339','34483','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83340','34484','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83341','34485','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83342','34486','1','1','0.1','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83343','34486','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83344','34487','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83345','34488','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83346','34489','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83347','34490','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83348','34491','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83349','34492','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83350','34493','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83351','34494','1','1','0.1','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83352','34494','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83353','34495','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83354','34496','1','1','0.1','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83355','34496','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83356','34497','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83357','34498','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83358','34499','1','1','0.1','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83359','34499','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83360','34500','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83361','34501','1','1','0.01','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83362','34502','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83363','34503','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83364','34504','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83365','34505','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83366','34506','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83367','34507','1','20','12h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83368','34508','1','20','12h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83369','34510','1','1','0.1','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83370','34510','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83371','34511','1','1','0.1','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83372','34511','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83373','34512','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83374','34513','1','1','0.1','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83375','34513','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83376','34514','1','1','0.1','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83377','34514','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83378','34515','1','1','0.1','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83379','34515','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83380','34516','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83381','34517','1','1','0.1','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83382','34517','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83383','34518','1','1','0.1','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83384','34518','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83385','34519','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83386','34520','1','1','0.01','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83387','34520','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83388','34521','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83389','34522','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83390','34523','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83391','34530','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83392','34531','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83393','34532','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83394','34533','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83395','34534','1','1','0.1','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83396','34534','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83397','34535','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83398','34536','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83399','34537','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83400','34538','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83401','34539','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83402','34540','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83403','34541','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83404','34542','1','1','0.1','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83405','34542','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83406','34543','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83407','34544','1','1','0.1','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83408','34544','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83409','34545','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83410','34546','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83411','34547','1','1','0.1','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83412','34547','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83413','34548','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83414','34549','1','1','0.01','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83415','34550','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83416','34551','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83417','34552','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83418','34553','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83419','34554','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83420','34555','1','20','12h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83421','34556','1','20','12h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83422','34558','1','1','0.1','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83423','34558','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83424','34559','1','1','0.1','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83425','34559','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83426','34560','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83427','34561','1','1','0.1','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83428','34561','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83429','34562','1','1','0.1','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83430','34562','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83431','34563','1','1','0.1','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83432','34563','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83433','34564','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83434','34565','1','1','0.1','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83435','34565','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83436','34566','1','1','0.1','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83437','34566','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83438','34567','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83439','34568','1','1','0.01','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83440','34568','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83441','34569','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83442','34570','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83443','34571','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83444','34578','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83445','34579','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83446','34580','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83447','34581','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83448','34582','1','1','0.1','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83449','34582','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83450','34583','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83451','34584','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83452','34585','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83453','34586','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83454','34587','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83455','34588','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83456','34589','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83457','34590','1','1','0.1','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83458','34590','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83459','34591','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83460','34592','1','1','0.1','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83461','34592','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83462','34593','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83463','34594','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83464','34595','1','1','0.1','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83465','34595','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83466','34596','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83467','34597','1','1','0.01','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83468','34598','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83469','34599','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83470','34600','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83471','34601','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83472','34602','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83473','34603','1','20','12h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83474','34604','1','20','12h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83475','34606','1','1','0.1','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83476','34606','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83477','34607','1','1','0.1','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83478','34607','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83479','34608','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83480','34609','1','1','0.1','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83481','34609','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83482','34610','1','1','0.1','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83483','34610','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83484','34611','1','1','0.1','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83485','34611','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83486','34612','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83487','34613','1','1','0.1','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83488','34613','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83489','34614','1','1','0.1','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83490','34614','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83491','34615','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83492','34616','1','1','0.01','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83493','34616','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83494','34617','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83495','34618','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83496','34619','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83497','34626','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83498','34627','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83499','34628','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83500','34629','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83501','34630','1','1','0.1','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83502','34630','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83503','34631','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83504','34632','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83505','34633','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83506','34634','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83507','34635','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83508','34636','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83509','34637','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83510','34638','1','1','0.1','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83511','34638','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83512','34639','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83513','34640','1','1','0.1','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83514','34640','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83515','34641','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83516','34642','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83517','34643','1','1','0.1','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83518','34643','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83519','34644','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83520','34645','1','1','0.01','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83521','34646','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83522','34647','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83523','34648','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83524','34649','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83525','34650','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83526','34651','1','20','12h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83527','34652','1','20','12h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83528','34654','1','1','0.1','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83529','34654','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83530','34655','1','1','0.1','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83531','34655','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83532','34656','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83533','34657','1','1','0.1','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83534','34657','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83535','34658','1','1','0.1','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83536','34658','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83537','34659','1','1','0.1','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83538','34659','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83539','34660','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83540','34661','1','1','0.1','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83541','34661','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83542','34662','1','1','0.1','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83543','34662','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83544','34663','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83545','34664','1','1','0.01','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83546','34664','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83547','34665','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83548','34666','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83549','34667','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83550','34674','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83551','34675','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83552','34676','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83553','34677','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83554','34678','1','1','0.1','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83555','34678','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83556','34679','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83557','34680','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83558','34681','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83559','34682','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83560','34683','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83561','34684','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83562','34685','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83563','34686','1','1','0.1','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83564','34686','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83565','34687','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83566','34688','1','1','0.1','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83567','34688','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83568','34689','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83569','34690','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83623','34739','1','1','0.1','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83624','34739','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83625','34740','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83626','34741','1','1','0.01','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83627','34742','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83628','34743','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83629','34744','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83630','34745','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83631','34746','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83632','34747','1','20','12h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83633','34748','1','20','12h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83634','34750','1','1','0.1','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83635','34750','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83636','34751','1','1','0.1','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83637','34751','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83638','34752','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83639','34753','1','1','0.1','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83640','34753','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83641','34754','1','1','0.1','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83642','34754','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83643','34755','1','1','0.1','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83644','34755','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83645','34756','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83646','34757','1','1','0.1','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83647','34757','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83648','34758','1','1','0.1','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83649','34758','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83650','34759','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83651','34760','1','1','0.01','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83652','34760','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83653','34761','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83654','34762','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83655','34763','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83656','34770','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83657','34771','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83658','34772','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83659','34773','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83660','34774','1','1','0.1','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83661','34774','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83662','34775','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83663','34776','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83664','34777','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83665','34778','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83666','34779','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83667','34780','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83668','34781','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83669','34782','1','1','0.1','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83670','34782','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83671','34783','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83672','34784','1','1','0.1','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83673','34784','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83674','34785','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83675','34786','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83676','34787','1','1','0.1','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83677','34787','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83678','34788','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83679','34206','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83680','34790','1','1','0.1','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83681','34790','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83682','34791','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83683','34792','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83684','34793','1','1','0.1','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83685','34793','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83686','34794','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83687','34795','1','1','0.01','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83688','34796','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83689','34797','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83690','34798','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83691','34799','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83692','34800','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83693','34801','1','20','12h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83694','34802','1','20','12h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83695','34804','1','1','0.1','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83696','34804','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83697','34805','1','1','0.1','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83698','34805','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83699','34806','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83700','34807','1','1','0.1','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83701','34807','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83702','34808','1','1','0.1','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83703','34808','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83704','34809','1','1','0.1','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83705','34809','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83706','34810','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83707','34811','1','1','0.1','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83708','34811','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83709','34812','1','1','0.1','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83710','34812','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83711','34813','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83712','34814','1','1','0.01','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83713','34814','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83714','34815','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83715','34816','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83716','34817','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83717','34824','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83718','34825','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83719','34826','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83720','34827','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83721','34828','1','1','0.1','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83722','34828','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83723','34829','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83724','34830','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83725','34831','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83726','34832','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83727','34833','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83728','34834','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83729','34835','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83730','34836','1','1','0.1','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83731','34836','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83732','34837','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83733','34838','1','1','0.1','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83734','34838','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83735','34839','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83736','34840','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83737','34841','1','1','0.1','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83738','34841','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83739','34842','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83740','34843','1','1','0.01','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83741','34844','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83742','34845','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83743','34846','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83744','34847','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83745','34848','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83746','34849','1','20','12h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83747','34850','1','20','12h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83748','34852','1','1','0.1','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83749','34852','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83750','34853','1','1','0.1','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83751','34853','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83752','34854','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83753','34855','1','1','0.1','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83754','34855','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83755','34856','1','1','0.1','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83756','34856','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83757','34857','1','1','0.1','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83758','34857','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83759','34858','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83760','34859','1','1','0.1','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83761','34859','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83762','34860','1','1','0.1','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83763','34860','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83764','34861','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83765','34862','1','1','0.01','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83766','34862','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83767','34863','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83768','34864','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83769','34865','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83770','34872','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83771','34873','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83772','34874','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83773','34875','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83774','34876','1','1','0.1','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83775','34876','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83776','34877','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83777','34878','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83778','34879','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83779','34880','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83780','34881','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83781','34882','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83782','34883','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83783','34884','1','1','0.1','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83784','34884','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83785','34885','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83786','34886','1','1','0.1','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83787','34886','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83788','34887','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83789','34888','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83790','34889','1','1','0.1','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83791','34889','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83792','34890','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83793','34891','1','1','0.01','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83794','34892','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83795','34893','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83796','34894','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83797','34895','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83798','34896','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83799','34897','1','20','12h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83800','34898','1','20','12h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83801','34900','1','1','0.1','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83802','34900','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83803','34901','1','1','0.1','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83804','34901','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83805','34902','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83806','34903','1','1','0.1','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83807','34903','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83808','34904','1','1','0.1','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83809','34904','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83810','34905','1','1','0.1','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83811','34905','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83812','34906','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83813','34907','1','1','0.1','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83814','34907','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83815','34908','1','1','0.1','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83816','34908','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83817','34909','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83818','34910','1','1','0.01','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83819','34910','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83820','34911','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83821','34912','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83822','34913','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83823','34920','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83824','34921','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83825','34922','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83826','34923','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83827','34924','1','1','0.1','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83828','34924','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83829','34925','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83830','34926','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83831','34927','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83832','34928','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83833','34929','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83834','34930','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83835','34931','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83836','34932','1','1','0.1','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83837','34932','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83838','34933','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83839','34934','1','1','0.1','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83840','34934','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83841','34935','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83842','34936','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83843','34937','1','1','0.001','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83844','34938','1','20','3h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83845','34939','1','20','3h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83846','34940','1','20','3h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83847','34941','1','20','3h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83848','34944','1','6','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83849','34944','2','20','3h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83850','34945','1','6','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83851','34945','2','20','3h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83852','34946','1','6','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83853','34946','2','20','3h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83854','34947','1','20','3h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83855','34948','1','20','3h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83856','34949','1','1','0.001','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83857','34950','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83858','34951','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83859','34952','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83860','34953','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83861','34954','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83862','34956','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83863','34957','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83864','34958','1','20','3h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83865','34959','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83866','34960','1','20','3h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83867','34961','1','20','3h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83868','34962','1','20','3h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83869','34963','1','20','3h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83870','34964','1','20','3h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83871','34965','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83872','34970','1','1','0.001','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83873','34970','2','20','3h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83874','34971','1','6','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83875','34971','2','20','3h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83876','34972','1','6','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83877','34972','2','20','3h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83878','34973','1','6','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83879','34973','2','20','3h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83880','34974','1','20','3h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83881','34975','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83882','34976','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83883','34978','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83884','34979','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83885','34980','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83886','34981','1','6','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83887','34981','2','20','3h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83888','34985','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83889','34987','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83890','34989','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83891','34991','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83892','34993','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83893','34995','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83894','34998','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83895','34999','1','6','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83896','34999','2','20','3h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83897','35003','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83898','35004','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83899','35005','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83900','35011','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83901','35012','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83902','35013','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83903','35014','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83904','35015','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83905','35016','1','1','0.1','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83906','35016','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83907','35017','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83908','35018','1','1','0.01','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83909','35019','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83910','35020','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83911','35021','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83912','35022','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83913','35023','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83914','35024','1','20','12h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83915','35025','1','20','12h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83916','35027','1','1','0.1','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83917','35027','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83918','35028','1','1','0.1','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83919','35028','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83920','35029','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83921','35030','1','1','0.1','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83922','35030','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83923','35031','1','1','0.1','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83924','35031','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83925','35032','1','1','0.1','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83926','35032','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83927','35033','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83928','35034','1','1','0.1','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83929','35034','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83930','35035','1','1','0.1','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83931','35035','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83932','35036','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83933','35037','1','1','0.01','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83934','35037','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83935','35038','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83936','35039','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83937','35040','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83938','35047','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83939','35048','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83940','35049','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83941','35050','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83942','35051','1','1','0.1','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83943','35051','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83944','35052','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83945','35053','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83946','35054','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83947','35055','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83948','35056','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83949','35057','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83950','35058','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83951','35059','1','1','0.1','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83952','35059','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83953','35060','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83954','35061','1','1','0.1','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83955','35061','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83956','35062','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83957','35063','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83958','35064','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83959','35065','1','12','$.x509.alternative_names','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83960','35066','1','12','$.x509.issuer','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83961','35067','1','12','$.result.message','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83962','35068','1','12','$.x509.not_after.timestamp','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83963','35069','1','12','$.x509.not_before.timestamp','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83964','35070','1','12','$.x509.public_key_algorithm','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83965','35071','1','12','$.x509.serial_number','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83966','35072','1','12','$.sha1_fingerprint','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83967','35073','1','12','$.x509.signature_algorithm','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83968','35074','1','12','$.x509.subject','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83969','35075','1','12','$.result.value','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83970','35076','1','12','$.x509.version','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83971','35078','1','12','$.bandwidth.all','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83972','35079','1','12','$.requests.others_ratio','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83973','35080','1','12','$.threats.all','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83974','35081','1','12','$.requests.uncached','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83975','35082','1','12','$.requests.success_ratio','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83976','35083','1','12','$.requests.unencrypted','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83977','35084','1','12','$.requests.encrypted','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83978','35085','1','12','$.requests.response_500','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83979','35086','1','12','$.requests.response_400','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83980','35087','1','12','$.requests.response_300','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83981','35088','1','12','$.requests.response_200','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83982','35089','1','12','$.requests.response_100','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83983','35090','1','12','$.requests.cache_hit_ratio','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83984','35091','1','12','$.bandwidth.cached','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83985','35092','1','12','$.requests.cached','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83986','35093','1','12','$.requests.all','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83987','35094','1','12','$.pageviews.all','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83988','35095','1','12','$.dns.query.uncached','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83989','35096','1','12','$.dns.query.stale','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83990','35097','1','12','$.dns.query.all','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83991','35098','1','12','$.bandwidth.uncached','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83992','35099','1','12','$.bandwidth.unencrypted','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83993','35100','1','12','$.bandwidth.encrypted','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83994','35101','1','12','$.bandwidth.cache_hit_ratio','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83995','35102','1','12','$.uniques.all','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83996','35103','1','21','return JSON.stringify(JSON.parse(value),[''mode'',''pxname'',''svname''])','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83997','35103','2','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83998','35104','1','12','$.[?(@.pxname == ''{#PXNAME}'' && @.svname == ''{#SVNAME}'')].act.first()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('83999','35104','2','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84000','35105','1','12','$.[?(@.pxname == ''{#PXNAME}'' && @.svname == ''{#SVNAME}'')].hrsp_5xx.first()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84001','35105','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84002','35106','1','12','$.[?(@.pxname == ''{#PXNAME}'' && @.svname == ''{#SVNAME}'')].weight.first()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84003','35106','2','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84004','35107','1','12','$.[?(@.pxname == ''{#PXNAME}'' && @.svname == ''{#SVNAME}'')].stot.first()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84005','35107','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84006','35108','1','12','$.[?(@.pxname == ''{#PXNAME}'' && @.svname == ''{#SVNAME}'')].hrsp_4xx.first()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84007','35108','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84008','35109','1','12','$.[?(@.pxname == ''{#PXNAME}'' && @.svname == ''{#SVNAME}'')].bck.first()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84009','35109','2','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84010','35110','1','12','$.[?(@.pxname == ''{#PXNAME}'' && @.svname == ''{#SVNAME}'')].hrsp_3xx.first()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84011','35110','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84012','35111','1','12','$.[?(@.pxname == ''{#PXNAME}'' && @.svname == ''{#SVNAME}'')].hrsp_2xx.first()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84013','35111','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84014','35112','1','12','$.[?(@.pxname == ''{#PXNAME}'' && @.svname == ''{#SVNAME}'')].hrsp_1xx.first()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84015','35112','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84016','35113','1','12','$.[?(@.pxname == ''{#PXNAME}'' && @.svname == ''{#SVNAME}'')].bout.first()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84017','35113','2','1','8','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84018','35113','3','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84019','35114','1','12','$.[?(@.pxname == ''{#PXNAME}'' && @.svname == ''{#SVNAME}'')].bin.first()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84020','35114','2','1','8','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84021','35114','3','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84022','35115','1','12','$.[?(@.pxname == ''{#PXNAME}'' && @.svname == ''{#SVNAME}'')].status.first()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84023','35115','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84024','35116','1','12','$.[?(@.pxname == ''{#PXNAME}'' && @.svname == ''{#SVNAME}'')].act.first()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84025','35116','2','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84026','35117','1','12','$.[?(@.pxname == ''{#PXNAME}'' && @.svname == ''{#SVNAME}'')].weight.first()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84027','35117','2','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84028','35118','1','12','$.[?(@.pxname == ''{#PXNAME}'' && @.svname == ''{#SVNAME}'')].stot.first()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84029','35118','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84030','35119','1','12','$.[?(@.pxname == ''{#PXNAME}'' && @.svname == ''{#SVNAME}'')].qlimit.first()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84031','35119','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84032','35119','3','14',E'^\\d+$','2','0');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84033','35120','1','12','$.[?(@.pxname == ''{#PXNAME}'' && @.svname == ''{#SVNAME}'')].lbtot.first()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84034','35120','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84035','35121','1','12','$.[?(@.pxname == ''{#PXNAME}'' && @.svname == ''{#SVNAME}'')].bck.first()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84036','35121','2','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84037','35122','1','12','$.[?(@.pxname == ''{#PXNAME}'' && @.svname == ''{#SVNAME}'')].hrsp_3xx.first()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84038','35122','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84039','35123','1','12','$.[?(@.pxname == ''{#PXNAME}'' && @.svname == ''{#SVNAME}'')].hrsp_2xx.first()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84040','35123','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84041','35124','1','12','$.[?(@.pxname == ''{#PXNAME}'' && @.svname == ''{#SVNAME}'')].hrsp_1xx.first()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84042','35124','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84043','35125','1','12','$.[?(@.pxname == ''{#PXNAME}'' && @.svname == ''{#SVNAME}'')].check_status.first()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84044','35125','2','20','10m','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84045','35126','1','12','$.[?(@.pxname == ''{#PXNAME}'' && @.svname == ''{#SVNAME}'')].bout.first()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84046','35126','2','1','8','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84047','35126','3','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84048','35127','1','12','$.[?(@.pxname == ''{#PXNAME}'' && @.svname == ''{#SVNAME}'')].bin.first()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84049','35127','2','1','8','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84050','35127','3','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84051','35128','1','21','return JSON.stringify(JSON.parse(value),[''mode'',''pxname'',''svname''])','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84052','35128','2','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84053','35129','1','12','$.[?(@.pxname == ''{#PXNAME}'' && @.svname == ''{#SVNAME}'')].act.first()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84054','35129','2','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84055','35130','1','12','$.[?(@.pxname == ''{#PXNAME}'' && @.svname == ''{#SVNAME}'')].hrsp_5xx.first()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84056','35130','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84057','35131','1','12','$.[?(@.pxname == ''{#PXNAME}'' && @.svname == ''{#SVNAME}'')].weight.first()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84058','35131','2','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84059','35132','1','12','$.[?(@.pxname == ''{#PXNAME}'' && @.svname == ''{#SVNAME}'')].stot.first()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84060','35132','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84061','35133','1','12','$.[?(@.pxname == ''{#PXNAME}'' && @.svname == ''{#SVNAME}'')].hrsp_4xx.first()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84062','35133','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84063','35134','1','12','$.[?(@.pxname == ''{#PXNAME}'' && @.svname == ''{#SVNAME}'')].bck.first()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84064','35134','2','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84065','35135','1','12','$.[?(@.pxname == ''{#PXNAME}'' && @.svname == ''{#SVNAME}'')].hrsp_3xx.first()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84066','35135','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84067','35136','1','12','$.[?(@.pxname == ''{#PXNAME}'' && @.svname == ''{#SVNAME}'')].hrsp_2xx.first()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84068','35136','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84069','35137','1','12','$.[?(@.pxname == ''{#PXNAME}'' && @.svname == ''{#SVNAME}'')].hrsp_1xx.first()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84070','35137','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84071','35138','1','12','$.[?(@.pxname == ''{#PXNAME}'' && @.svname == ''{#SVNAME}'')].bout.first()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84072','35138','2','1','8','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84073','35138','3','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84074','35139','1','12','$.[?(@.pxname == ''{#PXNAME}'' && @.svname == ''{#SVNAME}'')].bin.first()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84075','35139','2','1','8','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84076','35139','3','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84077','35140','1','12','$.[?(@.pxname == ''{#PXNAME}'' && @.svname == ''{#SVNAME}'')].status.first()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84078','35140','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84079','35141','1','12','$.[?(@.pxname == ''{#PXNAME}'' && @.svname == ''{#SVNAME}'')].act.first()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84080','35141','2','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84081','35142','1','12','$.[?(@.pxname == ''{#PXNAME}'' && @.svname == ''{#SVNAME}'')].weight.first()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84082','35142','2','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84083','35143','1','12','$.[?(@.pxname == ''{#PXNAME}'' && @.svname == ''{#SVNAME}'')].stot.first()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84084','35143','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84085','35144','1','12','$.[?(@.pxname == ''{#PXNAME}'' && @.svname == ''{#SVNAME}'')].qlimit.first()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84086','35144','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84087','35144','3','14',E'^\\d+$','2','0');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84088','35145','1','12','$.[?(@.pxname == ''{#PXNAME}'' && @.svname == ''{#SVNAME}'')].lbtot.first()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84089','35145','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84090','35146','1','12','$.[?(@.pxname == ''{#PXNAME}'' && @.svname == ''{#SVNAME}'')].bck.first()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84091','35146','2','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84092','35147','1','12','$.[?(@.pxname == ''{#PXNAME}'' && @.svname == ''{#SVNAME}'')].hrsp_3xx.first()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84093','35147','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84094','35148','1','12','$.[?(@.pxname == ''{#PXNAME}'' && @.svname == ''{#SVNAME}'')].hrsp_2xx.first()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84095','35148','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84096','35149','1','12','$.[?(@.pxname == ''{#PXNAME}'' && @.svname == ''{#SVNAME}'')].hrsp_1xx.first()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84097','35149','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84098','35150','1','12','$.[?(@.pxname == ''{#PXNAME}'' && @.svname == ''{#SVNAME}'')].check_status.first()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84099','35150','2','20','10m','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84100','35151','1','12','$.[?(@.pxname == ''{#PXNAME}'' && @.svname == ''{#SVNAME}'')].bout.first()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84101','35151','2','1','8','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84102','35151','3','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84103','35152','1','12','$.[?(@.pxname == ''{#PXNAME}'' && @.svname == ''{#SVNAME}'')].bin.first()','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84104','35152','2','1','8','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84105','35152','3','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84106','35163','1','12','$.idle','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84107','35164','1','12','$.active','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84108','35165','1','12','$.session_reuses','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84109','35165','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84110','35166','1','12','$.handshakes_failed','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84111','35166','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84112','35167','1','12','$.handshakes','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84113','35167','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84114','35168','1','12','$.dropped','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84115','35169','1','12','$.current','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84116','35170','1','12','$.total','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84117','35170','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84118','35171','1','12','$.version','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84119','35171','2','20','3h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84120','35172','1','12','$.accepted','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84121','35172','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84122','35173','1','12','$.generation','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84123','35173','2','20','30m','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84124','35174','1','12','$.error.text','2','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84125','35174','2','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84126','35175','1','12','$.address','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84127','35175','2','20','3h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84128','35176','1','12','$.load_timestamp','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84129','35176','2','21','return Math.floor((Date.now() - new Date(value)) / 1000);','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84130','35177','1','21','var output = [];

Object.keys(JSON.parse(value)).forEach(function (v) {
    output.push({ ''{#NAME}'': v })
});

return JSON.stringify(output);','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84131','35177','2','20','30m','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84132','35178','1','21','var output = [];

Object.keys(JSON.parse(value)).forEach(function (v) {
    output.push({ ''{#NAME}'': v })
});

return JSON.stringify(output);','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84133','35178','2','20','30m','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84134','35179','1','21','var input = JSON.parse(value),
    output = [];

Object.keys(input).forEach(function (upstream) {
    input[upstream].peers.forEach(function (peer) {
        output.push({ ''{#UPSTREAM}'': upstream, ''{#PEER}'': peer.server })
    });
});

return JSON.stringify(output);','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84135','35179','2','20','30m','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84136','35180','1','21','var output = [];

Object.keys(JSON.parse(value)).forEach(function (v) {
    output.push({ ''{#NAME}'': v })
});

return JSON.stringify(output);','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84137','35180','2','20','30m','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84138','35181','1','21','var output = [];

Object.keys(JSON.parse(value)).forEach(function (v) {
    output.push({ ''{#NAME}'': v })
});

return JSON.stringify(output);','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84139','35181','2','20','30m','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84140','35182','1','21','var output = [];

Object.keys(JSON.parse(value)).forEach(function (v) {
    output.push({ ''{#NAME}'': v })
});

return JSON.stringify(output);','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84141','35182','2','20','30m','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84142','35183','1','21','var input = JSON.parse(value),
    output = [];

Object.keys(input).forEach(function (upstream) {
    input[upstream].peers.forEach(function (peer) {
        output.push({ ''{#UPSTREAM}'': upstream, ''{#PEER}'': peer.server })
    });
});

return JSON.stringify(output);','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84143','35183','2','20','30m','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84144','35184','1','21','var output = [];

Object.keys(JSON.parse(value)).forEach(function (v) {
    output.push({ ''{#NAME}'': v })
});

return JSON.stringify(output);','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84145','35184','2','20','30m','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84146','35185','1','12','$.discarded','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84147','35185','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84148','35186','1','12','$.received','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84149','35186','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84150','35187','1','12','$.requests','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84151','35187','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84152','35188','1','12','$.responses.1xx','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84153','35188','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84154','35189','1','12','$.responses.2xx','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84155','35189','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84156','35190','1','12','$.responses.3xx','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84157','35190','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84158','35191','1','12','$.responses.4xx','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84159','35191','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84160','35192','1','12','$.responses.5xx','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84161','35192','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84162','35193','1','12','$.responses.total','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84163','35193','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84164','35194','1','12','$.sent','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84165','35194','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84166','35195','1','12','$.discarded','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84167','35195','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84168','35196','1','12','$.processing','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84169','35197','1','12','$.received','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84170','35197','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84171','35198','1','12','$.requests','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84172','35198','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84173','35199','1','12','$.responses.1xx','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84174','35199','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84175','35200','1','12','$.responses.2xx','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84176','35200','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84177','35201','1','12','$.responses.3xx','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84178','35201','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84179','35202','1','12','$.responses.4xx','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84180','35202','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84181','35203','1','12','$.responses.5xx','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84182','35203','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84183','35204','1','12','$.responses.total','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84184','35204','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84185','35205','1','12','$.sent','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84186','35205','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84187','35206','1','12','$.active','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84188','35207','1','12','$.responses.3xx','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84189','35207','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84190','35208','1','12','$.state','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84191','35208','2','20','3h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84192','35209','1','12','$.sent','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84193','35209','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84194','35210','1','12','$.response_time','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84195','35211','1','12','$.responses.total','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84196','35211','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84197','35212','1','12','$.responses.5xx','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84198','35212','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84199','35213','1','12','$.responses.4xx','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84200','35213','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84201','35214','1','12','$.responses.2xx','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84202','35214','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84203','35215','1','12','$.fails','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84204','35215','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84205','35216','1','12','$.responses.1xx','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84206','35216','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84207','35217','1','12','$.requests','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84208','35217','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84209','35218','1','12','$.received','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84210','35218','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84211','35219','1','12','$.health_checks.unhealthy','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84212','35220','1','12','$.health_checks.fails','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84213','35221','1','12','$.health_checks.checks','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84214','35222','1','12','$.header_time','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84215','35223','1','12','$.unavail','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84216','35224','1','12','$.keepalive','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84217','35225','1','12','$.zombies','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84218','35226','1','12','$.zone','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84219','35226','2','20','3h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84220','35227','1','12','$.requests.addr','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84221','35227','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84222','35228','1','12','$.requests.name','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84223','35228','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84224','35229','1','12','$.requests.srv','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84225','35229','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84226','35230','1','12','$.responses.formerr','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84227','35230','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84228','35231','1','12','$.responses.noerror','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84229','35231','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84230','35232','1','12','$.responses.notimp','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84231','35232','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84232','35233','1','12','$.responses.nxdomain','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84233','35233','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84234','35234','1','12','$.responses.refused','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84235','35234','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84236','35235','1','12','$.responses.servfail','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84237','35235','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84238','35236','1','12','$.responses.timedout','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84239','35236','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84240','35237','1','12','$.responses.unknown','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84241','35237','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84242','35238','1','12','$.connections','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84243','35238','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84244','35239','1','12','$.discarded','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84245','35239','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84246','35240','1','12','$.processing','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84247','35241','1','12','$.received','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84248','35241','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84249','35242','1','12','$.sent','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84250','35242','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84251','35243','1','12','$.sessions.2xx','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84252','35243','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84253','35244','1','12','$.sessions.4xx','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84254','35244','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84255','35245','1','12','$.sessions.5xx','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84256','35245','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84257','35246','1','12','$.sessions.total','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84258','35246','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84259','35247','1','12','$.active','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84260','35248','1','12','$.connections','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84261','35249','1','12','$.connect_time','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84262','35250','1','12','$.fails','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84263','35250','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84264','35251','1','12','$.first_byte_time','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84265','35252','1','12','$.health_checks.checks','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84266','35253','1','12','$.health_checks.fails','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84267','35254','1','12','$.health_checks.unhealthy','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84268','35255','1','12','$.received','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84269','35255','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84270','35256','1','12','$.response_time','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84271','35257','1','12','$.sent','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84272','35257','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84273','35258','1','12','$.state','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84274','35258','2','20','3h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84275','35259','1','12','$.unavail','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84276','35260','1','12','$.zombies','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84277','35261','1','12','$.zone','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84278','35261','2','20','3h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84279','35266','1','12','$.ActiveState.state','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84280','35266','2','20','30m','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84281','35267','1','12','$.LoadState.state','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84282','35267','2','20','30m','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84283','35268','1','12','$.UnitFileState.state','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84284','35268','2','20','30m','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84285','35269','1','21','data = JSON.parse(value)
  if (data.ActiveEnterTimestamp > data.ActiveExitTimestamp) {
      return Math.floor(Date.now()/1000)-Number(data.ActiveEnterTimestamp)/1000000;
    }
  return null;','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84286','35270','1','12','$.NAccepted','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84287','35270','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84288','35271','1','12','$.NConnections','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84289','35273','1','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84290','35276','1','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84291','35278','1','12','$.data.process[''trigger housekeeper''].busy.avg','3','No "trigger housekeeper" processes started.');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84292','35279','1','12','$.data.process[''service manager''].busy.avg','3','No "service manager" processes started.');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84293','35280','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 ('84294','35280','2','20','3h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84295','35281','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 ('84296','35282','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 ('84297','35283','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 ('84298','35284','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 ('84299','35285','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 ('84300','35286','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 ('84301','35287','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 ('84302','35287','2','20','3h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84303','35288','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 ('84304','35288','2','20','3h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84305','35289','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 ('84306','35289','2','20','3h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84307','35308','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84308','35309','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84309','35310','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84310','35311','1','20','3h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84311','35312','1','20','3h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84312','35313','1','20','3h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84313','35314','1','20','3h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84314','35315','1','20','3h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84315','35316','1','5',E'(.*)-\\d+
\\1','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84316','35316','2','20','3h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84317','35317','1','20','3h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84318','35318','1','1','0.001','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84319','35320','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84320','35321','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84321','35322','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84322','35323','1','20','3h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84323','35328','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84324','35329','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84325','35330','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84326','35337','1','20','3h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84327','35349','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84328','35352','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84329','35353','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84330','35355','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84331','35356','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84332','35357','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84333','35358','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84334','35359','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84335','35360','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84336','35361','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84337','35362','1','1','0.01','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84338','35363','1','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84339','35373','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84340','35374','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84341','35375','1','1','1000000','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84342','35375','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84343','35376','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84344','35377','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84345','35378','1','1','8','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84346','35378','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84347','35379','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84348','35380','1','13','0
100','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84349','35380','2','21','return +parseFloat(value).toFixed(0);','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84350','35381','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84351','35382','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84352','35383','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84353','35384','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84354','35385','1','1','8','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84355','35385','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84356','35386','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84357','35387','1','13','0
100','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84358','35387','2','21','return +parseFloat(value).toFixed(0);','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84359','35388','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84360','35389','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84361','35390','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84362','35391','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84363','35392','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84364','35393','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84365','35394','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84366','35395','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84367','35396','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84368','35397','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84369','35398','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84370','35399','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84371','35400','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84372','35401','1','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84373','35402','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84374','35403','1','1','8','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84375','35403','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84376','35404','1','1','8','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84377','35404','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84378','35405','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84379','35406','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84380','35408','1','1','0.01','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84381','35414','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84382','35415','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84383','35416','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84384','35417','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84385','35418','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84386','35419','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84387','35420','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84388','35421','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84389','35422','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84390','35423','1','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84391','35424','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84392','35425','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84394','35427','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84395','35428','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84396','35429','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84397','35430','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84398','35431','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84399','35432','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84400','35433','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84401','35434','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84402','35435','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84403','35436','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84404','35437','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84405','35438','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84406','35439','1','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84407','35440','1','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84408','35441','1','1','0.001','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84409','35441','2','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84411','35443','1','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84412','35444','1','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84413','35445','1','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84414','35446','1','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84415','35474','1','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84416','35475','1','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84417','35476','1','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84423','35482','1','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84426','35485','1','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84427','35486','1','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84428','35487','1','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84429','35488','1','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84430','35489','1','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84431','35490','1','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84432','35491','1','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84433','35492','1','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84434','35493','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84435','35493','2','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84436','35494','1','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84437','35495','1','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84438','35496','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84439','35496','2','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84440','35497','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84441','35497','2','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84442','35498','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84443','35498','2','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84444','35499','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84445','35499','2','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84446','35500','1','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84447','35501','1','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84448','35502','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84449','35502','2','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84450','35503','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84451','35503','2','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84452','35504','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84453','35504','2','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84454','35505','1','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84455','35506','1','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84456','35507','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84457','35507','2','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84458','35508','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84459','35508','2','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84460','35509','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84461','35509','2','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84462','35510','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84463','35510','2','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84464','35511','1','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84465','35512','1','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84466','35513','1','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84467','35514','1','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84468','35515','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84469','35515','2','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84470','35516','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84471','35516','2','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84472','35517','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84473','35517','2','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84474','35518','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84475','35518','2','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84476','35519','1','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84477','35520','1','1','0.001','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84478','35520','2','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84479','35521','1','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84480','35522','1','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84481','35523','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84482','35523','2','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84483','35524','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84484','35524','2','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84485','35525','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84486','35525','2','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84487','35526','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84488','35526','2','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84489','35527','1','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84490','35528','1','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84491','35529','1','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84492','35530','1','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84493','35531','1','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84494','35532','1','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84495','35533','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84496','35534','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84497','35535','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84498','35536','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84499','35537','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84500','35538','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84501','35539','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84502','35540','1','21','var valueArray = [
    ''moduleNoDefect'',
    ''moduleOverHeat'',
    ''moduleFanRpmLow'',
    ''moduleVoltageLow'',
    ''moduleThermalSensorFailure'',
    ''modulePullOut'',
    ''powerDC48VAFailure'',
    ''powerDC48VBFailure'',
    ''extAlarmInputTrigger'',
    ''moduleDown'',
    ''mscSwitchOverOK'',
    ''networkTopologyChange'',
    ''macSpoof'',
    ''cpuHigh'',
    ''memoryUsageHigh'',
    ''packetBufferUsageHigh'',
    ''loopguardOccurence''
];
var base2 = parseInt(value).toString(2);
var outArray = [];
for (var i = 0; i < base2.length; ++i) {
    if (base2[base2.length - 1 - i] === ''1'') outArray.push(valueArray[i]);
}
return outArray.join();','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84503','35541','1','1','0.01','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84504','35545','1','21','var inArray = JSON.parse(value);
var outArr = []
inArray.forEach(function (item, i, arr) {
    item[''{#ZYXEL.SLOT.ID}''] = item[''{#SNMPINDEX}''].split(''.'')[1];
    item[''{#ZYXEL.SENSOR.ID}''] = item[''{#SNMPINDEX}''].split(''.'')[2];
    item["{#ZYXEL.VOLT.NOMINAL}"] = "+" + item["{#ZYXEL.VOLT.NOMINAL}"] / 1000 + "V";
    item["{#ZYXEL.VOLT.THRESH.LOW}"] /= 1000;
    item["{#ZYXEL.VOLT.THRESH.HIGH}"] /= 1000;
    outArr.push(item)
});
return JSON.stringify(outArr);','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84505','35546','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84506','35547','1','1','0.1','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84507','35547','2','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84508','35548','1','1','0.1','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84509','35548','2','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84510','35549','1','1','0.1','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84511','35549','2','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84512','35550','1','1','0.1','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84513','35550','2','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84514','35551','1','1','0.1','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84515','35551','2','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84516','35552','1','1','0.1','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84517','35552','2','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84518','35553','1','1','8','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84519','35553','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84520','35554','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84521','35555','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84522','35556','1','1','8','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84523','35556','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84524','35557','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84525','35558','1','1','8','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84526','35558','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84527','35559','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84528','35560','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84529','35561','1','1','8','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84530','35561','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84531','35562','1','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84532','35563','1','1','0.001','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84533','35563','2','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84534','35564','1','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84535','35565','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84536','35567','1','21','var inArray = JSON.parse(value);
var tmpObj = {};
inArray.forEach(function(item, i, arr) {
  tmpObj[item["{#SNMPINDEX}"]] = item["{#SNMP.ARRAY}"]
});
var strOut = ''V'' + tmpObj["1.0"] + ''.'' + tmpObj["2.0"]
  + ''('' + tmpObj["3.0"] + ''.'' + tmpObj["4.0"] + '')_''
  + tmpObj["7.0"] + ''.'' + tmpObj["6.0"] + ''.'' + tmpObj["5.0"];
return strOut;','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84537','35567','2','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84538','35568','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84539','35569','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84540','35570','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84541','35571','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84542','35572','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84543','35573','1','1','0.01','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84544','35576','1','21','var inArray = JSON.parse(value);
var nameMap = {
    ''Temperature'': ''°C'',
    ''Voltage'': ''V'',
    ''TxBias'': ''mA'',
    ''TxPower'': ''dbm'',
    ''RxPower'': ''dbm''
};
var outArr = [];
inArray.forEach(function (item, i, arr) {
    item[''{#ZYXEL.SFP.PORT}''] = item[''{#SNMPINDEX}''].split(''.'')[0];
    item[''{#ZYXEL.SFP.UNIT}''] = nameMap[item[''{#ZYXEL.SFP.DESCRIPTION}'']] === undefined ? "" : nameMap[item[''{#ZYXEL.SFP.DESCRIPTION}'']];
    item[''{#ZYXEL.SFP.WARN.MAX}''] /= 100;
    item[''{#ZYXEL.SFP.WARN.MIN}''] /= 100;
    outArr.push(item)
});
return JSON.stringify(outArr);','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84545','35578','1','21','var inArray = JSON.parse(value);
var nameMap = {"1":"MAC", "2":"CPU", "3":"PHY"};
var outArr = [];
inArray.forEach(function(item, i, arr) {
item["{#ZYXEL.TEMP.ID}"] = nameMap[item["{#SNMPINDEX}"]]
outArr.push(item)
});
return JSON.stringify(outArr);','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84546','35579','1','21','var inArray = JSON.parse(value);
var outArr = []
inArray.forEach(function(item, i, arr) {
item["{#ZYXEL.VOLT.NOMINAL}"] = "+" + item["{#ZYXEL.VOLT.NOMINAL}"] / 1000 + "V";
item["{#ZYXEL.VOLT.THRESH.LOW}"] = item["{#ZYXEL.VOLT.THRESH.LOW}"] / 1000;
outArr.push(item)
});
return JSON.stringify(outArr);','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84547','35580','1','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84548','35581','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84549','35582','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84550','35583','1','13','0
100','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84551','35583','2','21','return +parseFloat(value).toFixed(0);','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84552','35584','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84553','35585','1','1','8','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84554','35585','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84555','35586','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84556','35587','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84557','35588','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84558','35589','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84559','35590','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84560','35591','1','13','0
100','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84561','35591','2','21','return +parseFloat(value).toFixed(0);','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84562','35592','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84563','35593','1','1','8','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84564','35593','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84565','35594','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84566','35595','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84567','35596','1','1','1000000','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84568','35596','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84569','35597','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84570','35598','1','1','0.01','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84571','35598','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84572','35599','1','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84573','35600','1','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84574','35601','1','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84575','35602','1','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84576','35603','1','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84577','35604','1','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84578','35605','1','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84579','35606','1','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84580','35607','1','1','0.001','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84581','35607','2','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84582','35608','1','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84583','35609','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84584','35611','1','21','var inArray = JSON.parse(value);
var tmpObj = {};
inArray.forEach(function(item, i, arr) {
  tmpObj[item["{#SNMPINDEX}"]] = item["{#SNMP.ARRAY}"]
});
var strOut = ''V'' + tmpObj["1.0"] + ''.'' + tmpObj["2.0"]
  + ''('' + tmpObj["3.0"] + ''.'' + tmpObj["4.0"] + '')_''
  + tmpObj["7.0"] + ''.'' + tmpObj["6.0"] + ''.'' + tmpObj["5.0"];
return strOut;','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84585','35611','2','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84586','35612','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84587','35613','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84588','35614','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84589','35615','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84590','35616','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84591','35617','1','1','0.01','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84592','35620','1','21','var inArray = JSON.parse(value);
var nameMap = {"1":"MAC", "2":"CPU", "3":"PHY"};
var outArr = [];
inArray.forEach(function(item, i, arr) {
item["{#ZYXEL.TEMP.ID}"] = nameMap[item["{#SNMPINDEX}"]]
outArr.push(item)
});
return JSON.stringify(outArr);','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84593','35621','1','21','var inArray = JSON.parse(value);
var outArr = []
inArray.forEach(function(item, i, arr) {
item["{#ZYXEL.VOLT.NOMINAL}"] = "+" + item["{#ZYXEL.VOLT.NOMINAL}"] / 1000 + "V";
item["{#ZYXEL.VOLT.THRESH.LOW}"] = item["{#ZYXEL.VOLT.THRESH.LOW}"] / 1000;
outArr.push(item)
});
return JSON.stringify(outArr);','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84594','35622','1','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84595','35623','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84596','35624','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84597','35625','1','13','0
100','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84598','35625','2','21','return +parseFloat(value).toFixed(0);','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84599','35626','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84600','35627','1','1','8','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84601','35627','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84602','35628','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84603','35629','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84604','35630','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84605','35631','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84606','35632','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84607','35633','1','13','0
100','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84608','35633','2','21','return +parseFloat(value).toFixed(0);','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84609','35634','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84610','35635','1','1','8','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84611','35635','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84612','35636','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84613','35637','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84614','35638','1','1','1000000','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84615','35638','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84616','35639','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84617','35640','1','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84618','35641','1','1','0.001','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84619','35641','2','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84620','35642','1','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84621','35643','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84622','35644','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84623','35645','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84624','35646','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84625','35647','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84626','35648','1','1','0.01','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84627','35649','1','21','var inArray = JSON.parse(value);
var outArr = []
inArray.forEach(function (item, i, arr) {
    item[''{#ZYXEL.SLOT.ID}''] = item[''{#SNMPINDEX}''].split(''.'')[1];
    item[''{#ZYXEL.SENSOR.ID}''] = item[''{#SNMPINDEX}''].split(''.'')[2];
    outArr.push(item)
});
return JSON.stringify(outArr);','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84628','35650','1','21','var inArray = JSON.parse(value);
var outArr = []
inArray.forEach(function (item, i, arr) {
    item[''{#ZYXEL.SLOT.ID}''] = item[''{#SNMPINDEX}''].split(''.'')[1];
    item[''{#ZYXEL.SENSOR.ID}''] = item[''{#SNMPINDEX}''].split(''.'')[2];
    outArr.push(item)
});
return JSON.stringify(outArr);','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84629','35652','1','21','var inArray = JSON.parse(value);
var outArr = []
inArray.forEach(function (item, i, arr) {
    item[''{#ZYXEL.SLOT.ID}''] = item[''{#SNMPINDEX}''].split(''.'')[1];
    item[''{#ZYXEL.SENSOR.ID}''] = item[''{#SNMPINDEX}''].split(''.'')[2];
    outArr.push(item)
});
return JSON.stringify(outArr);','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84630','35653','1','21','var inArray = JSON.parse(value);
var outArr = []
inArray.forEach(function (item, i, arr) {
    item[''{#ZYXEL.SLOT.ID}''] = Math.floor(item[''{#SNMPINDEX}''] / 100);
    item[''{#ZYXEL.PORTID}''] = item[''{#SNMPINDEX}''] % 100;
    outArr.push(item)
});
return JSON.stringify(outArr);','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84631','35656','1','21','var inArray = JSON.parse(value);
var outArr = [];
inArray.forEach(function (item, i, arr) {
    item[''{#ZYXEL.SLOT.ID}''] = item[''{#SNMPINDEX}''].split(''.'')[1];
    item[''{#ZYXEL.TEMP.ID}''] = item[''{#SNMPINDEX}''].split(''.'')[2];
    outArr.push(item);
});
return JSON.stringify(outArr);','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84632','35657','1','21','var inArray = JSON.parse(value);
var outArr = []
inArray.forEach(function (item, i, arr) {
    item[''{#ZYXEL.SLOT.ID}''] = item[''{#SNMPINDEX}''].split(''.'')[1];
    item[''{#ZYXEL.SENSOR.ID}''] = item[''{#SNMPINDEX}''].split(''.'')[2];
    item["{#ZYXEL.VOLT.NOMINAL}"] = "+" + item["{#ZYXEL.VOLT.NOMINAL}"] / 1000 + "V";
    item["{#ZYXEL.VOLT.THRESH.LOW}"] /= 1000;
    item["{#ZYXEL.VOLT.THRESH.HIGH}"] /= 1000;
    outArr.push(item)
});
return JSON.stringify(outArr);','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84633','35658','1','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84634','35659','1','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84635','35660','1','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84636','35661','1','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84637','35662','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84638','35663','1','1','8','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84639','35663','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84640','35664','1','1','8','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84641','35664','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84642','35665','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84643','35666','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84644','35667','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84645','35668','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84646','35669','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84647','35670','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84648','35671','1','1','0.1','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84649','35671','2','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84650','35672','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84651','35673','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84652','35674','1','1','0.1','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84653','35674','2','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84654','35675','1','1','0.1','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84655','35675','2','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84656','35676','1','1','0.1','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84657','35676','2','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84658','35677','1','1','0.1','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84659','35677','2','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84660','35678','1','1','0.1','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84661','35678','2','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84662','35679','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84663','35680','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84664','35681','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84665','35682','1','1','1000000','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84666','35682','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84667','35683','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84668','35684','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84669','35685','1','1','8','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84670','35685','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84671','35686','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84672','35687','1','13','0
100','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84673','35687','2','21','return +parseFloat(value).toFixed(0);','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84674','35688','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84675','35689','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84676','35690','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84677','35691','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84678','35692','1','1','8','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84679','35692','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84680','35693','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84681','35694','1','13','0
100','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84682','35694','2','21','return +parseFloat(value).toFixed(0);','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84683','35695','1','21','var valueArray = [
    ''moduleNoDefect'',
    ''moduleOverHeat'',
    ''moduleFanRpmLow'',
    ''moduleVoltageLow'',
    ''moduleThermalSensorFailure'',
    ''modulePullOut'',
    ''powerDC48VAFailure'',
    ''powerDC48VBFailure'',
    ''extAlarmInputTrigger'',
    ''moduleDown'',
    ''mscSwitchOverOK'',
    ''networkTopologyChange'',
    ''macSpoof'',
    ''cpuHigh'',
    ''memoryUsageHigh'',
    ''packetBufferUsageHigh'',
    ''loopguardOccurence''
];
var base2 = parseInt(value).toString(2);
var outArray = [];
for (var i = 0; i < base2.length; ++i) {
    if (base2[base2.length - 1 - i] === ''1'') outArray.push(valueArray[i]);
}
return outArray.join();','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84684','35696','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84685','35697','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84686','35698','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84687','35699','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84688','35700','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84689','35701','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84690','35702','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84691','35703','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84692','35704','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84693','35705','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84694','35707','1','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84695','35708','1','1','0.001','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84696','35708','2','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84697','35709','1','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84698','35710','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84699','35711','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84700','35712','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84701','35713','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84702','35714','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84703','35715','1','1','0.01','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84704','35716','1','21','var inArray = JSON.parse(value);
var outArr = []
inArray.forEach(function (item, i, arr) {
    item[''{#ZYXEL.SLOT.ID}''] = item[''{#SNMPINDEX}''].split(''.'')[1];
    item[''{#ZYXEL.SENSOR.ID}''] = item[''{#SNMPINDEX}''].split(''.'')[2];
    outArr.push(item)
});
return JSON.stringify(outArr);','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84705','35717','1','21','var inArray = JSON.parse(value);
var outArr = []
inArray.forEach(function (item, i, arr) {
    item[''{#ZYXEL.SLOT.ID}''] = item[''{#SNMPINDEX}''].split(''.'')[1];
    item[''{#ZYXEL.SENSOR.ID}''] = item[''{#SNMPINDEX}''].split(''.'')[2];
    outArr.push(item)
});
return JSON.stringify(outArr);','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84706','35719','1','21','var inArray = JSON.parse(value);
var outArr = []
inArray.forEach(function (item, i, arr) {
    item[''{#ZYXEL.SLOT.ID}''] = item[''{#SNMPINDEX}''].split(''.'')[1];
    item[''{#ZYXEL.SENSOR.ID}''] = item[''{#SNMPINDEX}''].split(''.'')[2];
    outArr.push(item)
});
return JSON.stringify(outArr);','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84707','35720','1','21','var inArray = JSON.parse(value);
var outArr = []
inArray.forEach(function (item, i, arr) {
    item[''{#ZYXEL.SLOT.ID}''] = Math.floor(item[''{#SNMPINDEX}''] / 100);
    item[''{#ZYXEL.PORTID}''] = item[''{#SNMPINDEX}''] % 100;
    outArr.push(item)
});
return JSON.stringify(outArr);','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84708','35723','1','21','var inArray = JSON.parse(value);
var outArr = [];
inArray.forEach(function (item, i, arr) {
    item[''{#ZYXEL.SLOT.ID}''] = item[''{#SNMPINDEX}''].split(''.'')[1];
    item[''{#ZYXEL.TEMP.ID}''] = item[''{#SNMPINDEX}''].split(''.'')[2];
    outArr.push(item);
});
return JSON.stringify(outArr);','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84709','35724','1','21','var inArray = JSON.parse(value);
var outArr = []
inArray.forEach(function (item, i, arr) {
    item[''{#ZYXEL.SLOT.ID}''] = item[''{#SNMPINDEX}''].split(''.'')[1];
    item[''{#ZYXEL.SENSOR.ID}''] = item[''{#SNMPINDEX}''].split(''.'')[2];
    item["{#ZYXEL.VOLT.NOMINAL}"] = "+" + item["{#ZYXEL.VOLT.NOMINAL}"] / 1000 + "V";
    item["{#ZYXEL.VOLT.THRESH.LOW}"] /= 1000;
    item["{#ZYXEL.VOLT.THRESH.HIGH}"] /= 1000;
    outArr.push(item)
});
return JSON.stringify(outArr);','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84710','35725','1','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84711','35726','1','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84712','35727','1','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84713','35728','1','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84714','35729','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84715','35730','1','1','8','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84716','35730','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84717','35731','1','1','8','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84718','35731','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84719','35732','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84720','35733','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84721','35734','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84722','35735','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84723','35736','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84724','35737','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84725','35738','1','1','0.1','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84726','35738','2','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84727','35739','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84728','35740','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84729','35741','1','1','0.1','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84730','35741','2','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84731','35742','1','1','0.1','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84732','35742','2','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84733','35743','1','1','0.1','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84734','35743','2','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84735','35744','1','1','0.1','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84736','35744','2','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84737','35745','1','1','0.1','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84738','35745','2','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84739','35746','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84740','35747','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84741','35748','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84742','35749','1','1','1000000','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84743','35749','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84744','35750','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84745','35751','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84746','35752','1','1','8','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84747','35752','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84748','35753','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84749','35754','1','13','0
100','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84750','35754','2','21','return +parseFloat(value).toFixed(0);','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84751','35755','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84752','35756','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84753','35757','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84754','35758','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84755','35759','1','1','8','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84756','35759','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84757','35760','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84758','35761','1','13','0
100','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84759','35761','2','21','return +parseFloat(value).toFixed(0);','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84760','35762','1','21','var valueArray = [
    ''moduleNoDefect'',
    ''moduleOverHeat'',
    ''moduleFanRpmLow'',
    ''moduleVoltageLow'',
    ''moduleThermalSensorFailure'',
    ''modulePullOut'',
    ''powerDC48VAFailure'',
    ''powerDC48VBFailure'',
    ''extAlarmInputTrigger'',
    ''moduleDown'',
    ''mscSwitchOverOK'',
    ''networkTopologyChange'',
    ''macSpoof'',
    ''cpuHigh'',
    ''memoryUsageHigh'',
    ''packetBufferUsageHigh'',
    ''loopguardOccurence''
];
var base2 = parseInt(value).toString(2);
var outArray = [];
for (var i = 0; i < base2.length; ++i) {
    if (base2[base2.length - 1 - i] === ''1'') outArray.push(valueArray[i]);
}
return outArray.join();','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84761','35763','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84762','35764','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84763','35765','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84764','35766','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84765','35767','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84766','35768','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84767','35769','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84768','35770','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84769','35771','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84770','35772','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84771','35774','1','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84772','35775','1','1','0.001','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84773','35775','2','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84774','35776','1','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84775','35777','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84776','35778','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84777','35779','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84778','35780','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84779','35781','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84780','35782','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84781','35783','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84782','35784','1','21','var valueArray = [
    ''moduleNoDefect'',
    ''moduleOverHeat'',
    ''moduleFanRpmLow'',
    ''moduleVoltageLow'',
    ''moduleThermalSensorFailure'',
    ''modulePullOut'',
    ''powerDC48VAFailure'',
    ''powerDC48VBFailure'',
    ''extAlarmInputTrigger'',
    ''moduleDown'',
    ''mscSwitchOverOK'',
    ''networkTopologyChange'',
    ''macSpoof'',
    ''cpuHigh'',
    ''memoryUsageHigh'',
    ''packetBufferUsageHigh'',
    ''loopguardOccurence''
];
var base2 = parseInt(value).toString(2);
var outArray = [];
for (var i = 0; i < base2.length; ++i) {
    if (base2[base2.length - 1 - i] === ''1'') outArray.push(valueArray[i]);
}
return outArray.join();','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84783','35785','1','1','0.01','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84784','35790','1','21','var inArray = JSON.parse(value);
var outArr = []
inArray.forEach(function (item, i, arr) {
    item[''{#ZYXEL.SLOT.ID}''] = item[''{#SNMPINDEX}''].split(''.'')[1];
    item[''{#ZYXEL.SENSOR.ID}''] = item[''{#SNMPINDEX}''].split(''.'')[2];
    item["{#ZYXEL.VOLT.NOMINAL}"] = "+" + item["{#ZYXEL.VOLT.NOMINAL}"] / 1000 + "V";
    item["{#ZYXEL.VOLT.THRESH.LOW}"] /= 1000;
    item["{#ZYXEL.VOLT.THRESH.HIGH}"] /= 1000;
    outArr.push(item)
});
return JSON.stringify(outArr);','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84785','35791','1','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84786','35792','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84787','35793','1','1','0.1','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84788','35793','2','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84789','35794','1','1','0.1','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84790','35794','2','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84791','35795','1','1','0.1','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84792','35795','2','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84793','35796','1','1','0.1','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84794','35796','2','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84795','35797','1','1','0.1','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84796','35797','2','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84797','35798','1','1','0.1','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84798','35798','2','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84799','35799','1','1','8','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84800','35799','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84801','35800','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84802','35801','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84803','35802','1','1','8','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84804','35802','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84805','35803','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84806','35804','1','1','8','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84807','35804','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84808','35805','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84809','35806','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84810','35807','1','1','8','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84811','35807','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84812','35808','1','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84813','35809','1','1','0.001','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84814','35809','2','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84815','35810','1','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84816','35811','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84817','35813','1','21','var inArray = JSON.parse(value);
var tmpObj = {};
inArray.forEach(function(item, i, arr) {
  tmpObj[item["{#SNMPINDEX}"]] = item["{#SNMP.ARRAY}"]
});
var strOut = ''V'' + tmpObj["1.0"] + ''.'' + tmpObj["2.0"]
  + ''('' + tmpObj["3.0"] + ''.'' + tmpObj["4.0"] + '')_''
  + tmpObj["7.0"] + ''.'' + tmpObj["6.0"] + ''.'' + tmpObj["5.0"];
return strOut;','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84818','35813','2','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84819','35814','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84820','35815','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84821','35816','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84822','35817','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84823','35818','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84824','35819','1','1','0.01','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84825','35821','1','21','var inArray = JSON.parse(value);
var nameMap = {
    ''Temperature'': ''°C'',
    ''Voltage'': ''V'',
    ''TxBias'': ''mA'',
    ''TxPower'': ''dbm'',
    ''RxPower'': ''dbm''
};
var outArr = [];
inArray.forEach(function (item, i, arr) {
    item[''{#ZYXEL.SFP.PORT}''] = item[''{#SNMPINDEX}''].split(''.'')[0];
    item[''{#ZYXEL.SFP.UNIT}''] = nameMap[item[''{#ZYXEL.SFP.DESCRIPTION}'']] === undefined ? "" : nameMap[item[''{#ZYXEL.SFP.DESCRIPTION}'']];
    item[''{#ZYXEL.SFP.WARN.MAX}''] /= 100;
    item[''{#ZYXEL.SFP.WARN.MIN}''] /= 100;
    outArr.push(item)
});
return JSON.stringify(outArr);','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84826','35823','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84827','35824','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84828','35825','1','13','0
100','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84829','35825','2','21','return +parseFloat(value).toFixed(0);','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84830','35826','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84831','35827','1','1','8','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84832','35827','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84833','35828','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84834','35829','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84835','35830','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84836','35831','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84837','35832','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84838','35833','1','13','0
100','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84839','35833','2','21','return +parseFloat(value).toFixed(0);','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84840','35834','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84841','35835','1','1','8','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84842','35835','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84843','35836','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84844','35837','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84845','35838','1','1','1000000','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84846','35838','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84847','35839','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84848','35840','1','1','0.01','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84849','35840','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84850','35841','1','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84851','35842','1','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84852','35843','1','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84853','35844','1','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84854','35845','1','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84855','35846','1','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84856','35847','1','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84857','35848','1','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84858','35849','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84859','35851','1','21','var inArray = JSON.parse(value);
var tmpObj = {};
inArray.forEach(function(item, i, arr) {
  tmpObj[item["{#SNMPINDEX}"]] = item["{#SNMP.ARRAY}"]
});
var strOut = ''V'' + tmpObj["1.0"] + ''.'' + tmpObj["2.0"]
  + ''('' + tmpObj["3.0"] + ''.'' + tmpObj["4.0"] + '')_''
  + tmpObj["7.0"] + ''.'' + tmpObj["6.0"] + ''.'' + tmpObj["5.0"];
return strOut;','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84860','35851','2','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84861','35852','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84862','35853','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84863','35854','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84864','35855','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84865','35856','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84866','35857','1','1','0.01','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84867','35860','1','21','var inArray = JSON.parse(value);
var nameMap = {
    ''Temperature'': ''°C'',
    ''Voltage'': ''V'',
    ''TxBias'': ''mA'',
    ''TxPower'': ''dbm'',
    ''RxPower'': ''dbm''
};
var outArr = [];
inArray.forEach(function (item, i, arr) {
    item[''{#ZYXEL.SFP.PORT}''] = item[''{#SNMPINDEX}''].split(''.'')[0];
    item[''{#ZYXEL.SFP.UNIT}''] = nameMap[item[''{#ZYXEL.SFP.DESCRIPTION}'']] === undefined ? "" : nameMap[item[''{#ZYXEL.SFP.DESCRIPTION}'']];
    item[''{#ZYXEL.SFP.WARN.MAX}''] /= 100;
    item[''{#ZYXEL.SFP.WARN.MIN}''] /= 100;
    outArr.push(item)
});
return JSON.stringify(outArr);','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84868','35862','1','21','var inArray = JSON.parse(value);
var nameMap = {"1":"MAC", "2":"CPU", "3":"PHY"};
var outArr = [];
inArray.forEach(function(item, i, arr) {
item["{#ZYXEL.TEMP.ID}"] = nameMap[item["{#SNMPINDEX}"]]
outArr.push(item)
});
return JSON.stringify(outArr);','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84869','35863','1','21','var inArray = JSON.parse(value);
var outArr = []
inArray.forEach(function(item, i, arr) {
item["{#ZYXEL.VOLT.NOMINAL}"] = "+" + item["{#ZYXEL.VOLT.NOMINAL}"] / 1000 + "V";
item["{#ZYXEL.VOLT.THRESH.LOW}"] = item["{#ZYXEL.VOLT.THRESH.LOW}"] / 1000;
outArr.push(item)
});
return JSON.stringify(outArr);','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84870','35864','1','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84871','35865','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84872','35866','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84873','35867','1','13','0
100','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84874','35867','2','21','return +parseFloat(value).toFixed(0);','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84875','35868','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84876','35869','1','1','8','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84877','35869','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84878','35870','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84879','35871','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84880','35872','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84881','35873','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84882','35874','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84883','35875','1','13','0
100','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84884','35875','2','21','return +parseFloat(value).toFixed(0);','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84885','35876','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84886','35877','1','1','8','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84887','35877','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84888','35878','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84889','35879','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84890','35880','1','1','1000000','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84891','35880','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84892','35881','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84893','35882','1','1','0.01','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84894','35882','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84895','35883','1','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84896','35884','1','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84897','35885','1','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84898','35886','1','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84899','35887','1','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84900','35888','1','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84901','35889','1','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84902','35890','1','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84903','35891','1','1','0.001','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84904','35891','2','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84905','35892','1','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84906','35893','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84907','35895','1','21','var inArray = JSON.parse(value);
var tmpObj = {};
inArray.forEach(function(item, i, arr) {
  tmpObj[item["{#SNMPINDEX}"]] = item["{#SNMP.ARRAY}"]
});
var strOut = ''V'' + tmpObj["1.0"] + ''.'' + tmpObj["2.0"]
  + ''('' + tmpObj["3.0"] + ''.'' + tmpObj["4.0"] + '')_''
  + tmpObj["7.0"] + ''.'' + tmpObj["6.0"] + ''.'' + tmpObj["5.0"];
return strOut;','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84908','35895','2','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84909','35896','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84910','35897','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84911','35898','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84912','35899','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84913','35900','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84914','35901','1','1','0.01','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84915','35904','1','21','var inArray = JSON.parse(value);
var nameMap = {
    ''Temperature'': ''°C'',
    ''Voltage'': ''V'',
    ''TxBias'': ''mA'',
    ''TxPower'': ''dbm'',
    ''RxPower'': ''dbm''
};
var outArr = [];
inArray.forEach(function (item, i, arr) {
    item[''{#ZYXEL.SFP.PORT}''] = item[''{#SNMPINDEX}''].split(''.'')[0];
    item[''{#ZYXEL.SFP.UNIT}''] = nameMap[item[''{#ZYXEL.SFP.DESCRIPTION}'']] === undefined ? "" : nameMap[item[''{#ZYXEL.SFP.DESCRIPTION}'']];
    item[''{#ZYXEL.SFP.WARN.MAX}''] /= 100;
    item[''{#ZYXEL.SFP.WARN.MIN}''] /= 100;
    outArr.push(item)
});
return JSON.stringify(outArr);','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84916','35906','1','21','var inArray = JSON.parse(value);
var nameMap = {"1":"MAC", "2":"CPU", "3":"PHY"};
var outArr = [];
inArray.forEach(function(item, i, arr) {
item["{#ZYXEL.TEMP.ID}"] = nameMap[item["{#SNMPINDEX}"]]
outArr.push(item)
});
return JSON.stringify(outArr);','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84917','35907','1','21','var inArray = JSON.parse(value);
var outArr = []
inArray.forEach(function(item, i, arr) {
item["{#ZYXEL.VOLT.NOMINAL}"] = "+" + item["{#ZYXEL.VOLT.NOMINAL}"] / 1000 + "V";
item["{#ZYXEL.VOLT.THRESH.LOW}"] = item["{#ZYXEL.VOLT.THRESH.LOW}"] / 1000;
outArr.push(item)
});
return JSON.stringify(outArr);','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84918','35908','1','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84919','35909','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84920','35910','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84921','35911','1','13','0
100','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84922','35911','2','21','return +parseFloat(value).toFixed(0);','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84923','35912','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84924','35913','1','1','8','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84925','35913','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84926','35914','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84927','35915','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84928','35916','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84929','35917','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84930','35918','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84931','35919','1','13','0
100','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84932','35919','2','21','return +parseFloat(value).toFixed(0);','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84933','35920','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84934','35921','1','1','8','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84935','35921','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84936','35922','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84937','35923','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84938','35924','1','1','1000000','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84939','35924','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84940','35925','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84941','35926','1','1','0.01','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84942','35926','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84943','35927','1','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84944','35928','1','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84945','35929','1','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84946','35930','1','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84947','35931','1','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84948','35932','1','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84949','35933','1','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84950','35934','1','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84951','35935','1','1','0.001','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84952','35935','2','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84953','35936','1','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84954','35937','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84955','35939','1','21','var inArray = JSON.parse(value);
var tmpObj = {};
inArray.forEach(function(item, i, arr) {
  tmpObj[item["{#SNMPINDEX}"]] = item["{#SNMP.ARRAY}"]
});
var strOut = ''V'' + tmpObj["1.0"] + ''.'' + tmpObj["2.0"]
  + ''('' + tmpObj["3.0"] + ''.'' + tmpObj["4.0"] + '')_''
  + tmpObj["7.0"] + ''.'' + tmpObj["6.0"] + ''.'' + tmpObj["5.0"];
return strOut;','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84956','35939','2','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84957','35940','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84958','35941','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84959','35942','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84960','35943','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84961','35944','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84962','35945','1','1','0.01','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84963','35948','1','21','var inArray = JSON.parse(value);
var nameMap = {
    ''Temperature'': ''°C'',
    ''Voltage'': ''V'',
    ''TxBias'': ''mA'',
    ''TxPower'': ''dbm'',
    ''RxPower'': ''dbm''
};
var outArr = [];
inArray.forEach(function (item, i, arr) {
    item[''{#ZYXEL.SFP.PORT}''] = item[''{#SNMPINDEX}''].split(''.'')[0];
    item[''{#ZYXEL.SFP.UNIT}''] = nameMap[item[''{#ZYXEL.SFP.DESCRIPTION}'']] === undefined ? "" : nameMap[item[''{#ZYXEL.SFP.DESCRIPTION}'']];
    item[''{#ZYXEL.SFP.WARN.MAX}''] /= 100;
    item[''{#ZYXEL.SFP.WARN.MIN}''] /= 100;
    outArr.push(item)
});
return JSON.stringify(outArr);','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84964','35950','1','21','var inArray = JSON.parse(value);
var nameMap = {"1":"MAC", "2":"CPU", "3":"PHY"};
var outArr = [];
inArray.forEach(function(item, i, arr) {
item["{#ZYXEL.TEMP.ID}"] = nameMap[item["{#SNMPINDEX}"]]
outArr.push(item)
});
return JSON.stringify(outArr);','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84965','35951','1','21','var inArray = JSON.parse(value);
var outArr = []
inArray.forEach(function(item, i, arr) {
item["{#ZYXEL.VOLT.NOMINAL}"] = "+" + item["{#ZYXEL.VOLT.NOMINAL}"] / 1000 + "V";
item["{#ZYXEL.VOLT.THRESH.LOW}"] = item["{#ZYXEL.VOLT.THRESH.LOW}"] / 1000;
outArr.push(item)
});
return JSON.stringify(outArr);','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84966','35952','1','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84967','35953','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84968','35954','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84969','35955','1','13','0
100','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84970','35955','2','21','return +parseFloat(value).toFixed(0);','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84971','35956','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84972','35957','1','1','8','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84973','35957','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84974','35958','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84975','35959','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84976','35960','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84977','35961','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84978','35962','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84979','35963','1','13','0
100','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84980','35963','2','21','return +parseFloat(value).toFixed(0);','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84981','35964','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84982','35965','1','1','8','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84983','35965','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84984','35966','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84985','35967','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84986','35968','1','1','1000000','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84987','35968','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84988','35969','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84989','35970','1','1','0.01','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84990','35970','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84991','35971','1','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84992','35972','1','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84993','35973','1','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84994','35974','1','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84995','35975','1','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84996','35976','1','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84997','35977','1','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84998','35978','1','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('84999','35979','1','1','0.001','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85000','35979','2','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85001','35980','1','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85002','35981','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85003','35983','1','21','var inArray = JSON.parse(value);
var tmpObj = {};
inArray.forEach(function(item, i, arr) {
  tmpObj[item["{#SNMPINDEX}"]] = item["{#SNMP.ARRAY}"]
});
var strOut = ''V'' + tmpObj["1.0"] + ''.'' + tmpObj["2.0"]
  + ''('' + tmpObj["3.0"] + ''.'' + tmpObj["4.0"] + '')_''
  + tmpObj["7.0"] + ''.'' + tmpObj["6.0"] + ''.'' + tmpObj["5.0"];
return strOut;','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85004','35983','2','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85005','35984','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85006','35985','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85007','35986','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85008','35987','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85009','35988','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85010','35989','1','1','0.01','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85011','35992','1','21','var inArray = JSON.parse(value);
var nameMap = {
    ''Temperature'': ''°C'',
    ''Voltage'': ''V'',
    ''TxBias'': ''mA'',
    ''TxPower'': ''dbm'',
    ''RxPower'': ''dbm''
};
var outArr = [];
inArray.forEach(function (item, i, arr) {
    item[''{#ZYXEL.SFP.PORT}''] = item[''{#SNMPINDEX}''].split(''.'')[0];
    item[''{#ZYXEL.SFP.UNIT}''] = nameMap[item[''{#ZYXEL.SFP.DESCRIPTION}'']] === undefined ? "" : nameMap[item[''{#ZYXEL.SFP.DESCRIPTION}'']];
    item[''{#ZYXEL.SFP.WARN.MAX}''] /= 100;
    item[''{#ZYXEL.SFP.WARN.MIN}''] /= 100;
    outArr.push(item)
});
return JSON.stringify(outArr);','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85012','35994','1','21','var inArray = JSON.parse(value);
var nameMap = {"1":"MAC", "2":"CPU", "3":"PHY"};
var outArr = [];
inArray.forEach(function(item, i, arr) {
item["{#ZYXEL.TEMP.ID}"] = nameMap[item["{#SNMPINDEX}"]]
outArr.push(item)
});
return JSON.stringify(outArr);','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85013','35995','1','21','var inArray = JSON.parse(value);
var outArr = []
inArray.forEach(function(item, i, arr) {
item["{#ZYXEL.VOLT.NOMINAL}"] = "+" + item["{#ZYXEL.VOLT.NOMINAL}"] / 1000 + "V";
item["{#ZYXEL.VOLT.THRESH.LOW}"] = item["{#ZYXEL.VOLT.THRESH.LOW}"] / 1000;
outArr.push(item)
});
return JSON.stringify(outArr);','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85014','35996','1','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85015','35997','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85016','35998','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85017','35999','1','13','0
100','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85018','35999','2','21','return +parseFloat(value).toFixed(0);','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85019','36000','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85020','36001','1','1','8','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85021','36001','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85022','36002','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85023','36003','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85024','36004','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85025','36005','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85026','36006','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85027','36007','1','13','0
100','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85028','36007','2','21','return +parseFloat(value).toFixed(0);','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85029','36008','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85030','36009','1','1','8','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85031','36009','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85032','36010','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85033','36011','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85034','36012','1','1','1000000','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85035','36012','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85036','36013','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85037','36014','1','1','0.01','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85038','36014','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85039','36015','1','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85040','36016','1','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85041','36017','1','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85042','36018','1','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85043','36019','1','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85044','36020','1','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85045','36021','1','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85046','36022','1','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85047','36023','1','1','0.001','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85048','36023','2','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85049','36024','1','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85050','36025','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85051','36027','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85052','36028','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85053','36029','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85054','36031','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85055','36032','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85056','36033','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85057','36034','1','1','0.01','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85058','36037','1','21','var inArray = JSON.parse(value);
var nameMap = {
    ''Temperature'': ''°C'',
    ''Voltage'': ''V'',
    ''TxBias'': ''mA'',
    ''TxPower'': ''dbm'',
    ''RxPower'': ''dbm''
};
var outArr = [];
inArray.forEach(function (item, i, arr) {
    item[''{#ZYXEL.SFP.PORT}''] = item[''{#SNMPINDEX}''].split(''.'')[0];
    item[''{#ZYXEL.SFP.UNIT}''] = nameMap[item[''{#ZYXEL.SFP.DESCRIPTION}'']] === undefined ? "" : nameMap[item[''{#ZYXEL.SFP.DESCRIPTION}'']];
    item[''{#ZYXEL.SFP.WARN.MAX}''] /= 100;
    item[''{#ZYXEL.SFP.WARN.MIN}''] /= 100;
    outArr.push(item)
});
return JSON.stringify(outArr);','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85059','36040','1','21','var inArray = JSON.parse(value);
var outArr = []
inArray.forEach(function(item, i, arr) {
item["{#ZYXEL.VOLT.THRESH.LOW}"] /= 1000;
outArr.push(item)
});
return JSON.stringify(outArr);','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85060','36041','1','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85061','36042','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85062','36043','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85063','36044','1','13','0
100','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85064','36044','2','21','return +parseFloat(value).toFixed(0);','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85065','36045','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85066','36046','1','1','8','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85067','36046','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85068','36047','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85069','36048','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85070','36049','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85071','36050','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85072','36051','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85073','36052','1','13','0
100','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85074','36052','2','21','return +parseFloat(value).toFixed(0);','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85075','36053','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85076','36054','1','1','8','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85077','36054','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85078','36055','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85079','36056','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85080','36057','1','1','1000000','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85081','36057','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85082','36058','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85083','36059','1','1','0.01','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85084','36059','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85085','36060','1','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85086','36061','1','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85087','36062','1','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85088','36063','1','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85089','36064','1','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85090','36065','1','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85091','36066','1','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85092','36067','1','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85093','36068','1','1','0.001','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85094','36068','2','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85095','36069','1','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85096','36070','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85097','36072','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85098','36073','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85099','36074','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85100','36076','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85101','36077','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85102','36078','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85103','36079','1','1','0.01','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85104','36082','1','21','var inArray = JSON.parse(value);
var nameMap = {
    ''Temperature'': ''°C'',
    ''Voltage'': ''V'',
    ''TxBias'': ''mA'',
    ''TxPower'': ''dbm'',
    ''RxPower'': ''dbm''
};
var outArr = [];
inArray.forEach(function (item, i, arr) {
    item[''{#ZYXEL.SFP.PORT}''] = item[''{#SNMPINDEX}''].split(''.'')[0];
    item[''{#ZYXEL.SFP.UNIT}''] = nameMap[item[''{#ZYXEL.SFP.DESCRIPTION}'']] === undefined ? "" : nameMap[item[''{#ZYXEL.SFP.DESCRIPTION}'']];
    item[''{#ZYXEL.SFP.WARN.MAX}''] /= 100;
    item[''{#ZYXEL.SFP.WARN.MIN}''] /= 100;
    outArr.push(item)
});
return JSON.stringify(outArr);','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85105','36085','1','21','var inArray = JSON.parse(value);
var outArr = []
inArray.forEach(function(item, i, arr) {
item["{#ZYXEL.VOLT.THRESH.LOW}"] /= 1000;
outArr.push(item)
});
return JSON.stringify(outArr);','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85106','36086','1','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85107','36087','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85108','36088','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85109','36089','1','13','0
100','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85110','36089','2','21','return +parseFloat(value).toFixed(0);','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85111','36090','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85112','36091','1','1','8','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85113','36091','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85114','36092','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85115','36093','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85116','36094','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85117','36095','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85118','36096','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85119','36097','1','13','0
100','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85120','36097','2','21','return +parseFloat(value).toFixed(0);','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85121','36098','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85122','36099','1','1','8','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85123','36099','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85124','36100','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85125','36101','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85126','36102','1','1','1000000','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85127','36102','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85128','36103','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85129','36104','1','1','0.01','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85130','36104','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85131','36105','1','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85132','36106','1','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85133','36107','1','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85134','36108','1','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85135','36109','1','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85136','36110','1','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85137','36111','1','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85138','36112','1','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85139','36113','1','1','0.001','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85140','36113','2','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85141','36114','1','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85142','36115','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85143','36117','1','21','var inArray = JSON.parse(value);
var tmpObj = {};
inArray.forEach(function(item, i, arr) {
  tmpObj[item["{#SNMPINDEX}"]] = item["{#SNMP.ARRAY}"]
});
var strOut = ''V'' + tmpObj["1.0"] + ''.'' + tmpObj["2.0"]
  + ''('' + tmpObj["3.0"] + ''.'' + tmpObj["4.0"] + '')_''
  + tmpObj["7.0"] + ''.'' + tmpObj["6.0"] + ''.'' + tmpObj["5.0"];
return strOut;','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85144','36117','2','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85145','36118','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85146','36119','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85147','36120','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85148','36121','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85149','36122','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85150','36123','1','1','0.01','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85151','36127','1','21','var inArray = JSON.parse(value);
var nameMap = {
    ''Temperature'': ''°C'',
    ''Voltage'': ''V'',
    ''TxBias'': ''mA'',
    ''TxPower'': ''dbm'',
    ''RxPower'': ''dbm''
};
var outArr = [];
inArray.forEach(function (item, i, arr) {
    item[''{#ZYXEL.SFP.PORT}''] = item[''{#SNMPINDEX}''].split(''.'')[0];
    item[''{#ZYXEL.SFP.UNIT}''] = nameMap[item[''{#ZYXEL.SFP.DESCRIPTION}'']] === undefined ? "" : nameMap[item[''{#ZYXEL.SFP.DESCRIPTION}'']];
    item[''{#ZYXEL.SFP.WARN.MAX}''] /= 100;
    item[''{#ZYXEL.SFP.WARN.MIN}''] /= 100;
    outArr.push(item)
});
return JSON.stringify(outArr);','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85152','36129','1','21','var inArray = JSON.parse(value);
var nameMap = {"1":"MAC", "2":"CPU", "3":"PHY"};
var outArr = [];
inArray.forEach(function(item, i, arr) {
item["{#ZYXEL.TEMP.ID}"] = nameMap[item["{#SNMPINDEX}"]]
outArr.push(item)
});
return JSON.stringify(outArr);','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85153','36130','1','21','var inArray = JSON.parse(value);
var outArr = []
inArray.forEach(function(item, i, arr) {
item["{#ZYXEL.VOLT.NOMINAL}"] = "+" + item["{#ZYXEL.VOLT.NOMINAL}"] / 1000 + "V";
item["{#ZYXEL.VOLT.THRESH.LOW}"] = item["{#ZYXEL.VOLT.THRESH.LOW}"] / 1000;
outArr.push(item)
});
return JSON.stringify(outArr);','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85154','36131','1','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85155','36132','1','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85156','36133','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85157','36134','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85158','36135','1','13','0
100','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85159','36135','2','21','return +parseFloat(value).toFixed(0);','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85160','36136','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85161','36137','1','1','8','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85162','36137','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85163','36138','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85164','36139','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85165','36140','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85166','36141','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85167','36142','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85168','36143','1','13','0
100','1','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85169','36143','2','21','return +parseFloat(value).toFixed(0);','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85170','36144','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85171','36145','1','1','8','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85172','36145','2','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85173','36146','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85174','36147','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85175','36148','1','1','1000000','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85176','36148','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85177','36149','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85178','36150','1','1','0.01','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85179','36150','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85180','36151','1','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85181','36152','1','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85182','36153','1','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85183','36154','1','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85184','36155','1','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85185','36156','1','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85186','36157','1','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85187','36158','1','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85188','36159','1','1','0.001','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85189','36159','2','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85190','31422','1','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85192','31974','1','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85194','36160','1','20','12h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85195','36161','1','20','12h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85196','36162','1','20','12h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85197','36163','1','20','12h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85198','36164','1','20','12h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85199','36165','1','1','0.01','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85200','36167','1','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85201','36171','1','21','var result = [];

JSON.parse(value).forEach(function (netif) {
    if (typeof netif["{#IFNAME}"] === ''undefined'') {
        netif["{#IFNAME}"] = netif["{#IFDESCR}"];
    }
    if (typeof netif["{#IFALIAS}"] === ''undefined'') {
        netif["{#IFALIAS}"] = "";
    }
    result.push(netif);
});

return JSON.stringify(result);','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85202','36178','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85203','36179','1','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85204','36180','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85205','36181','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85206','36182','1','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85207','36183','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85208','36184','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85209','36185','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85210','36186','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85211','36187','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85212','36187','2','1','8','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85213','36188','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85214','36189','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85215','36190','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85216','36191','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85217','36192','1','10','','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85218','36192','2','1','8','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85219','36193','1','1','1000000','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85220','36193','2','20','1h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85221','36194','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85222','36195','1','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85223','36196','1','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85224','36197','1','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85225','36198','1','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85226','36199','1','1','1048576','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85227','36199','2','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85228','36200','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85229','36201','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85230','36202','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85231','36203','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85232','36204','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85233','36205','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85234','36206','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85235','36207','1','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85236','36208','1','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85237','36209','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85238','36210','1','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85239','36211','1','1','1048576','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85240','36211','2','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85241','36212','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85242','36213','1','21',E'function request(url) {
    api_request = new HttpRequest();
    api_request.addHeader(''Authorization: Basic '' + btoa(params.user + '':'' + params.password));
    Zabbix.log(4, ''[ DELL ] Sending request: '' + url);

    try {
        response = api_request.get(url);
    } catch (error) {
        Zabbix.log(4, ''[ DELL ] Get request returned error '' + error);
        throw ''Get request returned error '' + error + ''. Check debug log for more information.'';
    }

    Zabbix.log(4, ''[ DELL ] Received response with status code '' +
        api_request.getStatus() + ''\\n'' + response);

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

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

    if (response !== null) {
        try {
            response = JSON.parse(response);
        }
        catch (error) {
            Zabbix.log(4, ''[ DELL ] Failed to parse response.'');
            response = null;
        }
    }

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

function getField(object, field, def) {
    var names = field.split(''.'');
    var name = names.shift();

    while (typeof name !== ''undefined'') {
        if (typeof object === undefined || typeof object[name] === ''undefined'') {
            return def;
        }

        object = object[name];
        name = names.shift();
    }

    return object;
}

try {
    system = JSON.parse(value);
}
catch (error) {
    Zabbix.log(4, ''[ DELL ] Failed to parse response.'');
    system = null;
}

var params = {
    url: ''{$API.URL}'',
    user: ''{$API.USER}'',
    password: ''{$API.PASSWORD}''
};
var result = {
    model: '''',
    serialnumber: '''',
    status: '''',
    firmware: ''''
};

var index = params.url.indexOf(''://'');
index = params.url.indexOf(''/'', (index !== -1) ? (index + 3) : 0);
if (index !== -1) {
    params.url = params.url.substring(0, index);
}

result.model = getField(system, ''Model'', '''');
result.serialnumber = getField(system, ''Oem.Dell.DellSystem.ChassisServiceTag'', '''');
result.status = getField(system, ''Status.Health'', '''');

response = request(params.url + ''/redfish/v1/Managers/iDRAC.Embedded.1'');
result.firmware = getField(response.body, ''FirmwareVersion'', '''');

return JSON.stringify(result);','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85243','36215','1','12','$.firmware','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85244','36215','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85245','36216','1','12','$.model','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85246','36216','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85247','36217','1','12','$.serialnumber','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85248','36217','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85249','36218','1','12','$.status','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85250','36218','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85251','36219','1','21',E'function request(url) {
    api_request = new HttpRequest();
    api_request.addHeader(''Authorization: Basic '' + btoa(params.user + '':'' + params.password));
    Zabbix.log(4, ''[ DELL ] Sending request: '' + url);

    try {
        response = api_request.get(url);
    } catch (error) {
        Zabbix.log(4, ''[ DELL ] Get request returned error '' + error);
        throw ''Get request returned error '' + error + ''. Check debug log for more information.'';
    }

    Zabbix.log(4, ''[ DELL ] Received response with status code '' +
        api_request.getStatus() + ''\\n'' + response);

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

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

    if (response !== null) {
        try {
            response = JSON.parse(response);
        }
        catch (error) {
            Zabbix.log(4, ''[ DELL ] Failed to parse response.'');
            response = null;
        }
    }

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

function getField(object, field, def) {
    var names = field.split(''.'');
    var name = names.shift();

    while (typeof name !== ''undefined'') {
        if (typeof object === undefined || typeof object[name] === ''undefined'') {
            return def;
        }

        object = object[name];
        name = names.shift();
    }

    return object;
}

try {
    storages = JSON.parse(value);
}
catch (error) {
    Zabbix.log(4, ''[ DELL ] Failed to parse response.'');
    storages = null;
}

var params = {
    url: ''{$API.URL}'',
    user: ''{$API.USER}'',
    password: ''{$API.PASSWORD}''
};
var result = [];

var index = params.url.indexOf(''://'');
index = params.url.indexOf(''/'', (index !== -1) ? (index + 3) : 0);
if (index !== -1) {
    params.url = params.url.substring(0, index);
}

if (storages.Members instanceof Array) {
    storages.Members.forEach(function (storage) {
        if (typeof storage["@odata.id"] === ''string'') {
            response = request(params.url + storage["@odata.id"]);
            controller = response.body;
            if (getField(controller, ''Id'', '''').search(''RAID'') > -1) {
                result.push({
                    ''{#BATTERY_NAME}'': getField(response.body, ''Oem.Dell.DellControllerBattery.Name'', ''''),
                    ''{#ODATA}'': controller["@odata.id"]
                });
            }
        }
    });
}

return JSON.stringify(result);','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85252','36219','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85253','36220','1','21',E'function request(url) {
    api_request = new HttpRequest();
    api_request.addHeader(''Authorization: Basic '' + btoa(params.user + '':'' + params.password));
    Zabbix.log(4, ''[ DELL ] Sending request: '' + url);

    try {
        response = api_request.get(url);
    } catch (error) {
        Zabbix.log(4, ''[ DELL ] Get request returned error '' + error);
        throw ''Get request returned error '' + error + ''. Check debug log for more information.'';
    }

    Zabbix.log(4, ''[ DELL ] Received response with status code '' +
        api_request.getStatus() + ''\\n'' + response);

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

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

    if (response !== null) {
        try {
            response = JSON.parse(response);
        }
        catch (error) {
            Zabbix.log(4, ''[ DELL ] Failed to parse response.'');
            response = null;
        }
    }

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

function getField(object, field, def) {
    var names = field.split(''.'');
    var name = names.shift();

    while (typeof name !== ''undefined'') {
        if (typeof object === undefined || typeof object[name] === ''undefined'') {
            return def;
        }

        object = object[name];
        name = names.shift();
    }

    return object;
}

try {
    storages = JSON.parse(value);
}
catch (error) {
    Zabbix.log(4, ''[ DELL ] Failed to parse response.'');
    storages = null;
}

var params = {
    url: ''{$API.URL}'',
    user: ''{$API.USER}'',
    password: ''{$API.PASSWORD}''
};
var result = [];

var index = params.url.indexOf(''://'');
index = params.url.indexOf(''/'', (index !== -1) ? (index + 3) : 0);
if (index !== -1) {
    params.url = params.url.substring(0, index);
}

if (storages.Members instanceof Array) {
    storages.Members.forEach(function (storage) {
        if (typeof storage["@odata.id"] === ''string'') {
            response = request(params.url + storage["@odata.id"]);
            controller = response.body;
            if (getField(controller, ''Id'', '''').search(''RAID'') > -1) {
                result.push({
                    ''{#CNTLR_NAME}'': getField(response.body, ''Name'', ''''),
                    ''{#SLOT}'': getField(response.body, ''Oem.Dell.DellController.PCISlot'', ''''),
                    ''{#ODATA}'': controller["@odata.id"]
                });
            }
        }
    });
}

return JSON.stringify(result);','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85254','36220','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85255','36221','1','21',E'function request(url) {
    api_request = new HttpRequest();
    api_request.addHeader(''Authorization: Basic '' + btoa(params.user + '':'' + params.password));
    Zabbix.log(4, ''[ DELL ] Sending request: '' + url);

    try {
        response = api_request.get(url);
    } catch (error) {
        Zabbix.log(4, ''[ DELL ] Get request returned error '' + error);
        throw ''Get request returned error '' + error + ''. Check debug log for more information.'';
    }

    Zabbix.log(4, ''[ DELL ] Received response with status code '' +
        api_request.getStatus() + ''\\n'' + response);

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

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

    if (response !== null) {
        try {
            response = JSON.parse(response);
        }
        catch (error) {
            Zabbix.log(4, ''[ DELL ] Failed to parse response.'');
            response = null;
        }
    }

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

try {
    sensors = JSON.parse(value);
}
catch (error) {
    Zabbix.log(4, ''[ DELL ] Failed to parse response.'');
    sensors = null;
}

var params = {
    url: ''{$API.URL}'',
    user: ''{$API.USER}'',
    password: ''{$API.PASSWORD}''
};
var result = [];

var index = params.url.indexOf(''://'');
index = params.url.indexOf(''/'', (index !== -1) ? (index + 3) : 0);
if (index !== -1) {
    params.url = params.url.substring(0, index);
}

if (sensors.Members instanceof Array) {
    sensors.Members.forEach(function (sensor) {
        if (typeof sensor["@odata.id"] === ''string'') {
            response = request(params.url + sensor["@odata.id"]);
            if (response.body.ReadingType === ''Rotational'') {
                if (typeof response.body.Name === ''string'') {
                    result.push({ ''{#SENSOR_NAME}'': response.body.Name, ''{#ODATA}'': sensor["@odata.id"] });
                }
            }
        }
    });
}

return JSON.stringify(result);','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85256','36221','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85257','36222','1','21',E'function request(url) {
    api_request = new HttpRequest();
    api_request.addHeader(''Authorization: Basic '' + btoa(params.user + '':'' + params.password));
    Zabbix.log(4, ''[ DELL ] Sending request: '' + url);

    try {
        response = api_request.get(url);
    } catch (error) {
        Zabbix.log(4, ''[ DELL ] Get request returned error '' + error);
        throw ''Get request returned error '' + error + ''. Check debug log for more information.'';
    }

    Zabbix.log(4, ''[ DELL ] Received response with status code '' +
        api_request.getStatus() + ''\\n'' + response);

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

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

    if (response !== null) {
        try {
            response = JSON.parse(response);
        }
        catch (error) {
            Zabbix.log(4, ''[ DELL ] Failed to parse response.'');
            response = null;
        }
    }

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

function getField(object, field, def) {
    var names = field.split(''.'');
    var name = names.shift();

    while (typeof name !== ''undefined'') {
        if (typeof object === undefined || typeof object[name] === ''undefined'') {
            return def;
        }

        object = object[name];
        name = names.shift();
    }

    return object;
}

try {
    adapters = JSON.parse(value);
}
catch (error) {
    Zabbix.log(4, ''[ DELL ] Failed to parse response.'');
    adapters = null;
}

var params = {
    url: ''{$API.URL}'',
    user: ''{$API.USER}'',
    password: ''{$API.PASSWORD}''
};
var result = [];

var index = params.url.indexOf(''://'');
index = params.url.indexOf(''/'', (index !== -1) ? (index + 3) : 0);
if (index !== -1) {
    params.url = params.url.substring(0, index);
}

if (adapters.Members instanceof Array) {
    adapters.Members.forEach(function (adapter) {
        if (typeof adapter["@odata.id"] === ''string'') {
            response = request(params.url + adapter["@odata.id"] + "/NetworkPorts");
            ports = response.body;
            if (ports.Members instanceof Array) {
                ports.Members.forEach(function (port) {
                    if (typeof port["@odata.id"] === ''string'') {
                        response = request(params.url + port["@odata.id"]);
                        result.push({ ''{#IFNAME}'': getField(response.body, ''Id'', ''''), ''{#ODATA}'': port["@odata.id"] });
                    }
                });
            }
        }
    });
}

return JSON.stringify(result);','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85258','36222','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85259','36223','1','21',E'function request(url) {
    api_request = new HttpRequest();
    api_request.addHeader(''Authorization: Basic '' + btoa(params.user + '':'' + params.password));
    Zabbix.log(4, ''[ DELL ] Sending request: '' + url);

    try {
        response = api_request.get(url);
    } catch (error) {
        Zabbix.log(4, ''[ DELL ] Get request returned error '' + error);
        throw ''Get request returned error '' + error + ''. Check debug log for more information.'';
    }

    Zabbix.log(4, ''[ DELL ] Received response with status code '' +
        api_request.getStatus() + ''\\n'' + response);

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

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

    if (response !== null) {
        try {
            response = JSON.parse(response);
        }
        catch (error) {
            Zabbix.log(4, ''[ DELL ] Failed to parse response.'');
            response = null;
        }
    }

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

function getField(object, field, def) {
    var names = field.split(''.'');
    var name = names.shift();

    while (typeof name !== ''undefined'') {
        if (typeof object === undefined || typeof object[name] === ''undefined'') {
            return def;
        }

        object = object[name];
        name = names.shift();
    }

    return object;
}

try {
    storages = JSON.parse(value);
}
catch (error) {
    Zabbix.log(4, ''[ DELL ] Failed to parse response.'');
    storages = null;
}

var params = {
    url: ''{$API.URL}'',
    user: ''{$API.USER}'',
    password: ''{$API.PASSWORD}''
};
var result = [];

var index = params.url.indexOf(''://'');
index = params.url.indexOf(''/'', (index !== -1) ? (index + 3) : 0);
if (index !== -1) {
    params.url = params.url.substring(0, index);
}

if (storages.Members instanceof Array) {
    storages.Members.forEach(function (storage) {
        if (typeof storage["@odata.id"] === ''string'') {
            response = request(params.url + storage["@odata.id"]);
            drives = response.body;
            if (drives.Drives instanceof Array) {
                drives.Drives.forEach(function (drive) {
                    if (typeof drive["@odata.id"] === ''string'') {
                        response = request(params.url + drive["@odata.id"]);
                        result.push({ ''{#DISK_NAME}'': getField(response.body, ''Name'', ''''), ''{#ODATA}'': drive["@odata.id"] });
                    }
                });
            }
        }
    });
}

return JSON.stringify(result);','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85260','36223','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85261','36224','1','21',E'function request(url) {
    api_request = new HttpRequest();
    api_request.addHeader(''Authorization: Basic '' + btoa(params.user + '':'' + params.password));
    Zabbix.log(4, ''[ DELL ] Sending request: '' + url);

    try {
        response = api_request.get(url);
    } catch (error) {
        Zabbix.log(4, ''[ DELL ] Get request returned error '' + error);
        throw ''Get request returned error '' + error + ''. Check debug log for more information.'';
    }

    Zabbix.log(4, ''[ DELL ] Received response with status code '' +
        api_request.getStatus() + ''\\n'' + response);

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

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

    if (response !== null) {
        try {
            response = JSON.parse(response);
        }
        catch (error) {
            Zabbix.log(4, ''[ DELL ] Failed to parse response.'');
            response = null;
        }
    }

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

function getField(object, field, def) {
    var names = field.split(''.'');
    var name = names.shift();

    while (typeof name !== ''undefined'') {
        if (typeof object === undefined || typeof object[name] === ''undefined'') {
            return def;
        }

        object = object[name];
        name = names.shift();
    }

    return object;
}

try {
    sensors = JSON.parse(value);
}
catch (error) {
    Zabbix.log(4, ''[ DELL ] Failed to parse response.'');
    sensors = null;
}

var params = {
    url: ''{$API.URL}'',
    user: ''{$API.USER}'',
    password: ''{$API.PASSWORD}''
};
var result = [];

var index = params.url.indexOf(''://'');
index = params.url.indexOf(''/'', (index !== -1) ? (index + 3) : 0);
if (index !== -1) {
    params.url = params.url.substring(0, index);
}

if (sensors.Members instanceof Array) {
    sensors.Members.forEach(function (sensor) {
        if (typeof sensor["@odata.id"] === ''string'') {
            response = request(params.url + sensor["@odata.id"]);
            if (getField(response.body, ''ReadingType'', '''') === ''Voltage'') {
                result.push({ ''{#SENSOR_NAME}'': getField(response.body, ''Name'', ''''), ''{#ODATA}'': sensor["@odata.id"] });
            }
        }
    });
}

return JSON.stringify(result);','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85262','36224','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85263','36225','1','21',E'function request(url) {
    api_request = new HttpRequest();
    api_request.addHeader(''Authorization: Basic '' + btoa(params.user + '':'' + params.password));
    Zabbix.log(4, ''[ DELL ] Sending request: '' + url);

    try {
        response = api_request.get(url);
    } catch (error) {
        Zabbix.log(4, ''[ DELL ] Get request returned error '' + error);
        throw ''Get request returned error '' + error + ''. Check debug log for more information.'';
    }

    Zabbix.log(4, ''[ DELL ] Received response with status code '' +
        api_request.getStatus() + ''\\n'' + response);

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

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

    if (response !== null) {
        try {
            response = JSON.parse(response);
        }
        catch (error) {
            Zabbix.log(4, ''[ DELL ] Failed to parse response.'');
            response = null;
        }
    }

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

function getField(object, field, def) {
    var names = field.split(''.'');
    var name = names.shift();

    while (typeof name !== ''undefined'') {
        if (typeof object === undefined || typeof object[name] === ''undefined'') {
            return def;
        }

        object = object[name];
        name = names.shift();
    }

    return object;
}

try {
    sensors = JSON.parse(value);
}
catch (error) {
    Zabbix.log(4, ''[ DELL ] Failed to parse response.'');
    sensors = null;
}

var params = {
    url: ''{$API.URL}'',
    user: ''{$API.USER}'',
    password: ''{$API.PASSWORD}''
};
var result = [];

var index = params.url.indexOf(''://'');
index = params.url.indexOf(''/'', (index !== -1) ? (index + 3) : 0);
if (index !== -1) {
    params.url = params.url.substring(0, index);
}

if (sensors.Members instanceof Array) {
    sensors.Members.forEach(function (sensor) {
        if (typeof sensor["@odata.id"] === ''string'') {
            response = request(params.url + sensor["@odata.id"]);
            if (getField(response.body, ''ReadingType'', '''') === ''Temperature'') {
                result.push({ ''{#SENSOR_NAME}'': getField(response.body, ''Name'', ''''), ''{#ODATA}'': sensor["@odata.id"] });
            }
        }
    });
}

return JSON.stringify(result);','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85264','36225','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85265','36226','1','21',E'function request(url) {
    api_request = new HttpRequest();
    api_request.addHeader(''Authorization: Basic '' + btoa(params.user + '':'' + params.password));
    Zabbix.log(4, ''[ DELL ] Sending request: '' + url);

    try {
        response = api_request.get(url);
    } catch (error) {
        Zabbix.log(4, ''[ DELL ] Get request returned error '' + error);
        throw ''Get request returned error '' + error + ''. Check debug log for more information.'';
    }

    Zabbix.log(4, ''[ DELL ] Received response with status code '' +
        api_request.getStatus() + ''\\n'' + response);

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

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

    if (response !== null) {
        try {
            response = JSON.parse(response);
        }
        catch (error) {
            Zabbix.log(4, ''[ DELL ] Failed to parse response.'');
            response = null;
        }
    }

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

function getField(object, field, def) {
    var names = field.split(''.'');
    var name = names.shift();

    while (typeof name !== ''undefined'') {
        if (typeof object === undefined || typeof object[name] === ''undefined'') {
            return def;
        }

        object = object[name];
        name = names.shift();
    }

    return object;
}

try {
    storages = JSON.parse(value);
}
catch (error) {
    Zabbix.log(4, ''[ DELL ] Failed to parse response.'');
    storages = null;
}

var params = {
    url: ''{$API.URL}'',
    user: ''{$API.USER}'',
    password: ''{$API.PASSWORD}''
};
var result = [];

var index = params.url.indexOf(''://'');
index = params.url.indexOf(''/'', (index !== -1) ? (index + 3) : 0);
if (index !== -1) {
    params.url = params.url.substring(0, index);
}

if (storages.Members instanceof Array) {
    storages.Members.forEach(function (storage) {
        if (typeof storage["@odata.id"] === ''string'') {
            response = request(params.url + storage["@odata.id"] + "/Volumes");
            volumes = response.body;
            if (volumes.Members instanceof Array) {
                volumes.Members.forEach(function (volume) {
                    if (typeof volume["@odata.id"] === ''string'') {
                        response = request(params.url + volume["@odata.id"]);
                        result.push({ ''{#DISK_NAME}'': getField(response.body, ''Name'', ''''), ''{#ODATA}'': volume["@odata.id"] });
                    }
                });
            }
        }
    });
}

return JSON.stringify(result);','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85266','36226','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85267','36227','1','12','$.Oem.Dell.DellControllerBattery.PrimaryStatus','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85268','36227','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85269','36228','1','12','$.Status.Health','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85270','36228','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85271','36235','1','12','$.Reading','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85272','36236','1','12','$.Status.Health','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85273','36236','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85274','36237','1','12','$.Status.Health','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85275','36237','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85276','36238','1','12','$.CurrentLinkSpeedMbps','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85277','36238','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85278','36239','1','12','$.Status.State','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85279','36239','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85280','36240','1','12','$.LinkStatus','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85281','36240','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85282','36241','1','12','$.MediaType','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85283','36241','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85284','36242','1','12','$.Model','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85285','36242','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85286','36243','1','12','$.SerialNumber','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85287','36243','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85288','36244','1','12','$.CapacityBytes','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85289','36244','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85290','36245','1','12','$.Status.Health','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85291','36245','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85292','36246','1','12','$.Status.Health','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85293','36246','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85294','36247','1','12','$.Status.Health','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85295','36247','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85296','36248','1','12','$.Reading','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85297','36249','1','12','$.Oem.Dell.DellVirtualDisk.RaidStatus','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85298','36249','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85299','36250','1','12','$.Oem.Dell.DellVirtualDisk.ReadCachePolicy','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85300','36250','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85301','36251','1','12','$.CapacityBytes','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85302','36251','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85303','36252','1','12','$.Status.State','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85304','36252','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85305','36253','1','12','$.Status.Health','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85306','36253','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85307','36254','1','12','$.Oem.Dell.DellVirtualDisk.WriteCachePolicy','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85308','36254','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85309','36255','1','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85310','36256','1','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85311','36257','1','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85312','36258','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85313','36259','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85314','36260','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85315','36261','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85316','36262','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85317','36263','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85318','36264','1','20','1d','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85319','36265','1','1','0.01','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85320','36267','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85321','36268','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85322','36269','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85323','36270','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85324','36271','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85325','36272','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85326','36273','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85327','36274','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85328','36275','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85329','36276','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85330','36277','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85331','36279','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85332','36280','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85333','36281','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85334','36282','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85335','36283','1','1','1048576','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85336','36283','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85337','36284','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85338','36285','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85339','36286','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85340','36287','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85341','36288','1','1','0.1','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85342','36288','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85343','36289','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85344','36291','1','1','1048576','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85345','36291','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85346','36293','1','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85347','36295','1','21',E'function request(url) {
    api_request = new HttpRequest();
    api_request.addHeader(''Authorization: Basic '' + btoa(params.user + '':'' + params.password));
    Zabbix.log(4, ''[ DELL ] Sending request: '' + url);

    try {
        response = api_request.get(url);
    } catch (error) {
        Zabbix.log(4, ''[ DELL ] Get request returned error '' + error);
        throw ''Get request returned error '' + error + ''. Check debug log for more information.'';
    }

    Zabbix.log(4, ''[ DELL ] Received response with status code '' +
        api_request.getStatus() + ''\\n'' + response);

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

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

    if (response !== null) {
        try {
            response = JSON.parse(response);
        }
        catch (error) {
            Zabbix.log(4, ''[ DELL ] Failed to parse response.'');
            response = null;
        }
    }

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

function getField(object, field, def) {
    var names = field.split(''.'');
    var name = names.shift();

    while (typeof name !== ''undefined'') {
        if (typeof object === undefined || typeof object[name] === ''undefined'') {
            return def;
        }

        object = object[name];
        name = names.shift();
    }

    return object;
}

try {
    system = JSON.parse(value);
}
catch (error) {
    Zabbix.log(4, ''[ DELL ] Failed to parse response.'');
    system = null;
}

var params = {
    url: ''{$API.URL}'',
    user: ''{$API.USER}'',
    password: ''{$API.PASSWORD}''
};
var result = {
    model: '''',
    serialnumber: '''',
    status: '''',
    firmware: ''''
};

var index = params.url.indexOf(''://'');
index = params.url.indexOf(''/'', (index !== -1) ? (index + 3) : 0);
if (index !== -1) {
    params.url = params.url.substring(0, index);
}

result.model = getField(system, ''Model'', '''');
result.serialnumber = getField(system, ''Oem.Dell.DellSystem.ChassisServiceTag'', '''');
result.status = getField(system, ''Status.Health'', '''');

response = request(params.url + ''/redfish/v1/Managers/iDRAC.Embedded.1'');
result.firmware = getField(response.body, ''FirmwareVersion'', '''');

return JSON.stringify(result);','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85348','36297','1','12','$.firmware','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85349','36297','2','20','6h','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85350','36298','1','12','$.model','0','');
INSERT INTO item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values ('85351','36298','2','20','6h','0','');
