('97007','45633','1','12','$.total_memory_mb_usage','3','Could not parse the detailed tenant report'),
('97008','45633','2','21','return Math.round(value * 100) / 100;','0',''),
('97009','45633','3','20','1h','0',''),
('97010','45634','1','12','$.total_vcpus_usage','3','Could not parse the detailed tenant report'),
('97011','45634','2','21','return Math.round(value * 100) / 100;','0',''),
('97012','45634','3','20','1h','0',''),
('97015','45646','1','26','-1','2','0'),
('97016','45654','1','12','$.conflicts','0',''),
('97017','45654','2','10','','0',''),
('97018','45655','1','12','$.deadlocks','0',''),
('97019','45655','2','10','','0',''),
('97020','45656','1','12','$.blks_hit','0',''),
('97021','45656','2','10','','0',''),
('97022','45657','1','12','$.blk_write_time','0',''),
('97023','45657','2','1','0.001','0',''),
('97024','45658','1','12','$.blk_read_time','0',''),
('97025','45658','2','1','0.001','0',''),
('97026','45659','1','12','$.blks_read','0',''),
('97027','45659','2','10','','0',''),
('97028','45660','1','12','$.temp_bytes','0',''),
('97029','45660','2','10','','0',''),
('97030','45661','1','12','$.numbackends','0',''),
('97031','45662','1','12','$.count','0',''),
('97032','45663','1','12','$.temp_files','0',''),
('97033','45663','2','10','','0',''),
('97034','45664','1','12','$.tup_deleted','0',''),
('97035','45664','2','10','','0',''),
('97036','45665','1','12','$.tup_fetched','0',''),
('97037','45665','2','10','','0',''),
('97038','45666','1','12','$.tup_inserted','0',''),
('97039','45666','2','10','','0',''),
('97040','45667','1','12','$.tup_returned','0',''),
('97041','45667','2','10','','0',''),
('97042','45668','1','12','$.tup_updated','0',''),
('97043','45668','2','10','','0',''),
('97044','45669','1','12','$.xact_commit','0',''),
('97045','45669','2','10','','0',''),
('97046','45670','1','12','$.xact_rollback','0',''),
('97047','45670','2','10','','0',''),
('97048','45671','1','12','$.total_pct','0',''),
('97049','45672','1','12','$.receive','0',''),
('97050','45672','2','10','','0',''),
('97051','45673','1','12','$.waiting','0',''),
('97052','45674','1','12','$.maxwritten_clean','0',''),
('97053','45674','2','10','','0',''),
('97054','45675','1','12','$.total','0',''),
('97055','45676','1','12','$.buffers_clean','0',''),
('97056','45676','2','10','','0',''),
('97057','45677','1','12','$.archived_count','0',''),
('97058','45678','1','12','$.count_files','0',''),
('97059','45679','1','12','$.failed_count','0',''),
('97060','45680','1','12','$.size_files','0',''),
('97061','45681','1','12','$.buffers_alloc','0',''),
('97062','45681','2','10','','0',''),
('97063','45682','1','12','$.buffers_backend','0',''),
('97064','45682','2','10','','0',''),
('97065','45683','1','12','$.buffers_backend_fsync','0',''),
('97066','45683','2','10','','0',''),
('97067','45684','1','12','$.buffers_checkpoint','0',''),
('97068','45684','2','10','','0',''),
('97069','45685','1','12','$.checkpoints_req','0',''),
('97070','45685','2','10','','0',''),
('97071','45686','1','12','$.prepared','0',''),
('97072','45687','1','12','$.checkpoints_timed','0',''),
('97073','45687','2','10','','0',''),
('97074','45688','1','12','$.checkpoint_sync_time','0',''),
('97075','45688','2','1','0.001','0',''),
('97076','45688','3','10','','0',''),
('97077','45689','1','12','$.checkpoint_write_time','0',''),
('97078','45689','2','1','0.001','0',''),
('97079','45689','3','10','','0',''),
('97080','45690','1','12','$.active','0',''),
('97081','45691','1','12','$.disabled','0',''),
('97082','45692','1','12','$.fastpath_function_call','0',''),
('97083','45693','1','12','$.idle','0',''),
('97084','45694','1','12','$.idle_in_transaction','0',''),
('97085','45695','1','12','$.idle_in_transaction_aborted','0',''),
('97086','45696','1','12','$.write','0',''),
('97087','45696','2','10','','0',''),
('97088','45698','1','20','3h','0',''),
('97089','45702','1','12','$[''{#DBNAME}'']','1',''),
('97090','45703','1','12','$[''{#DBNAME}'']','1',''),
('97091','45704','1','12','$[''{#DBNAME}'']','1',''),
('97092','45705','1','12','$[''{#APPLICATION_NAME}'']','1',''),
('97093','45706','1','12','$.rowexclusive','0',''),
('97094','45707','1','12','$[''{#DBNAME}''].rowshare','1',''),
('97095','45708','1','12','$.sharerowexclusive','0',''),
('97096','45709','1','12','$.shareupdateexclusive','0',''),
('97097','45710','1','12','$.share','0',''),
('97098','45711','1','12','$.total','0',''),
('97099','45712','1','12','$.mro_slow_count','0',''),
('97100','45713','1','12','$.tx_time_max','0',''),
('97101','45714','1','12','$.exclusive','0',''),
('97102','45715','1','12','$.mro_time_sum','0',''),
('97103','45716','1','12','$.query_slow_count','0',''),
('97104','45717','1','12','$.query_time_max','0',''),
('97105','45718','1','12','$.query_time_sum','0',''),
('97106','45719','1','12','$.tx_slow_count','0',''),
('97107','45720','1','12','$.mro_time_max','0',''),
('97108','45721','1','12','$.accessexclusive','0',''),
('97109','45722','1','12','$.accessshare','0',''),
('97110','45723','1','12','$.numbackends','0',''),
('97111','45724','1','12','$.blks_hit','0',''),
('97112','45724','2','10','','0',''),
('97113','45725','1','12','$.blks_read','0',''),
('97114','45725','2','10','','0',''),
('97115','45726','1','12','$.blk_read_time','0',''),
('97116','45726','2','1','0.001','0',''),
('97117','45726','3','10','','0',''),
('97118','45727','1','12','$.blk_write_time','0',''),
('97119','45727','2','1','0.001','0',''),
('97120','45727','3','10','','0',''),
('97121','45728','1','12','$.conflicts','0',''),
('97122','45728','2','10','','0',''),
('97123','45729','1','12','$.deadlocks','0',''),
('97124','45729','2','10','','0',''),
('97125','45730','1','12','$.temp_bytes','0',''),
('97126','45730','2','10','','0',''),
('97127','45731','1','12','$.xact_rollback','0',''),
('97128','45731','2','10','','0',''),
('97129','45732','1','12','$.temp_files','0',''),
('97130','45732','2','10','','0',''),
('97131','45733','1','12','$.tup_deleted','0',''),
('97132','45733','2','10','','0',''),
('97133','45734','1','12','$.tup_fetched','0',''),
('97134','45734','2','10','','0',''),
('97135','45735','1','12','$.tup_inserted','0',''),
('97136','45735','2','10','','0',''),
('97137','45736','1','12','$.tup_returned','0',''),
('97138','45736','2','10','','0',''),
('97139','45737','1','12','$.tup_updated','0',''),
('97140','45737','2','10','','0',''),
('97141','45738','1','12','$.xact_commit','0',''),
('97142','45738','2','10','','0',''),
('97143','45739','1','12','$.tx_time_sum','0',''),
('97144','45740','1','12','$.flush_lag','0',''),
('97145','45741','1','12','$.replay_lag','0',''),
('97146','45742','1','12','$.write_lag','0',''),
('97147','45748','1','12','$.error','0',''),
('97148','45748','2','20','1h','0',''),
('97149','45749','1','21','try {
	var creds = JSON.parse(value);
}
catch (error) {
	throw ''Failed to parse authentication data from input value.'';
}

var request = new HttpRequest(),
	devices = [],
	error_msg = "",
	url = "{$SDWAN.API.URL}",
	http_proxy = "{$SDWAN.HTTP_PROXY}";

function getHttpData(url, token, cookie) {
	request.addHeader(''Cookie: '' + cookie);
	request.addHeader(''X-XSRF-TOKEN: '' + token);
	response = request.get(url);
	Zabbix.log(4, ''[ SD-WAN API ] [ '' + url + '' ] Received response with status code '' + request.getStatus() + '': '' + response);

	if (request.getStatus() !== 200) {
		throw ''Failed to receive data: invalid response status code.'';
	}

	if (response !== null) {
		try {
			response = JSON.parse(response);
		}
		catch (error) {
			throw ''Failed to parse response received from SD-WAN API. Check debug log for more information.'';
		}
	}

	if (typeof response !== ''object'' || response === null) {
		throw ''Cannot process response data: received data is not an object.'';
	}

	return response;
};

try {

	[''token'', ''cookie''].forEach(function (field) {
		if (creds[field] === null || creds[field] == "" || typeof creds[field] === ''undefined'') {
			throw ''Unexpected token value has been received''
			+ ((typeof creds.error !== ''undefined'' && creds.error != "") ? '': '' + creds.error : '''');
		}
	});

	if (url === ''{'' + ''$SDWAN.API.URL}'') {
		throw ''Please change {'' + ''$SDWAN.API.URL} macro to the proper value.'';
	}

	if (url.indexOf(''http://'') === -1 && url.indexOf(''https://'') === -1) {
		url = ''https://'' + url;
	}

	if (!url.endsWith(''/'')) {
		url += ''/'';
	}

	if (http_proxy !== ''{'' + ''$SDWAN.HTTP_PROXY}'' && http_proxy !== '''') {
		request.setProxy(http_proxy);
	}

	devices = getHttpData(
		url + ''dataservice/device'',
		creds.token,
		creds.cookie
	);

	if (Array.isArray(devices.data)) {
		devices = devices.data;
	}
	else {
		throw ''Failed to parse response received from SD-WAN API. Check debug log for more information.'';
	}

} catch (err) {
	error_msg = err;
};

return JSON.stringify({
	''devices'': devices.map(function (device) {
		obj = {
			''name'': device[''host-name''],
			''token'': creds.token,
			''cookie'': creds.cookie,
			''id'': device[''deviceId''],
			''uuid'': device[''uuid''],
			''type'': device[''device-type''],
			''model'': device[''device-model''],
			''ip'': device[''system-ip''],
			''int_ip'': device[''local-system-ip''],
			''cert_valid'': device[''certificate-validity'']
		};

		return obj;
	}),
	''error'': error_msg.toString()
});','0',''),
('97150','45750','1','12','$["device-model"]','0',''),
('97151','45751','1','12','$.error','0',''),
('97152','45751','2','20','1h','0',''),
('97153','45752','1','12','$.error','0',''),
('97154','45752','2','20','1h','0',''),
('97155','45753','1','12','$.version','0',''),
('97156','45753','2','20','12h','0',''),
('97157','45754','1','12','$["uptime-date"]','0',''),
('97158','45754','2','21','return (Math.floor(Date.now()/1000)-Math.floor(Number(value)/1000));','0',''),
('97159','45755','1','12','$.state_description','0',''),
('97160','45755','2','20','1h','0',''),
('97161','45756','1','12','$.state','0',''),
('97162','45756','2','21','const idx = [
	''green'',
	''yellow'',
	''red''
].indexOf(value);
return idx !== -1 ? idx : 10;','0',''),
('97163','45757','1','12','$["board-serial"]','0',''),
('97164','45758','1','12','$.device_role','2','-1'),
('97165','45759','1','12','$.reachability','0',''),
('97166','45759','2','21','const idx = [
	''reachable'',
	''unreachable'',
	''auth-failed'',
	''staging''
].indexOf(value);
return idx !== -1 ? idx : 10;','0',''),
('97167','45760','1','12','$.procs','0',''),
('97168','45761','1','12','$["device-os"]','0',''),
('97169','45761','2','20','1d','0',''),
('97170','45762','1','12','$.platform','0',''),
('97171','45762','2','20','1d','0',''),
('97172','45763','1','12','$["certificate-validity"]','2','Unknown'),
('97173','45763','2','21','const idx = [
	''Valid'',
	''Invalid'',
].indexOf(value);
return idx !== -1 ? idx : 10;','0',''),
('97174','45764','1','12','$.cpu_idle','0',''),
('97175','45765','1','12','$.controlConnections','2','0'),
('97176','45765','2','14','^[0-9]+$','2','0'),
('97177','45766','1','12','$.min1_avg','0',''),
('97178','45767','1','12','$.min5_avg','0',''),
('97179','45768','1','12','$.min15_avg','0',''),
('97180','45769','1','12','$.total_cpu_count','0',''),
('97181','45770','1','12','$.cpu_system','0',''),
('97182','45771','1','12','$.mem_used','0',''),
('97183','45772','1','12','$.cpu_user','0',''),
('97184','45773','1','12','$["host-name"]','0',''),
('97185','45773','2','20','12h','0',''),
('97186','45774','1','12','$.mem_free','0',''),
('97187','45775','1','12','$.mem_buffers','0',''),
('97188','45776','1','12','$.mem_cached','0',''),
('97189','45777','1','12','$.mem_total','0',''),
('97190','45778','1','12','$.error','0',''),
('97191','45778','2','20','1h','0',''),
('97192','45779','1','12','$.error','0',''),
('97193','45779','2','20','1h','0',''),
('97194','45780','1','12','$.devices[?(@.cert_valid != "Valid")].length()','0',''),
('97195','45781','1','12','$.devices.length()','0',''),
('97196','45781','2','20','1h','0',''),
('97197','45782','1','12','$.devices[?(@.type == "vbond")].length()','0',''),
('97198','45782','2','20','1h','0',''),
('97199','45783','1','12','$.devices[?(@.type == "vedge")].length()','0',''),
('97200','45783','2','20','1h','0',''),
('97201','45784','1','12','$.devices[?(@.type == "vmanage")].length()','0',''),
('97202','45784','2','20','1h','0',''),
('97203','45785','1','12','$.devices[?(@.type == "vsmart")].length()','0',''),
('97204','45785','2','20','1h','0',''),
('97205','45786','1','21','return (100 - value);','0',''),
('97206','45787','1','12','$.devices','0',''),
('97207','45788','1','21','var input = JSON.parse(value),
	output = [];

Object.keys(input).sort().forEach(function (key) {
	if (key.match(/(disk[-_]mount)/g)) {
		output.push(
			{
				''mount'': input[key],
				''key'': key.replace(/[-_]mount/, '''')
			}
		);
	}
});

return JSON.stringify(output);','0',''),
('97208','45788','2','20','3h','0',''),
('97209','45789','1','21','var input = JSON.parse(value),
	output = [];

input.data.forEach(function (if_item) {
	var desc = (typeof if_item[''desc''] !== ''undefined'')
		? if_item[''desc'']
		: ((typeof if_item[''description''] !== ''undefined'') ? if_item[''description''] : '''');
	output.push(
		{
			''key'': if_item[''vdevice-dataKey''],
			''ifindex'': if_item[''ifindex''],
			''name'': if_item[''ifname''],
			''description'': (desc != ''None'') ? desc : ''''
		}
	);
});

return JSON.stringify(output);','0',''),
('97210','45789','2','20','3h','0',''),
('97211','45790','1','12','$.data','2','[]'),
('97212','45791','1','21','var input = JSON.parse(value),
	output = {};

Object.keys(input).sort().forEach(function (key) {
	var re = new RegExp("^{#FSKEY}[-_]");
	if (key.match(re)) {
		output[key.replace(re, '''')] = input[key];
	}
});

return JSON.stringify(output);','0',''),
('97213','45792','1','12','$.data[?(@["vdevice-dataKey"] == "{#IFKEY}")].first()','1',''),
('97214','45793','1','12','$.data[?(@.local_color == "{#LOCAL}" && @.remote_color == "{#REMOTE}")].first()','1',''),
('97215','45793','2','20','3h','0',''),
('97216','45794','1','12','$.avail','0',''),
('97217','45794','2','21','const sizes = [''K'', ''M'', ''G'', ''T'', ''P'', ''E'', ''Z'', ''Y''];
var multiplier = sizes.indexOf(value.slice(-1));
if (multiplier === -1) {
	return value;
}
return Number(value.slice(0, -1)) * 1024 * multiplier;','0',''),
('97218','45795','1','12','$.use','0',''),
('97219','45796','1','12','$.size','0',''),
('97220','45796','2','21','const sizes = [''K'', ''M'', ''G'', ''T'', ''P'', ''E'', ''Z'', ''Y''];
var multiplier = sizes.indexOf(value.slice(-1));
if (multiplier === -1) {
	return value;
}
return Number(value.slice(0, -1)) * 1024 * multiplier;','0',''),
('97221','45797','1','12','$.used','0',''),
('97222','45797','2','21','const sizes = [''K'', ''M'', ''G'', ''T'', ''P'', ''E'', ''Z'', ''Y''];
var multiplier = sizes.indexOf(value.slice(-1));
if (multiplier === -1) {
	return value;
}
return Number(value.slice(0, -1)) * 1024 * multiplier;','0',''),
('97223','45798','1','12','$["if-admin-status"]','0',''),
('97224','45798','2','21','var idx = [
	''if-state-up'',
	''if-state-down''
].indexOf(value);
var idx = idx !== -1 ? idx : [
	''Up'',
	''Down'',
].indexOf(value);
return idx !== -1 ? idx : 10;','0',''),
('97225','45799','1','12','$["rx-drops"]','2','0'),
('97226','45800','1','12','$["rx-errors"]','2','0'),
('97227','45801','1','12','$["ipv6-rx-drops"]','2','-1'),
('97228','45802','1','12','$["ipv6-rx-errors"]','2','-1'),
('97229','45803','1','12','$["rx-octets"]','2','0'),
('97230','45803','2','10','','0',''),
('97231','45803','3','1','8','0',''),
('97232','45804','1','12','$["tx-drops"]','2','0'),
('97233','45805','1','12','$["tx-errors"]','2','0'),
('97234','45806','1','12','$["ipv6-tx-drops"]','2','-1'),
('97235','45807','1','12','$["ipv6-tx-errors"]','2','-1'),
('97236','45808','1','12','$["tx-octets"]','2','0'),
('97237','45808','2','10','','0',''),
('97238','45808','3','1','8','0',''),
('97239','45809','1','12','$["speed-mbps"]','0',''),
('97240','45809','2','1','1000000','0',''),
('97241','45810','1','12','$["if-oper-status"]','0',''),
('97242','45810','2','21','var idx = [
	''if-oper-state-ready'',
	''if-oper-state-lower-layer-down'',
	''if-oper-state-no-pass''
].indexOf(value);
var idx = idx !== -1 ? idx : [
	''Up'',
	''Down'',
].indexOf(value);
return idx !== -1 ? idx : 10;','0',''),
('97243','45811','1','12','$.jitter','0',''),
('97244','45812','1','12','$.latency','0',''),
('97245','45813','1','12','$.loss_percentage','0',''),
('97246','45814','1','12','$.iax.trunks[?(@.ObjectName==''{#OBJECTNAME}'')].first()','0',''),
('97247','45815','1','12','$.pjsip.trunks[?(@.ObjectName==''{#OBJECTNAME}'')].first()','0',''),
('97248','45816','1','12','$.queue.queues[?(@.Queue==''{#QUEUE}'')].first()','0',''),
('97249','45817','1','12','$.sip.trunks[?(@.ObjectName==''{#OBJECTNAME}'')].first()','0',''),
('97250','45819','1','12','$.projects','0',''),
('97251','45821','1','12','$.issues[?(@.severity.name==''feature'')].length()','0',''),
('97252','45822','1','12','$.issues.length()','0',''),
('97253','45823','1','12','$.issues[?(@.status.name==''resolved'')].length()','0',''),
('97254','45824','1','12','$.issues[?(@.status.name==''new'')].length()','0',''),
('97255','45825','1','12','$.issues[?(@.status.name==''feedback'')].length()','0',''),
('97256','45826','1','12','$.issues[?(@.status.name==''confirmed'')].length()','0',''),
('97257','45827','1','12','$.issues[?(@.status.name==''closed'')].length()','0',''),
('97258','45828','1','12','$.issues[?(@.status.name==''assigned'')].length()','0',''),
('97259','45829','1','12','$.issues[?(@.status.name==''acknowledged'')].length()','0',''),
('97260','45830','1','12','$.issues[?(@.severity.name==''tweak'')].length()','0',''),
('97261','45831','1','12','$.issues[?(@.severity.name==''trivial'')].length()','0',''),
('97262','45832','1','12','$.issues[?(@.severity.name==''text'')].length()','0',''),
('97263','45833','1','12','$.issues[?(@.severity.name==''minor'')].length()','0',''),
('97264','45834','1','12','$.issues[?(@.severity.name==''major'')].length()','0',''),
('97265','45835','1','12','$.issues[?(@.priority.name==''high'')].length()','0',''),
('97266','45836','1','12','$.issues[?(@.priority.name==''immediate'')].length()','0',''),
('97267','45837','1','12','$.issues[?(@.severity.name==''block'')].length()','0',''),
('97268','45838','1','12','$.issues[?(@.resolution.name==''wont fix'')].length()','0',''),
('97269','45839','1','12','$.issues[?(@.resolution.name==''unable to duplicate'')].length()','0',''),
('97270','45840','1','12','$.issues[?(@.resolution.name==''suspended'')].length()','0',''),
('97271','45841','1','12','$.issues[?(@.resolution.name==''reopened'')].length()','0',''),
('97272','45842','1','12','$.issues[?(@.resolution.name==''open'')].length()','0',''),
('97273','45843','1','12','$.issues[?(@.resolution.name==''no change required'')].length()','0',''),
('97274','45844','1','12','$.issues[?(@.resolution.name==''not fixable'')].length()','0',''),
('97275','45845','1','12','$.issues[?(@.resolution.name==''fixed'')].length()','0',''),
('97276','45846','1','12','$.issues[?(@.resolution.name==''duplicate'')].length()','0',''),
('97277','45847','1','12','$.issues[?(@.priority.name==''urgent'')].length()','0',''),
('97278','45848','1','12','$.issues[?(@.priority.name==''normal'')].length()','0',''),
('97279','45849','1','12','$.issues[?(@.priority.name==''none'')].length()','0',''),
('97280','45850','1','12','$.issues[?(@.priority.name==''low'')].length()','0',''),
('97281','45851','1','12','$.issues[?(@.severity.name==''crash'')].length()','0',''),
('97283','45854','1','20','1h','0',''),
('97284','45855','1','20','1h','0',''),
('97288','45859','1','20','1h','0',''),
('97290','45861','1','20','1h','0',''),
('97292','45863','1','21',E'try {
	var response = Object.keys(JSON.parse(value).header).filter(function (f) {
		return f.match(/HTTP\\/[\\d.]+\\s+\\d{3}/);
	});

	return response.pop();
}
catch (error) {
	return "HTTP/1.1 408 Request timeout";
}','0',''),
('97293','45863','2','20','1h','0',''),
('97294','45864','1','12','$.body[?(@.Name)].length()','0',''),
('97295','45865','1','12','$..region.first()','0',''),
('97296','45866','1','12','$.error','2','HTTP/1.1 200 OK'),
('97297','45866','2','20','1h','0',''),
('97298','45867','1','12','$[?(@.Name)].length()','0',''),
('97299','45868','1','21',E'try {
	var response = Object.keys(JSON.parse(value).header).filter(function (f) {
		return f.match(/HTTP\\/[\\d.]+\\s+\\d{3}/);
	});

	return response.pop();
}
catch (error) {
	return "HTTP/1.1 408 Request timeout";
}','0',''),
('97300','45868','2','20','1h','0',''),
('97301','45869','1','12','$.body','1',''),
('97302','45870','1','21',E'try {
	var response = Object.keys(JSON.parse(value).header).filter(function (f) {
		return f.match(/HTTP\\/[\\d.]+\\s+\\d{3}/);
	});

	return response.pop();
}
catch (error) {
	return "HTTP/1.1 408 Request timeout";
}','0',''),
('97303','45870','2','20','1h','0',''),
('97304','45871','1','21',E'try {
	var response = Object.keys(JSON.parse(value).header).filter(function (f) {
		return f.match(/HTTP\\/[\\d.]+\\s+\\d{3}/);
	});

	return response.pop();
}
catch (error) {
	return "HTTP/1.1 408 Request timeout";
}','0',''),
('97305','45871','2','20','1h','0',''),
('97306','45872','1','12','$.body..Version.first()','0',''),
('97307','45873','1','12','$.body.config.Version.Version','0',''),
('97308','45874','1','21',E'try {
	var response = Object.keys(JSON.parse(value).header).filter(function (f) {
		return f.match(/HTTP\\/[\\d.]+\\s+\\d{3}/);
	});

	return response.pop();
}
catch (error) {
	return "HTTP/1.1 408 Request timeout";
}','0',''),
('97309','45874','2','20','1h','0',''),
('97310','45875','1','12','$.body.stats.raft.state','1',''),
('97311','45875','2','21','const idx = [
	''Leader'',
	''Follower'',
	''Candidate'',
].indexOf(value);
return idx !== -1 ? idx : 10;','0',''),
('97312','45876','1','12','$.body.stats.raft.num_peers','1',''),
('97313','45877','1','21',E'try {
	var response = Object.keys(JSON.parse(value).header).filter(function (f) {
		return f.match(/HTTP\\/[\\d.]+\\s+\\d{3}/);
	});

	return response.pop();
}
catch (error) {
	return "HTTP/1.1 408 Request timeout";
}','0',''),
('97314','45877','2','20','1h','0',''),
('97315','45878','1','12','$.body','1',''),
('97316','45879','1','12','$.body.stats.raft.protocol_version','1',''),
('97317','45880','1','22','nomad_client_allocations_pending
value
','2','0'),
('97318','45881','1','22','nomad_client_host_memory_available
value
','1',''),
('97319','45882','1','22','nomad_client_uptime
value
','0',''),
('97320','45883','1','22','nomad_client_unallocated_memory
value
','1',''),
('97321','45883','2','1','1000000','0',''),
('97322','45884','1','22','nomad_client_unallocated_disk
value
','1',''),
('97323','45884','2','1','1000000','0',''),
('97324','45885','1','22','nomad_client_unallocated_cpu
value
','1',''),
('97325','45886','1','22','nomad_client_allocated_cpu
value
','1',''),
('97326','45887','1','22','nomad_client_allocated_disk
value
','1',''),
('97327','45887','2','1','1000000','0',''),
('97328','45888','1','22','nomad_client_allocated_memory
value
','1',''),
('97329','45888','2','1','1000000','0',''),
('97330','45889','1','22','nomad_client_host_memory_used
value
','0',''),
('97331','45890','1','22','nomad_client_host_memory_total
value
','0',''),
('97332','45891','1','22','nomad_client_host_memory_free
value
','0',''),
('97333','45892','1','22','nomad_client_allocations_blocked
value
','2','0'),
('97334','45893','1','22','nomad_client_allocs_restart
function
sum','2','0'),
('97335','45893','2','10','','0',''),
('97336','45893','3','20','1h','0',''),
('97337','45894','1','22','nomad_client_allocs_complete
function
sum','2','0'),
('97338','45894','2','10','','0',''),
('97339','45894','3','20','1h','0',''),
('97340','45895','1','22','nomad_client_allocs_failed
function
sum','2','0'),
('97341','45895','2','10','','0',''),
('97342','45895','3','20','1h','0',''),
('97343','45896','1','22','nomad_client_allocations_migrating
value
','2','0'),
('97344','45897','1','22','nomad_client_host_cpu_user
function
avg','1',''),
('97345','45898','1','22','nomad_client_allocs_oom_killed
value
','2','0'),
('97346','45898','2','20','1h','0',''),
('97347','45899','1','22','nomad_client_host_cpu_system
function
avg','1',''),
('97348','45900','1','22','nomad_client_host_cpu_idle
function
avg','1',''),
('97349','45901','1','22','nomad_client_allocations_terminal
value
','2','0'),
('97350','45902','1','22','nomad_client_allocations_start
value
','2','0'),
('97351','45903','1','22','nomad_client_allocations_running
value
','2','0'),
('97352','45904','1','22','nomad_client_host_cpu_total
function
avg','1',''),
('97353','45905','1','22','nomad_raft_boltdb_txstats_pageAlloc
value
','1',''),
('97354','45905','2','10','','0',''),
('97355','45906','1','22','nomad_raft_commitNumLogs
value
','1',''),
('97356','45907','1','22','nomad_raft_leader_dispatchNumLogs
value
','2','0'),
('97357','45908','1','22','nomad_raft_leader_dispatchLog_sum
value
','1',''),
('97358','45908','2','1','1.0E-9','0',''),
('97359','45909','1','22','nomad_raft_lastIndex
value
','1',''),
('97360','45910','1','22','nomad_nomad_fsm_register_node_sum
value
','1',''),
('97361','45910','2','1','1.0E-9','0',''),
('97362','45911','1','22','nomad_raft_boltdb_openReadTxn
value
','1',''),
('97363','45912','1','22','nomad_raft_fsm_enqueue_sum
value
','1',''),
('97364','45912','2','1','1.0E-9','0',''),
('97365','45913','1','22','nomad_nomad_fsm_autopilot_sum
value
','2','0'),
('97366','45913','2','1','1.0E-9','0',''),
('97367','45914','1','22','nomad_raft_fsm_apply_sum
value
','1',''),
('97368','45914','2','1','1.0E-9','0',''),
('97369','45915','1','22','nomad_nomad_worker_dequeue_eval_sum
value
','1',''),
('97370','45915','2','1','1.0E-9','0',''),
('97371','45916','1','22','nomad_raft_boltdb_totalReadTxn
value
','1',''),
('97372','45916','2','10','','0',''),
('97373','45917','1','22','nomad_raft_boltdb_txstats_pageCount
value
','1',''),
('97374','45918','1','22','nomad_raft_boltdb_txstats_writeTime_sum
value
','1',''),
('97375','45918','2','1','1.0E-9','0',''),
('97376','45919','1','22','nomad_raft_boltdb_txstats_write
value
','1',''),
('97377','45919','2','10','','0',''),
('97378','45920','1','22','nomad_raft_boltdb_txstats_split
value
','1',''),
('97379','45920','2','10','','0',''),
('97380','45921','1','22','nomad_raft_boltdb_txstats_spillTime_sum
value
','1',''),
('97381','45921','2','1','1.0E-9','0',''),
('97382','45922','1','22','nomad_raft_boltdb_txstats_cursorCount
value
','1',''),
('97383','45922','2','10','','0',''),
('97384','45923','1','22','nomad_raft_boltdb_txstats_nodeCount
value
','1',''),
('97385','45923','2','10','','0',''),
('97386','45924','1','22','nomad_raft_boltdb_txstats_nodeDeref
value
','1',''),
('97387','45924','2','10','','0',''),
('97388','45925','1','22','nomad_raft_boltdb_txstats_spill
value
','1',''),
('97389','45925','2','10','','0',''),
('97390','45926','1','22','nomad_raft_boltdb_txstats_rebalanceTime_sum
value
','1',''),
('97391','45926','2','1','1.0E-9','0',''),
('97392','45927','1','22','nomad_raft_boltdb_txstats_rebalance
value
','1',''),
('97393','45927','2','10','','0',''),
('97394','45928','1','22','nomad_raft_leader_lastContact{quantile="0.99"}
value
','1',''),
('97395','45928','2','25','NaN
0','0',''),
('97396','45928','3','1','0.001','0',''),
('97397','45929','1','22','nomad_nomad_rpc_query
value
','1',''),
('97398','45929','2','10','','0',''),
('97399','45930','1','22','nomad_raft_replication_appendEntries_rpc
function
avg','1',''),
('97400','45930','2','1','0.001','0',''),
('97401','45931','1','22','nomad_serf_queue_Query_sum
value
','1',''),
('97402','45932','1','22','nomad_nomad_worker_update_eval_sum
value
','1',''),
('97403','45932','2','1','1.0E-9','0',''),
('97404','45933','1','22','nomad_nomad_worker_submit_plan_sum
value
','1',''),
('97405','45933','2','1','1.0E-9','0',''),
('97406','45934','1','22','nomad_nomad_worker_send_ack_sum
value
','1',''),
('97407','45934','2','1','1.0E-9','0',''),
('97408','45935','1','22','nomad_nomad_worker_invoke_scheduler_service_sum
value
','1',''),
('97409','45935','2','1','1.0E-9','0',''),
('97410','45936','1','22','nomad_nomad_worker_dequeue_eval_sum
value
','1',''),
('97411','45936','2','1','1.0E-9','0',''),
('97412','45937','1','22','nomad_nomad_worker_dequeue_eval_sum
value
','1',''),
('97413','45937','2','1','1.0E-9','0',''),
('97414','45938','1','22','process_virtual_memory_bytes
value
','1',''),
('97415','45939','1','22','nomad_nomad_vault_token_ttl
value
','1',''),
('97416','45939','2','1','0.001','0',''),
('97417','45940','1','22','nomad_nomad_vault_token_next_renewal
value
','1',''),
('97418','45940','2','1','0.001','0',''),
('97419','45941','1','22','nomad_nomad_vault_token_last_renewal
value
','1',''),
('97420','45941','2','1','0.001','0',''),
('97421','45942','1','22','nomad_nomad_vault_distributed_tokens_revoking
value
','1',''),
('97422','45943','1','22','nomad_state_snapshotIndex
value
','1',''),
('97423','45944','1','22','nomad_serf_queue_Intent_sum
value
','1',''),
('97424','45945','1','22','nomad_raft_transition_heartbeat_timeout
value
','2','0'),
('97425','45945','2','20','1h','0',''),
('97426','45946','1','22','nomad_serf_queue_Event_sum
value
','1',''),
('97427','45947','1','22','nomad_scheduler_allocs_reschedule_attempted
function
sum','2','0'),
('97428','45948','1','22','nomad_runtime_total_gc_runs
value
','1',''),
('97429','45949','1','22','nomad_runtime_sys_bytes
value
','1',''),
('97430','45950','1','22','nomad_runtime_num_goroutines
value
','1',''),
('97431','45951','1','22','nomad_runtime_heap_objects
value
','1',''),
('97432','45952','1','22','nomad_runtime_gc_pause_ns_sum
value
','1',''),
('97433','45952','2','1','1.0E-9','0',''),
('97434','45953','1','22','nomad_runtime_free_count
value
','1',''),
('97435','45953','2','10','','0',''),
('97436','45954','1','22','nomad_runtime_alloc_bytes
value
','1',''),
('97437','45955','1','22','nomad_nomad_rpc_request
value
','1',''),
('97438','45955','2','10','','0',''),
('97439','45956','1','22','nomad_nomad_rpc_request
value
','1',''),
('97440','45956','2','10','','0',''),
('97441','45957','1','22','nomad_raft_boltdb_numFreePages
value
','1',''),
('97442','45958','1','22','process_resident_memory_bytes
value
','1',''),
('97443','45959','1','22','nomad_raft_boltdb_numPendingPages
value
','1',''),
('97444','45960','1','22','nomad_raft_barrier
value
','1',''),
('97445','45960','2','10','','0',''),
('97446','45961','1','22','nomad_raft_boltdb_freePageBytes
value
','1',''),
('97447','45962','1','22','nomad_nomad_broker_system_unacked
value
','1',''),
('97448','45963','1','22','nomad_nomad_fsm_apply_plan_results_sum
value
','1',''),
('97449','45963','2','1','1.0E-9','0',''),
('97450','45964','1','22','nomad_nomad_eval_ack_sum
value
','1',''),
('97451','45964','2','1','1.0E-9','0',''),
('97452','45965','1','22','process_cpu_seconds_total
value
','1',''),
('97453','45965','2','10','','0',''),
('97454','45966','1','22','nomad_nomad_client_update_status_sum
value
','1',''),
('97455','45966','2','1','1.0E-9','0',''),
('97456','45967','1','22','nomad_nomad_client_update_alloc_sum
value
','1',''),
('97457','45967','2','1','1.0E-9','0',''),
('97458','45968','1','22','nomad_nomad_client_list_sum
value
','1',''),
('97459','45968','2','1','1.0E-9','0',''),
('97460','45969','1','22','nomad_nomad_client_get_client_allocs_sum
value
','1',''),
('97461','45969','2','1','1.0E-9','0',''),
('97462','45970','1','22','nomad_nomad_eval_dequeue_sum
value
','1',''),
('97463','45970','2','1','1.0E-9','0',''),
('97464','45971','1','22','nomad_nomad_broker_total_waiting
value
','1',''),
('97465','45972','1','22','nomad_nomad_broker_total_unacked
value
','1',''),
('97466','45973','1','22','nomad_nomad_broker_total_ready
value
','1',''),
('97467','45974','1','22','nomad_nomad_broker_total_pending
value
','1',''),
('97468','45975','1','22','nomad_nomad_broker_system_ready
value
','1',''),
('97469','45976','1','22','nomad_nomad_fsm_update_eval_sum
value
','1',''),
('97470','45976','2','1','1.0E-9','0',''),
('97471','45977','1','22','nomad_nomad_broker_service_unacked
value
','1',''),
('97472','45978','1','22','nomad_nomad_broker_service_ready
value
','1',''),
('97473','45979','1','22','nomad_nomad_eval_ack_sum
function
avg','1',''),
('97474','45979','2','1','1.0E-9','0',''),
('97475','45980','1','22','nomad_nomad_blocked_evals_total_quota_limit
value
','1',''),
('97476','45981','1','22','nomad_nomad_blocked_evals_total_escaped
value
','1',''),
('97477','45982','1','22','nomad_nomad_blocked_evals_total_blocked
value
','1',''),
('97478','45983','1','22','nomad_nomad_blocked_evals_memory
value
','1',''),
('97479','45984','1','22','nomad_nomad_blocked_evals_job_memory
value
','1',''),
('97480','45985','1','22','nomad_nomad_blocked_evals_job_cpu
value
','1',''),
('97481','45986','1','22','nomad_nomad_blocked_evals_cpu
value
','1',''),
('97482','45987','1','22','nomad_nomad_autopilot_healthy
value
','1',''),
('97483','45988','1','22','nomad_nomad_autopilot_failure_tolerance
value
','1',''),
('97484','45989','1','22','nomad_nomad_fsm_alloc_client_update_sum
value
','1',''),
('97485','45989','2','1','1.0E-9','0',''),
('97486','45990','1','22','nomad_nomad_fsm_register_job_sum
value
','1',''),
('97487','45990','2','1','1.0E-9','0',''),
('97488','45991','1','22','nomad_nomad_heartbeat_active
value
','1',''),
('97489','45992','1','22','nomad_raft_boltdb_freelistBytes
value
','1',''),
('97490','45993','1','22','nomad_nomad_leader_reconcile_sum
value
','1',''),
('97491','45993','2','1','1.0E-9','0',''),
('97492','45994','1','22','nomad_raft_apply
value
','2','0'),
('97493','45994','2','10','','0',''),
('97494','45995','1','22','nomad_raft_appliedIndex
value
','1',''),
('97495','45996','1','22','process_open_fds
value
','1',''),
('97496','45997','1','22','process_max_fds
value
','1',''),
('97497','45998','1','22','nomad_nomad_plan_wait_for_index_sum
value
','1',''),
('97498','45998','2','1','1.0E-9','0',''),
('97499','45999','1','22','nomad_nomad_plan_submit_sum
value
','1',''),
('97500','45999','2','1','1.0E-9','0',''),
('97501','46000','1','22','nomad_nomad_plan_queue_depth
value
','1',''),
('97502','46001','1','22','nomad_nomad_plan_evaluate_sum
value
','1',''),
('97503','46001','2','1','1.0E-9','0',''),
('97504','46002','1','22','nomad_nomad_plan_apply_sum
value
','1',''),
('97505','46002','2','1','1.0E-9','0',''),
('97506','46003','1','22','nomad_nomad_namespace_list_namespace_sum
value
','1',''),
('97507','46003','2','1','1.0E-9','0',''),
('97508','46004','1','22','nomad_memberlist_gossip_sum
value
','1',''),
('97509','46004','2','1','1.0E-9','0',''),
('97510','46005','1','22','nomad_nomad_leader_reconcileMember_sum
value
','1',''),
('97511','46005','2','1','1.0E-9','0',''),
('97512','46006','1','22','nomad_nomad_leader_barrier_sum
value
','1',''),
('97513','46006','2','1','1.0E-9','0',''),
('97514','46007','1','22','nomad_nomad_job_allocations_sum
value
','1',''),
('97515','46007','2','1','1.0E-9','0',''),
('97516','46008','1','22','nomad_nomad_job_summary_unknown
function
sum','2','0'),
('97517','46009','1','22','nomad_nomad_job_summary_starting
function
sum','2','0'),
('97518','46010','1','22','nomad_nomad_job_summary_running
function
sum','2','0'),
('97519','46011','1','22','nomad_nomad_job_summary_queued
function
sum','2','0'),
('97520','46012','1','22','nomad_nomad_job_summary_lost
function
sum','2','0'),
('97521','46013','1','22','nomad_nomad_job_summary_get_job_summary_sum
value
','1',''),
('97522','46013','2','1','1.0E-9','0',''),
('97523','46014','1','22','nomad_nomad_job_summary_failed
function
sum','2','0'),
('97524','46015','1','22','nomad_nomad_job_summary_complete
function
sum','2','0'),
('97525','46016','1','22','nomad_nomad_job_status_running
value
','2','0'),
('97526','46017','1','22','nomad_nomad_job_status_pending
value
','2','0'),
('97527','46018','1','22','nomad_nomad_job_status_dead
value
','2','0'),
('97528','46019','1','22','nomad_nomad_job_get_job_sum
value
','1',''),
('97529','46019','2','1','1.0E-9','0',''),
('97530','46020','1','22','nomad_nomad_job_evaluations_sum
value
','1',''),
('97531','46020','2','1','1.0E-9','0',''),
('97532','46021','1','22','nomad_nomad_worker_wait_for_index_sum
value
','1',''),
('97533','46021','2','1','1.0E-9','0',''),
('97534','46022','1','12','$.body','1',''),
('97535','46022','2','20','1h','0',''),
('97536','46023','1','16','$.error','1',''),
('97537','46023','2','20','1h','0',''),
('97538','46024','1','21','var raw = JSON.parse(value),
	body = raw.body,
	exist_key = [],
	result = [];

function getField(data, path) {
	var steps = path.split(''.'');
	for (var i = 0; i < steps.length; i++) {
		var step = steps[i];
		if (typeof data !== ''object'' || typeof data[step] === ''undefined'') {
			throw ''Required field "'' + path + ''" is not present in data received.'';
		}
		data = data[step];
	}
	return data;
}

for (i in body) {
	var uniq_element = true;

	for (key in exist_key) {
		if ((exist_key[key].JobID == getField(body[i], ''JobID'')) &&
			(exist_key[key].TaskGroup == getField(body[i], ''TaskGroup'')) &&
			(exist_key[key].Namespace == getField(body[i], ''Namespace''))) {
			uniq_element = false;
		}
	}

	if (uniq_element) {
		exist_key.push({ ''JobID'': body[i].JobID, ''TaskGroup'': body[i].TaskGroup, ''Namespace'': body[i].Namespace });
		result.push(body[i]);
	}
}

return JSON.stringify(result);','0',''),
('97539','46024','2','20','1h','0',''),
('97540','46025','1','23','nomad_client_host_disk_available{disk=~".*"}','0',''),
('97541','46026','1','21','var raw = JSON.parse(value),
	body = raw.body[0],
	arr = [];

function getField(data, path) {
	var steps = path.split(''.'');
	for (var i = 0; i < steps.length; i++) {
		var step = steps[i];
		if (typeof data !== ''object'' || typeof data[step] === ''undefined'') {
			throw ''Required field "'' + path + ''" is not present in data received.'';
		}
		data = data[step];
	}
	return data;
}

var keys = Object.keys(getField(body,''Drivers''));

	for (k in keys) {
		arr.push({
			''{#DRIVER.NAME}'': keys[k],
			''{#DRIVER.DETECTED}'': getField(body.Drivers[keys[k]],''Detected''),
		});
	}

	return JSON.stringify(arr);','0',''),
('97542','46026','2','20','1h','0',''),
('97543','46027','1','12','$.body..Drivers.{#DRIVER.NAME}.Detected.first()','0',''),
('97544','46027','2','6','','0',''),
('97545','46028','1','12','$.body..Drivers.{#DRIVER.NAME}.Healthy.first()','0',''),
('97546','46028','2','6','','0',''),
('97547','46028','3','20','1h','0',''),
('97548','46029','1','22','nomad_client_allocs_cpu_allocated{job="{#JOB.NAME}",task_group="{#JOB.TASK.GROUP}",namespace="{#JOB.NAMESPACE}"}
function
avg','0',''),
('97549','46030','1','22','nomad_client_allocs_cpu_system{job="{#JOB.NAME}",task_group="{#JOB.TASK.GROUP}",namespace="{#JOB.NAMESPACE}"}
function
avg','0',''),
('97550','46031','1','22','nomad_client_allocs_cpu_throttled_periods{job="{#JOB.NAME}",task_group="{#JOB.TASK.GROUP}",namespace="{#JOB.NAMESPACE}"}
function
avg','0',''),
('97551','46031','2','1','1.0E-9','0',''),
('97552','46032','1','22','nomad_client_allocs_cpu_throttled_time{job="{#JOB.NAME}",task_group="{#JOB.TASK.GROUP}",namespace="{#JOB.NAMESPACE}"}
function
avg','1',''),
('97553','46032','2','1','1.0E-9','0',''),
('97554','46033','1','22','nomad_client_allocs_cpu_total_percent{job="{#JOB.NAME}",task_group="{#JOB.TASK.GROUP}",namespace="{#JOB.NAMESPACE}"}
function
avg','0',''),
('97555','46034','1','22','nomad_client_allocs_cpu_total_ticks{job="{#JOB.NAME}",task_group="{#JOB.TASK.GROUP}",namespace="{#JOB.NAMESPACE}"}
function
avg','0',''),
('97556','46035','1','22','nomad_client_allocs_cpu_user{job="{#JOB.NAME}",task_group="{#JOB.TASK.GROUP}",namespace="{#JOB.NAMESPACE}"}
function
avg','0',''),
('97557','46036','1','22','nomad_client_allocs_memory_allocated{job="{#JOB.NAME}",task_group="{#JOB.TASK.GROUP}",namespace="{#JOB.NAMESPACE}"}
function
avg','0',''),
('97558','46037','1','22','nomad_client_allocs_memory_cache{job="{#JOB.NAME}",task_group="{#JOB.TASK.GROUP}",namespace="{#JOB.NAMESPACE}"}
function
avg','0',''),
('97559','46038','1','22','nomad_client_allocs_memory_swap{job="{#JOB.NAME}",task_group="{#JOB.TASK.GROUP}",namespace="{#JOB.NAMESPACE}"}
function
avg','0',''),
('97560','46039','1','22','nomad_client_allocs_memory_usage{job="{#JOB.NAME}",task_group="{#JOB.TASK.GROUP}",namespace="{#JOB.NAMESPACE}"}
function
avg','0',''),
('97561','46040','1','22','nomad_client_host_disk_available{disk="{#DEV.NAME}"}
value
','0',''),
('97562','46041','1','22','nomad_client_host_disk_inodes_percent{disk="{#DEV.NAME}"}
value
','0',''),
('97563','46042','1','22','nomad_client_host_disk_size{disk="{#DEV.NAME}"}
value
','0',''),
('97564','46043','1','22','nomad_client_host_disk_used{disk="{#DEV.NAME}"}
value
','0',''),
('97565','46044','1','22','nomad_client_host_disk_used_percent{disk="{#DEV.NAME}"}
value
','0',''),
('97566','46046','1','12','$.data.process[''snmp poller''].busy.avg','3','Processes snmp poller not started'),
('97567','46049','1','12','$.data.process[''snmp poller''].busy.avg','3','No "snmp poller" processes started.'),
('97568','46050','1','21','value = JSON.parse(value)

var list = []
list.push({''scope'': value[''scope''].split('':'')[3], ''access_token'': value[''access_token'']})
return JSON.stringify(list);','0',''),
('97569','46051','1','12','$.items','0',''),
('97570','46052','1','12','$.items','0',''),
('97571','46053','1','12','$.items','0',''),
('97572','46055','1','12','$..[?(@.severity == ''critical'')].length()','0',''),
('97573','46055','2','20','1h','0',''),
('97574','46056','1','12','$..[?(@.severity == ''error'')].length()','0',''),
('97575','46056','2','20','1h','0',''),
('97576','46057','1','12','$..[?(@.severity == ''information'')].length()','0',''),
('97577','46057','2','20','1h','0',''),
('97578','46058','1','12','$..[?(@.severity == ''ok'')].length()','0',''),
('97579','46058','2','20','1h','0',''),
('97580','46059','1','12','$..[?(@.severity == ''warning'')].length()','0',''),
('97581','46059','2','20','1h','0',''),
('97582','46061','1','20','1h','0',''),
('97583','46062','1','20','1h','0',''),
('97584','46063','1','20','1h','0',''),
('97585','46064','1','12','$.items[0]','3','Could not parse resource status data'),
('97586','46065','1','12','$[?(@.id == "{#ALERT_ID}")].severity.first()','3','Could not find alert severity'),
('97587','46065','2','21','const idx = [
	''ok'',
	''warning'',
	''error'',
	''critical'',
	''information''
].indexOf(value);
return idx !== -1 ? idx : 10;','0',''),
('97588','46065','3','20','1h','0',''),
('97589','46066','1','12','$[?(@.name == "{#NAME}")].enabled.first()','3','Could not find customer status'),
('97590','46066','2','6','','0',''),
('97591','46066','3','20','1h','0',''),
('97592','46067','1','12','$.context.attributes.[?(@.name == "agent")].kvs.[?(@.key == "enabled")].value.first()','3','Could not parse agent status'),
('97593','46067','2','20','1h','0',''),
('97594','46068','1','12','$.aggregate.names','3','Could not parse protection plan name'),
('97595','46068','2','20','1h','0',''),
('97596','46069','1','12','$.policies.[?(@.type == "policy.security.vulnerability_assessment")].last_success_run.first()','1',''),
('97597','46069','2','21','return Math.floor(Date.parse(value) / 1000);','0',''),
('97598','46069','3','20','1h','0',''),
('97599','46070','1','12','$.policies.[?(@.type == "policy.security.vulnerability_assessment")].next_run.first()','1',''),
('97600','46070','2','21','return Math.floor(Date.parse(value) / 1000);','0',''),
('97601','46070','3','20','1h','0',''),
('97602','46071','1','12','$.aggregate.status','3','Could not parse protection status'),
('97603','46071','2','20','1h','0',''),
('97604','46072','1','12','$.policies.[?(@.type == "policy.security.antimalware_protection")].last_run.first()','1',''),
('97605','46072','2','21','return Math.floor(Date.parse(value) / 1000);','0',''),
('97606','46072','3','20','1h','0',''),
('97607','46073','1','12','$.policies.[?(@.type == "policy.security.antimalware_protection")].last_success_run.first()','1',''),
('97608','46073','2','21','return Math.floor(Date.parse(value) / 1000);','0',''),
('97609','46073','3','20','1h','0',''),
('97610','46074','1','12','$.policies.[?(@.type == "policy.security.antimalware_protection")].next_run.first()','1',''),
('97611','46074','2','21','return Math.floor(Date.parse(value) / 1000);','0',''),
('97612','46074','3','20','1h','0',''),
('97613','46075','1','12','$.policies.[?(@.type == "policy.security.patch_management")].last_run.first()','1',''),
('97614','46075','2','21','return Math.floor(Date.parse(value) / 1000);','0',''),
('97615','46075','3','20','1h','0',''),
('97616','46076','1','12','$.context.attributes.[?(@.name == "agent")].kvs.[?(@.key == "is_online")].value.first()','3','Could not parse agent reachability status'),
('97617','46076','2','20','1h','0',''),
('97618','46077','1','12','$.policies.[?(@.type == "policy.security.patch_management")].last_success_run.first()','1',''),
('97619','46077','2','21','return Math.floor(Date.parse(value) / 1000);','0',''),
('97620','46077','3','20','1h','0',''),
('97621','46078','1','12','$.policies.[?(@.type == "policy.security.patch_management")].next_run.first()','1',''),
('97622','46078','2','21','return Math.floor(Date.parse(value) / 1000);','0',''),
('97623','46078','3','20','1h','0',''),
('97624','46079','1','12','$.context.attributes.[?(@.name == "cyberfit")].details.[?(@.key == "cyberfit_score_value")].value.first()','2','-1'),
('97625','46079','2','20','1h','0',''),
('97626','46080','1','12','$.policies.[?(@.type == "policy.backup.machine")].last_run.first()','1',''),
('97627','46080','2','21','return Math.floor(Date.parse(value) / 1000);','0',''),
('97628','46080','3','20','1h','0',''),
('97629','46081','1','12','$.policies.[?(@.type == "policy.backup.machine")].last_success_run.first()','1',''),
('97630','46081','2','21','return Math.floor(Date.parse(value) / 1000);','0',''),
('97631','46081','3','20','1h','0',''),
('97632','46082','1','12','$.policies.[?(@.type == "policy.backup.machine")].next_run.first()','1',''),
('97633','46082','2','21','return Math.floor(Date.parse(value) / 1000);','0',''),
('97634','46082','3','20','1h','0',''),
('97635','46083','1','12','$.context.attributes.[?(@.name == "agent")].kvs.[?(@.key == "version")].value.first()','3','Could not parse agent version'),
('97636','46083','2','20','1h','0',''),
('97637','46084','1','12','$.policies.[?(@.type == "policy.security.vulnerability_assessment")].last_run.first()','1',''),
('97638','46084','2','21','return Math.floor(Date.parse(value) / 1000);','0',''),
('97639','46084','3','20','1h','0',''),
('97640','43082','1','26','-1','1',''),
('97641','43083','1','26','-1','1',''),
('97642','43156','1','26','-1','1',''),
('97643','43157','1','26','-1','1',''),
('97644','43158','3','20','1h','0',''),
('97645','43159','1','26','-1','1',''),
('97646','43160','3','20','3h','0',''),
('97647','43168','1','26','-1','1',''),
('97648','43018','1','26','-1','1',''),
('97649','32576','4','20','30m','0',''),
('97650','32577','4','20','30m','0',''),
('97651','32578','2','23','','0',''),
('97652','33391','1','26','-1','1',''),
('97653','33392','3','20','30m','0',''),
('97654','33393','1','26','-1','1',''),
('97655','33394','1','26','-1','1',''),
('97656','33395','1','26','-1','1',''),
('97657','39827','1','26','-1','1',''),
('97658','39876','1','26','-1','1',''),
('97659','39891','1','26','-1','1',''),
('97660','39978','1','26','-1','1',''),
('97661','40010','1','26','-1','1',''),
('97662','45852','1','26','-1','2','{"header":{"HTTP/1.1 408 Request timeout":""}}'),
('97663','45856','1','26','-1','2','{"header":{"HTTP/1.1 408 Request timeout":""}}'),
('97664','45857','1','26','-1','2','{"header":{"HTTP/1.1 408 Request timeout":""}}'),
('97665','45858','1','26','-1','2','{"header":{"HTTP/1.1 408 Request timeout":""}}'),
('97666','45860','1','26','-1','2','{"header":{"HTTP/1.1 408 Request timeout":""}}'),
('97667','45862','1','26','-1','2','{"header":{"HTTP/1.1 408 Request timeout":""}}'),
('97668','43547','1','26','-1','2','0'),
('97669','43556','1','26','-1','2','0'),
('97670','43563','1','26','-1','2','0'),
('97671','40119','1','26','-1','2','0'),
('97672','40120','1','26','-1','2','0'),
('97673','40121','1','26','-1','2','0'),
('97674','42739','1','26','-1','2','Error getting data'),
('97675','42740','1','26','-1','2','Error getting data'),
('97676','33630','1','26','-1','2','{"status":520,"data":{},"time":0}'),
('97677','36773','2','21','return JSON.parse(value).config ? 1 : 0','0',''),
('97678','32780','1','26','-1','1',''),
('97679','32781','1','26','-1','2','{"healthcheck": 0}'),
('97680','32782','1','26','-1','1',''),
('97681','33491','2','27','','2','{"html":{"head":{"title":"Connection error"}}}'),
('97682','33492','2','27','','2','{"html":{"head":{"title":"Connection error"}}}'),
('97683','33493','2','27','','2','{"html":{"head":{"title":"Connection error"}}}'),
('97684','33522','2','27','','2','{"html":{"head":{"title":"Connection error"}}}'),
('97685','45521','1','26','-1','1',''),
('97686','45522','1','26','-1','1',''),
('97687','43497','1','26','-1','1',''),
('97688','43498','1','26','-1','1',''),
('97689','43499','1','26','-1','1',''),
('97690','43528','1','26','-1','1',''),
('97691','45529','1','26','-1','1',''),
('97692','45530','1','26','-1','1',''),
('97693','45531','1','26','-1','1',''),
('97694','45544','1','26','-1','1',''),
('97695','45559','1','26','-1','1',''),
('97696','45560','1','26','-1','1',''),
('97697','45561','1','26','-1','1',''),
('97698','45576','1','26','-1','1',''),
('97699','43592','1','26','-1','1',''),
('97700','43593','1','26','-1','1',''),
('97701','43594','1','26','-1','1',''),
('97702','43595','1','26','-1','1',''),
('97703','43684','1','26','-1','1',''),
('97704','43685','1','26','-1','1',''),
('97705','44868','1','26','-1','1',''),
('97706','44869','1','26','-1','1',''),
('97707','44870','1','26','-1','1',''),
('97708','44871','1','26','-1','1',''),
('97709','44872','3','20','10m','0',''),
('97710','44873','1','26','-1','1',''),
('97711','44875','3','20','10m','0',''),
('97712','44876','1','26','-1','1',''),
('97713','44877','1','26','-1','1',''),
('97714','44878','1','26','-1','1',''),
('97715','44879','3','20','10m','0',''),
('97716','44881','1','26','-1','1',''),
('97717','44882','1','26','-1','1',''),
('97718','44883','1','26','-1','1',''),
('97719','45044','1','26','-1','1',''),
('97720','45078','2','12','$.p_used','0',''),
('97721','42931','3','20','3h','0',''),
('97722','42932','3','20','3h','0',''),
('97723','42933','1','26','-1','1',''),
('97724','36795','2','23','','0',''),
('97725','36796','3','20','30m','0',''),
('97726','45644','1','26','-1','1',''),
('97727','45646','2','20','1h','0',''),
('97728','34336','2','23','','0',''),
('97729','34337','1','26','-1','2','{"status": "0"}'),
('97730','34367','1','26','-1','2','{"status": "0"}'),
('97731','34368','2','23','','0',''),
('97732','34412','2','23','','0',''),
('97733','43770','2','1','0.01','0',''),
('97734','43771','2','1','0.01','0',''),
('97735','43772','2','1','0.01','0',''),
('97736','43773','2','1','0.01','0',''),
('97737','43774','2','1','0.01','0',''),
('97738','43775','2','1','0.01','0',''),
('97739','43776','2','1','0.01','0',''),
('97740','43777','2','1','0.01','0',''),
('97741','43778','2','1','0.01','0',''),
('97742','43779','2','1','0.01','0',''),
('97743','43780','2','1','0.01','0',''),
('97744','43781','2','1','0.01','0',''),
('97745','43782','2','1','0.01','0',''),
('97746','43783','2','1','0.01','0',''),
('97747','43784','2','1','0.01','0',''),
('97748','43785','2','1','0.01','0',''),
('97749','43786','2','1','0.01','0',''),
('97750','43787','2','1','0.01','0',''),
('97751','44667','2','1','0.01','0',''),
('97752','43788','2','1','0.01','0',''),
('97753','43789','2','1','0.01','0',''),
('97754','43790','2','1','0.01','0',''),
('97755','43791','2','1','0.01','0',''),
('97756','43792','2','1','0.01','0',''),
('97757','43793','2','1','0.01','0',''),
('97758','43794','2','1','0.01','0',''),
('97759','43795','2','1','0.01','0',''),
('97760','43796','2','1','0.01','0',''),
('97761','43797','2','1','0.01','0',''),
('97762','43798','2','1','0.01','0',''),
('97763','43799','2','1','0.01','0',''),
('97764','43800','2','1','0.01','0',''),
('97765','43801','2','1','0.01','0',''),
('97766','43802','2','1','0.01','0',''),
('97767','43803','2','1','0.01','0',''),
('97768','43804','2','1','0.01','0',''),
('97769','43805','2','1','0.01','0',''),
('97770','43806','2','1','0.01','0',''),
('97771','43807','2','1','0.01','0',''),
('97772','43808','2','1','0.01','0',''),
('97773','43809','2','1','0.01','0',''),
('97774','43810','2','1','0.01','0',''),
('97775','43811','2','1','0.01','0',''),
('97776','43812','2','1','0.01','0',''),
('97777','43813','2','1','0.01','0',''),
('97778','43814','2','1','0.01','0',''),
('97779','43815','2','1','0.01','0',''),
('97780','43816','2','1','0.01','0',''),
('97781','43817','2','1','0.01','0',''),
('97782','43818','2','1','0.01','0',''),
('97783','43819','2','1','0.01','0',''),
('97784','43820','2','1','0.01','0',''),
('97785','43821','2','1','0.01','0',''),
('97786','43822','2','1','0.01','0',''),
('97787','43823','2','1','0.01','0',''),
('97788','43824','2','1','0.01','0',''),
('97789','43825','2','1','0.01','0',''),
('97790','43826','2','1','0.01','0',''),
('97791','43827','2','1','0.01','0',''),
('97792','43828','2','1','0.01','0',''),
('97793','43829','2','1','0.01','0',''),
('97794','43830','2','1','0.01','0',''),
('97795','43831','2','1','0.01','0',''),
('97796','43832','2','1','0.01','0',''),
('97797','43833','2','1','0.01','0',''),
('97798','43834','2','1','0.01','0',''),
('97799','43835','2','1','0.01','0',''),
('97800','43836','2','1','0.01','0',''),
('97801','43837','2','1','0.01','0',''),
('97802','43838','2','1','0.01','0',''),
('97803','43839','2','1','0.01','0',''),
('97804','43840','2','1','0.01','0',''),
('97805','43841','2','1','0.01','0',''),
('97806','43842','2','1','0.01','0',''),
('97807','43843','2','1','0.01','0',''),
('97808','43844','2','1','0.01','0',''),
('97809','43845','2','1','0.01','0',''),
('97810','43846','2','1','0.01','0',''),
('97811','43847','2','1','0.01','0',''),
('97812','43848','2','1','0.01','0',''),
('97813','43849','2','1','0.01','0',''),
('97814','43850','2','1','0.01','0',''),
('97815','43851','2','1','0.01','0',''),
('97816','43852','2','1','0.01','0',''),
('97817','43853','2','1','0.01','0',''),
('97818','43854','2','1','0.01','0',''),
('97819','43855','2','1','0.01','0',''),
('97820','43856','2','1','0.01','0',''),
('97821','43857','2','1','0.01','0',''),
('97822','43858','2','1','0.01','0',''),
('97823','43859','2','1','0.01','0',''),
('97824','43860','2','1','0.01','0',''),
('97825','43861','2','1','0.01','0',''),
('97826','43862','2','1','0.01','0',''),
('97827','43863','2','1','0.01','0',''),
('97828','43864','2','1','0.01','0',''),
('97829','43865','2','1','0.01','0',''),
('97830','43866','2','1','0.01','0',''),
('97831','43867','2','1','0.01','0',''),
('97832','43868','2','1','0.01','0',''),
('97833','43869','2','1','0.01','0',''),
('97834','43870','2','1','0.01','0',''),
('97835','43871','2','1','0.01','0',''),
('97836','43872','2','1','0.01','0',''),
('97837','43873','2','1','0.01','0',''),
('97838','43874','2','1','0.01','0',''),
('97839','43875','2','1','0.01','0',''),
('97840','43876','2','1','0.01','0',''),
('97841','43877','2','1','0.01','0',''),
('97842','43878','2','1','0.01','0',''),
('97843','43879','2','1','0.01','0',''),
('97844','43880','2','1','0.01','0',''),
('97845','43881','2','1','0.01','0',''),
('97846','43882','2','1','0.01','0',''),
('97847','43883','2','1','0.01','0',''),
('97848','43884','2','1','0.01','0',''),
('97849','43885','2','1','0.01','0',''),
('97850','43886','2','1','0.01','0',''),
('97851','43887','2','1','0.01','0',''),
('97852','43888','2','1','0.01','0',''),
('97853','43889','2','1','0.01','0',''),
('97854','43890','2','1','0.01','0',''),
('97855','43891','2','1','0.01','0',''),
('97856','43892','2','1','0.01','0',''),
('97857','43893','2','1','0.01','0',''),
('97858','43894','2','1','0.01','0',''),
('97859','43895','2','1','0.01','0',''),
('97860','43896','2','1','0.01','0',''),
('97861','43897','2','1','0.01','0',''),
('97862','43898','2','1','0.01','0',''),
('97863','43899','2','1','0.01','0',''),
('97864','43900','2','1','0.01','0',''),
('97865','44050','2','1','0.01','0',''),
('97866','44051','2','1','0.01','0',''),
('97867','46085','1','26','-1','2','<ocs><meta><status>failure</status><statuscode>999</statuscode><message/></meta><data><message>Unknown error</message></data></ocs>'),
('97868','46085','2','27','','0',''),
('97869','46086','1','12','$.ocs.data.activeUsers.last1hour','1',''),
('97870','46086','2','20','1h','0',''),
('97871','46087','1','12','$.ocs.data.server.php.max_execution_time','1',''),
('97872','46087','2','20','1h','0',''),
('97873','46088','1','12','$.ocs.data.nextcloud.system.swap_total','1',''),
('97874','46088','2','1','1024','0',''),
('97875','46088','3','20','1h','0',''),
('97876','46089','1','21','function getField(data, path) {
	var steps = path.split(''.'');
	for (var i = 0; i < steps.length; i++) {
		var step = steps[i];
		if (typeof data !== ''object'' || typeof data[step] === ''undefined'') {
			throw ''Required field was not found: '' + path;
		}

		data = data[step];
	}

	return data;
}

var data = JSON.parse(value),
	swap_total = getField(data,''ocs.data.nextcloud.system.swap_total''),
	swap_free = getField(data,''ocs.data.nextcloud.system.swap_free'');

return Math.ceil(100 - swap_free / swap_total * 100);','0',''),
('97877','46089','2','20','1h','0',''),
('97878','46090','1','12','$.ocs.data.nextcloud.system.swap_free','1',''),
('97879','46090','2','1','1024','0',''),
('97880','46090','3','20','1h','0',''),
('97881','46091','1','12','$.ocs.meta.message','0',''),
('97882','46091','2','20','1h','0',''),
('97883','46092','1','12','$.ocs.data.server.php.version','1',''),
('97884','46092','2','20','1h','0',''),
('97885','46093','1','12','$.ocs.data.server.php.upload_max_filesize','1',''),
('97886','46093','2','20','1h','0',''),
('97887','46094','1','12','$.ocs.data.server.php.opcache.memory_usage.current_wasted_percentage','1',''),
('97888','46094','2','20','1h','0',''),
('97889','46095','1','12','$.ocs.data.server.php.opcache.memory_usage.wasted_memory','1',''),
('97890','46095','2','20','1h','0',''),
('97891','46096','1','12','$.ocs.data.server.php.opcache.memory_usage.used_memory','1',''),
('97892','46096','2','20','1h','0',''),
('97893','46097','1','21','function getField(data, path) {
	var steps = path.split(''.'');
	for (var i = 0; i < steps.length; i++) {
		var step = steps[i];
		if (typeof data !== ''object'' || typeof data[step] === ''undefined'') {
			throw ''Required field was not found: '' + path;
		}

		data = data[step];
	}

	return data;
}

var data = JSON.parse(value),
	php_total = getField(data,''ocs.data.server.php.memory_limit''),
	php_free = getField(data,''ocs.data.server.php.opcache.memory_usage.used_memory'');

return Math.ceil(php_free / php_total * 100);','0',''),
('97894','46097','2','20','1h','0',''),
('97895','46098','1','12','$.ocs.data.server.php.memory_limit','1',''),
('97896','46098','2','20','1h','0',''),
('97897','46099','1','12','$.ocs.data.server.php.opcache.memory_usage.free_memory','1',''),
('97898','46099','2','20','1h','0',''),
('97899','46100','1','21','function getField(data, path) {
	var steps = path.split(''.'');
	for (var i = 0; i < steps.length; i++) {
		var step = steps[i];
		if (typeof data !== ''object'' || typeof data[step] === ''undefined'') {
			throw ''Required field was not found: '' + path;
		}

		data = data[step];
	}

	return data;
}

var data = JSON.parse(value),
	mem_total = getField(data,''ocs.data.nextcloud.system.mem_total''),
	mem_free = getField(data,''ocs.data.nextcloud.system.mem_free'');

return Math.ceil(100 - mem_free / mem_total * 100);','0',''),
('97900','46100','2','20','1h','0',''),
('97901','46101','1','12','$.ocs.data.nextcloud.system.mem_total','1',''),
('97902','46101','2','1','1024','0',''),
('97903','46101','3','20','1h','0',''),
('97904','46102','1','12','$.ocs.data.activeUsers.last5minutes','1',''),
('97905','46102','2','20','1h','0',''),
('97906','46103','1','12','$.ocs.data.nextcloud.system.mem_free','1',''),
('97907','46103','2','1','1024','0',''),
('97908','46103','3','20','1h','0',''),
('97909','46104','1','12','$.ocs.data.nextcloud.system.freespace','1',''),
('97910','46104','2','20','1h','0',''),
('97911','46105','1','12','$.ocs.data.server.database.version','1',''),
('97912','46105','2','20','1h','0',''),
('97913','46106','1','12','$.ocs.data.server.database.type','1',''),
('97914','46106','2','20','1h','0',''),
('97915','46107','1','12','$.ocs.data.server.database.size','1',''),
('97916','46107','2','20','1h','0',''),
('97917','46108','1','12','$.ocs.data.nextcloud.system.cpuload.element[2]','1',''),
('97918','46108','2','20','1h','0',''),
('97919','46109','1','12','$.ocs.data.nextcloud.system.cpuload.element[1]','1',''),
('97920','46109','2','20','1h','0',''),
('97921','46110','1','12','$.ocs.data.nextcloud.system.cpuload.element[0]','1',''),
('97922','46110','2','20','1h','0',''),
('97923','46111','1','12','$.ocs.data.server.webserver','1',''),
('97924','46111','2','20','1h','0',''),
('97925','46112','1','12','$.ocs.data.nextcloud.system.apps.num_updates_available','1',''),
('97926','46112','2','20','1h','0',''),
('97927','46113','1','12','$.ocs.data.nextcloud.system.apps.num_installed','1',''),
('97928','46113','2','20','1h','0',''),
('97929','46114','1','12','$.ocs.data.activeUsers.last24hours','1',''),
('97930','46114','2','20','1h','0',''),
('97931','46115','1','12','$.ocs.data.nextcloud.system.version','1',''),
('97932','46115','2','20','1h','0',''),
('97933','46116','1','12','$.ocs.data.users','2','[]'),
('97934','46116','2','21','return JSON.stringify(JSON.parse(value).map(function(user) {return {user_name: user}}));','0',''),
('97936','46117','1','26','-1','2','<ocs><meta><status>failure</status><statuscode>999</statuscode><message/></meta><data><message>Unknown error</message></data></ocs>'),
('97937','46117','2','27','','0',''),
('97938','46118','1','12','$.ocs.data.displayname','1',''),
('97939','46118','2','20','1h','0',''),
('97940','46119','1','12','$.ocs.data.enabled','1',''),
('97941','46119','2','20','1h','0',''),
('97942','46120','1','21','function getField(data, path) {
	var steps = path.split(''.'');
	for (var i = 0; i < steps.length; i++) {
		var step = steps[i];
		if (typeof data !== ''object'' || typeof data[step] === ''undefined'') {
			throw ''Required field was not found: '' + path;
		}

		data = data[step];
	}

	return data;
}

var data = JSON.parse(value),
	lastlogin = getField(data,''ocs.data.lastLogin'');

if (lastlogin === ''0'')
	return -1

return Math.floor((Date.now() - lastlogin) / 1000 / 86400);','0',''),
('97943','46120','2','20','1h','0',''),
('97944','46121','1','12','$.ocs.data.language','1',''),
('97945','46121','2','20','1h','0',''),
('97946','46122','1','12','$.ocs.data.lastLogin','1',''),
('97947','46122','2','1','0.001','0',''),
('97948','46122','3','20','1h','0',''),
('97949','46123','1','12','$.ocs.data.quota.free','1',''),
('97950','46123','2','20','1h','0',''),
('97951','46124','1','12','$.ocs.data.quota.relative','1',''),
('97952','46124','2','20','1h','0',''),
('97953','46125','1','12','$.ocs.data.quota.total','1',''),
('97954','46125','2','20','1h','0',''),
('97955','46126','1','12','$.ocs.data.quota.used','1',''),
('97956','46126','2','20','1h','0',''),
('97957','46127','1','12','$.ocs.data.quota.quota','1',''),
('97958','46127','2','25','none
-99','0',''),
('97959','46127','3','20','1h','0',''),
('97960','46128','1','12','$.ocs.data.storageLocation','1',''),
('97961','46128','2','20','1h','0',''),
('97962','42828','1','26','-1','2','100'),
('97963','46130','1','20','1d','0',''),
('97964','46131','1','20','1d','0',''),
('97965','46132','1','20','10m','0',''),
('97966','46133','1','26','-1','2','{"error":"Not supported value received"}'),
('97967','46134','1','26','-1','2','{"error":"Not supported value received"}'),
('97968','46140','1','12','$.error','2',''),
('97969','46140','2','20','1h','0',''),
('97970','46141','1','12','$.serial','0',''),
('97971','46141','2','20','1d','0',''),
('97972','46142','1','12','$.results.utc_last_reboot','0',''),
('97973','46142','2','21','return (Math.floor(Date.now()/1000)-Math.floor(Number(value)/1000));','0',''),
('97974','46143','1','12','$.data.cpu','0',''),
('97975','46144','1','12','$.error','2',''),
('97976','46144','2','20','1h','0',''),
('97977','46145','1','12','$.results.current','0',''),
('97978','46145','2','21','var firmware = JSON.parse(value);
return firmware.name + '' '' + firmware.version + '' build'' + String(firmware.build);','0',''),
('97979','46145','3','20','1d','0',''),
('97980','46146','1','12','$.error','1',''),
('97981','46146','2','20','1h','0',''),
('97982','46147','1','12','$.results.available.length()','1',''),
('97983','46147','2','20','12h','0',''),
('97984','46148','1','12','$.error','1',''),
('97985','46148','2','20','1h','0',''),
('97986','46149','1','12','$.results','0',''),
('97987','46149','2','21','var info = JSON.parse(value);
return info.model_name + '' '' + info.model_number + '' ('' + info.model + '')'';','0',''),
('97988','46149','3','20','1d','0',''),
('97989','46150','1','12','$.error','1',''),
('97990','46150','2','20','1h','0',''),
('97991','46151','1','12','$.error','1',''),
('97992','46151','2','20','1h','0',''),
('97993','46152','1','12','$.vdom','0',''),
('97994','46152','2','20','12h','0',''),
('97995','46153','1','12','$.results.hostname','0',''),
('97996','46153','2','20','12h','0',''),
('97997','46154','1','12','$.data.mem','0',''),
('97998','46155','1','12','$.data.vm.mem_used','0',''),
('97999','46155','2','20','1d','0',''),
('98000','46156','1','12','$.data.vm.cpu_used','0',''),
('98001','46156','2','20','1d','0',''),
('98002','46157','1','12','$.error','1',''),
('98003','46157','2','20','1h','0',''),
('98004','46158','1','12','$.data.disk','0',''),
('98005','46159','1','12','$.data.disk_used','0',''),
('98006','46160','1','12','$.data.disk_total','0',''),
('98007','46160','2','20','1d','0',''),
('98008','46161','1','12','$.data.disk_free','0',''),
('98009','46162','1','12','$.build','2','0'),
('98010','46162','2','13','
0','2','1'),
('98011','46163','1','12','$.data','0',''),
('98012','46163','2','20','1h','0',''),
('98013','46164','1','12','$.data','0',''),
('98014','46164','2','20','6h','0',''),
('98015','46165','1','12','$.data.health_lld','0',''),
('98016','46165','2','20','1h','0',''),
('98017','46166','1','12','$.data.member_lld','0',''),
('98018','46166','2','20','1h','0',''),
('98019','46167','1','12','$.lld','0',''),
('98020','46167','2','20','6h','0',''),
('98021','46168','1','12','$.data[?(@.uuid == "{#FWUUID}")].first()','1',''),
('98022','46169','1','12','$.data[?(@.id == "{#IFKEY}")].first()','1',''),
('98023','46170','1','12','$.data.health_data[?(@.q_origin_key == "{#HID}")]["{#IFNAME}"].first()','1',''),
('98024','46171','1','12','$.data.member_lld[?(@.interface == "{#NAME}")].first()','1',''),
('98025','46172','1','12','$.data["{#KEY}"]','1',''),
('98026','46173','1','12','$.action','0',''),
('98027','46173','2','21','const idx = [
	''accept'',
	''deny'',
	''ipsec''
].indexOf(value);
return idx !== -1 ? idx : 10;','0',''),
('98028','46173','3','20','12h','0',''),
('98029','46174','1','12','$.bytes','0',''),
('98030','46174','2','10','','0',''),
('98031','46175','1','12','$.hit_count','2','0'),
('98032','46175','2','10','','0',''),
('98033','46176','1','12','$.asic_bytes','0',''),
('98034','46176','2','10','','0',''),
('98035','46177','1','12','$.last_used','1',''),
('98036','46178','1','12','$.active_sessions','0',''),
('98037','46179','1','12','$.status','0',''),
('98038','46179','2','21','const idx = [
	''enable'',
	''disable''
].indexOf(value);
return idx !== -1 ? idx : value;','0',''),
('98039','46179','3','20','1h','0',''),
('98040','46180','1','12','$.software_bytes','0',''),
('98041','46180','2','10','','0',''),
('98042','46181','1','12','$.rx_bytes','2','0'),
('98043','46181','2','10','','0',''),
('98044','46181','3','1','8','0',''),
('98045','46182','1','12','$.rx_errors','2','0'),
('98046','46182','2','10','','0',''),
('98047','46183','1','12','$.rx_packets','2','0'),
('98048','46183','2','10','','0',''),
('98049','46184','1','12','$.tx_bytes','2','0'),
('98050','46184','2','10','','0',''),
('98051','46184','3','1','8','0',''),
('98052','46185','1','12','$.tx_errors','2','0'),
('98053','46185','2','10','','0',''),
('98054','46186','1','12','$.tx_packets','2','0'),
('98055','46186','2','10','','0',''),
('98056','46187','1','12','$.speed','2','0'),
('98057','46187','2','1','1000000','0',''),
('98058','46187','3','20','1h','0',''),
('98059','46188','1','12','$.link','0',''),
('98060','46188','2','6','','0',''),
('98061','46189','1','12','$.type','0',''),
('98062','46189','2','21','const idx = [
	''physical'',
	''vlan'',
	''aggregate'',
	''redundant'',
	''tunnel'',
	''vdom-link'',
	''loopback'',
	''switch'',
	''vap-switch'',
	''wl-mesh'',
	''fext-wan'',
	''vxlan'',
	''geneve'',
	''hdlc'',
	''switch-vlan'',
	''emac-vlan'',
	''ssl'',
	''lan-extension''
].indexOf(value);
return idx !== -1 ? idx : 30;','0',''),
('98063','46189','3','20','1h','0',''),
('98064','46190','1','12','$.jitter','1',''),
('98065','46191','1','12','$.latency','1',''),
('98066','46192','1','12','$.packet_loss','1',''),
('98067','46193','1','12','$.packet_received','1',''),
('98068','46193','2','10','','0',''),
('98069','46194','1','12','$.packet_sent','1',''),
('98070','46194','2','10','','0',''),
('98071','46195','1','12','$.status','0',''),
('98072','46195','2','21','const idx = [
	''up'',
	''down'',
	''error''
].indexOf(value);
return idx !== -1 ? idx : 10;','0',''),
('98073','46196','1','12','$.link','0',''),
('98074','46196','2','21','const idx = [
	''up'',
	''down'',
	''error''
].indexOf(value);
return idx !== -1 ? idx : 10;','0',''),
('98075','46197','1','12','$.rx_bandwidth','2','0'),
('98076','46197','2','10','','0',''),
('98077','46198','1','12','$.rx_bytes','2','0'),
('98078','46198','2','10','','0',''),
('98079','46199','1','12','$.session','0',''),
('98080','46200','1','12','$.status','0',''),
('98081','46200','2','21','const idx = [
	''enable'',
	''disable''
].indexOf(value);
return idx !== -1 ? idx : 10;','0',''),
('98082','46200','3','20','1h','0',''),
('98083','46201','1','12','$.tx_bandwidth','2','0'),
('98084','46201','2','10','','0',''),
('98085','46202','1','12','$.tx_bytes','2','0'),
('98086','46202','2','10','','0',''),
('98087','46203','1','12','$.state_changed','1',''),
('98088','46203','2','20','1h','0',''),
('98089','46204','1','12','$.expires','1',''),
('98090','46204','2','20','1h','0',''),
('98091','46205','1','12','$.status','1',''),
('98092','46205','2','21','const idx = [
	''cloud_logged_in'',
	''licensed'',
	''registered'',
	''vm_eval'',
	''free_license'',
	''vm_valid'',
	''cloud_confirm_email'',
	''cloud_error'',
	''cloud_logged_out'',
	''cloud_login_in_progress'',
	''expired'',
	''expires_soon'',
	''free_license_exhausted'',
	''licensed_exhausted'',
	''no_license'',
	''no_support'',
	''not_registered'',
	''pending'',
	''unavailable'',
	''update_manual'',
	''update_push'',
	''update_sched'',
	''vm_eval_expired'',
	''vm_expired'',
	''vm_expires_soon'',
	''vm_grace_period'',
	''vm_invalid'',
	''vm_pending'',
	''vm_validation_overdue'',
].indexOf(value);
return idx !== -1 ? idx : 30;','0',''),
('98093','46205','3','20','1h','0',''),
('98094','46206','1','12','$.type','1',''),
('98095','46206','2','20','1h','0',''),
('98096','46207','1','12','$.last_update_attempt','1',''),
('98097','46207','2','20','1h','0',''),
('98098','46208','1','12','$.last_update_method_status','1',''),
('98099','46208','2','20','1h','0',''),
('98100','46209','1','12','$.last_update_result_status','1',''),
('98101','46209','2','20','1h','0',''),
('98102','46210','1','12','$.last_update','1',''),
('98103','46210','2','20','1h','0',''),
('98104','46211','1','12','$.version','1',''),
('98105','46211','2','20','1h','0',''),
('98106','46213','1','20','12h','0',''),
('98107','46218','1','1','1048576','0',''),
('98108','46219','1','1','1048576','0',''),
('98109','46219','2','20','1d','0',''),
('98110','46222','1','1','0.01','0',''),
('98111','46223','1','20','12h','0',''),
('98112','46224','1','20','12h','0',''),
('98113','46226','1','20','1d','0',''),
('98114','46227','1','20','1d','0',''),
('98115','46228','1','20','1d','0',''),
('98116','46229','1','20','12h','0',''),
('98117','46231','1','20','1d','0',''),
('98118','46232','1','20','12h','0',''),
('98119','46237','1','29','{#IFOPERSTATUS}
1.3.6.1.2.1.2.2.1.8
0
{#IFADMINSTATUS}
1.3.6.1.2.1.2.2.1.7
0
{#IFALIAS}
1.3.6.1.2.1.31.1.1.1.18
0
{#IFNAME}
1.3.6.1.2.1.31.1.1.1.1
0
{#IFDESCR}
1.3.6.1.2.1.2.2.1.2
0
{#IFTYPE}
1.3.6.1.2.1.2.2.1.3
0','1',''),
('98120','46237','2','20','1h','0',''),
('98121','46238','1','28','1.3.6.1.2.1.2.2.1.13.{#SNMPINDEX}
0','0',''),
('98122','46238','2','10','','0',''),
('98123','46239','1','28','1.3.6.1.2.1.2.2.1.14.{#SNMPINDEX}
0','0',''),
('98124','46239','2','10','','0',''),
('98125','46240','1','28','1.3.6.1.2.1.31.1.1.1.6.{#SNMPINDEX}
0','0',''),
('98126','46240','2','10','','0',''),
('98127','46240','3','1','8','0',''),
('98128','46241','1','28','1.3.6.1.2.1.2.2.1.19.{#SNMPINDEX}
0','0',''),
('98130','46242','1','28','1.3.6.1.2.1.2.2.1.20.{#SNMPINDEX}
0','0',''),
('98131','46242','2','10','','0',''),
('98132','46243','1','28','1.3.6.1.2.1.31.1.1.1.10.{#SNMPINDEX}
0','0',''),
('98133','46243','2','10','','0',''),
('98134','46243','3','1','8','0',''),
('98135','46244','1','28','1.3.6.1.2.1.31.1.1.1.15.{#SNMPINDEX}
0','0',''),
('98136','46244','2','1','1000000','0',''),
('98137','46244','3','20','1h','0',''),
('98138','46245','1','28','1.3.6.1.2.1.2.2.1.8.{#SNMPINDEX}
0','0',''),
('98139','46246','1','28','1.3.6.1.2.1.2.2.1.3.{#SNMPINDEX}
0','0',''),
('98140','46246','2','20','1d','0',''),
('98141','46247','1','12','$.enabled','0',''),
('98142','46247','2','6','','0',''),
('98143','46252','1','12','$.numDifferentPasswords','0',''),
('98144','46253','1','12','$.passwordExpirationDays','0',''),
('98145','46254','1','12','$.accountLockoutAttempts','0',''),
('98146','46255','1','12','$.enforcePasswordExpiration','0',''),
('98147','46255','2','6','','0',''),
('98148','46256','1','12','$.enforceTwoFactorAuth','0',''),
('98149','46256','2','6','','0',''),
('98150','46257','1','12','$.enforceLoginIpRanges','0',''),
('98151','46257','2','6','','0',''),
('98152','46258','1','12','$.enforceIdleTimeout','0',''),
('98153','46258','2','6','','0',''),
('98154','46259','1','12','$.enforceDifferentPasswords','0',''),
('98155','46259','2','6','','0',''),
('98156','46260','1','12','$.enforceAccountLockout','0',''),
('98157','46260','2','6','','0',''),
('98158','46261','1','12','$.idleTimeoutMinutes','0',''),
('98159','46263','1','12','$.licenses','0',''),
('98160','46264','1','12','$.networks','0',''),
('98161','46266','1','12','$.vpnStatuses','0',''),
('98162','46267','1','12','$.[?(@.id == "{#ADMIN.ID}")].first()','0',''),
('98163','46268','1','12','$.licenses.[?(@.id == "{#LICENSE.ID}")].first()','0',''),
('98164','46269','1','12','$.networks[?(@.name== ''{#NETWORK.NAME}'' && @.id== ''{#NETWORK.ID}'')].timeZone.first()','0',''),
('98165','46270','1','12','$.[?(@.id == "{#SAML.ID}")].first()','0',''),
('98166','46271','1','12','$.uplinks[?(@.networkName== ''{#NETWORK.NAME}'' && @.interface== ''{#INTERFACE}'' && @.role== ''{#UPLINK.ROLE}'' )].interface.first()','0',''),
('98167','46272','1','12','$.uplinks[?(@.networkName== ''{#NETWORK.NAME}'' && @.interface== ''{#INTERFACE}'' && @.role== ''{#UPLINK.ROLE}'' )].publicIp.first()','0',''),
('98168','46273','1','12','$.vpnStatuses[?(@.networkId==''{#NETWORK.ID}'' && @.networkName==''{#NETWORK.NAME}'')].first()','0',''),
('98169','46274','1','12','$.authenticationMethod','0',''),
('98170','46275','1','12','$.orgAccess','0',''),
('98171','46276','1','12','$.accountStatus','0',''),
('98172','46277','1','12','$.twoFactorAuthEnabled','0',''),
('98173','46277','2','6','','0',''),
('98174','46278','1','12','$.activationDate','0',''),
('98175','46278','2','21','return truncatedTimestamp = Math.floor(Date.parse(value) / 1000) || -1;','0',''),
('98176','46279','1','12','$.deviceName','0',''),
('98177','46280','1','12','$.deviceSerial','0',''),
('98178','46281','1','12','$.expirationDate','0',''),
('98179','46281','2','21','return truncatedTimestamp = Math.floor(Date.parse(value) / 1000) || -1;','0',''),
('98180','46282','1','12','$.licenseKey','0',''),
('98181','46283','1','12','$.state','0',''),
('98182','46284','1','12','$.totalDurationInDays','0',''),
('98183','46284','2','21','return days = Math.floor(value) || -1;','0',''),
('98184','46285','1','12','$.orgAccess','0',''),
('98185','46286','1','12','$.deviceSerial','0',''),
('98186','46287','1','12','$.deviceStatus','0',''),
('98187','46288','1','12','$.vpnMode','0',''),
('98188','46289','1','12','$.merakiVpnPeers..networkId.first()','1',''),
('98189','46290','1','12','$.merakiVpnPeers..networkName.first()','1',''),
('98190','46291','1','12','$.merakiVpnPeers..reachability.first()','1',''),
('98191','46292','1','12','$.thirdPartyVpnPeers..networkId.first()','1',''),
('98192','46293','1','12','$.thirdPartyVpnPeers..networkName.first()','1',''),
('98193','46294','1','12','$.thirdPartyVpnPeers..reachability.first()','1',''),
('98194','42490','1','21','var filesystems = JSON.parse(value);

result = filesystems.map(function (filesystem) {
	return {
		''fsname'': filesystem.fsname,
		''fstype'': filesystem.fstype,
		''fslabel'': filesystem.fslabel,
		''fsdrivetype'': filesystem.fsdrivetype
	};
});

return JSON.stringify(result);','0',''),
('98195','42490','2','20','1h','0',''),
('98196','42546','1','21','var filesystems = JSON.parse(value);

result = filesystems.map(function (filesystem) {
	return {
		''fsname'': filesystem.fsname,
		''fstype'': filesystem.fstype,
		''fslabel'': filesystem.fslabel,
		''fsdrivetype'': filesystem.fsdrivetype
	};
});

return JSON.stringify(result);','0',''),
('98197','42546','2','20','1h','0',''),
('98198','46295','1','23','openshift_build_created','0',''),
('98199','46295','2','20','3h','0',''),
('98200','46296','1','23','openshift_buildconfig_created','0',''),
('98201','46296','2','20','3h','0',''),
('98202','46297','1','23','openshift_clusterresourcequota_usage','0',''),
('98203','46297','2','20','3h','0',''),
('98204','46298','1','23','openshift_route_info','0',''),
('98205','46298','2','20','3h','0',''),
('98206','46299','1','22','openshift_build_created{namespace="{#NAMESPACE}", build="{#NAME}"}
value
','1',''),
('98207','46299','2','1','1','0',''),
('98208','46299','3','20','3h','0',''),
('98209','46300','1','22','openshift_build_metadata_generation{namespace="{#NAMESPACE}", build="{#NAME}"}
value
','1',''),
('98210','46301','1','22','openshift_build_status_phase{build="{#NAME}"} == 1
label
build_phase','1',''),
('98211','46301','2','21','return [''complete'', ''cancelled'', ''new'', ''pending'', ''running'', ''failed'', ''error''].indexOf(value) + 1 || ''Problem with status processing in JS, no such build status: '' + value;','0',''),
('98212','46302','1','22','openshift_buildconfig_created{namespace="{#NAMESPACE}", buildconfig="{#NAME}"}
value
','1',''),
('98213','46302','2','1','1','0',''),
('98214','46302','3','20','3h','0',''),
('98215','46303','1','22','openshift_buildconfig_metadata_generation{namespace="{#NAMESPACE}", buildconfig="{#NAME}"}
value
','1',''),
('98216','46304','1','22','openshift_buildconfig_status_latest_version{namespace="{#NAMESPACE}", buildconfig="{#NAME}"}
value
','1',''),
('98217','46304','2','20','3h','0',''),
('98218','46305','1','22','openshift_clusterresourcequota_usage{name="{#NAME}", resource="{#RESOURCE}", type="{#TYPE}"}
value
','1',''),
('98219','46306','1','22','openshift_route_created{namespace="{#NAMESPACE}", route="{#NAME}"}
value
','1',''),
('98220','46306','2','1','1','0',''),
('98221','46306','3','20','3h','0',''),
('98222','46307','1','22','openshift_route_status{route="{#NAME}"} == 1
label
status','1',''),
('98223','46307','2','6','','0',''),
('98224','46309','1','20','1h','0',''),
('98225','46310','1','20','1h','0',''),
('98226','46311','1','12','$.data.wcache.[''proxy buffer''].memory.pused','3','Proxy memory buffer is disabled.'),
('98227','46312','1','12','$.data.wcache.[''proxy buffer''].[''state change'']','2','0'),
('98228','46312','2','20','1h','0',''),
('98229','46313','1','12','$.data.wcache.[''proxy buffer''].state','2','0'),
('98230','46313','2','20','1h','0',''),
('98231','46314','1','10','','0',''),
('98232','46315','1','10','','0',''),
('98233','46316','1','12','$.data.vps.written_total','0',''),
('98234','46316','2','10','','0',''),
('98235','46317','1','12','$..[''{#TABLESPACE}''].used_from_max_pct.first()','0',''),
('98236','46318','1','12','$.USED_FROM_MAX_PCT','0',''),
('98237','46320','1','12','$.error','2',''),
('98238','46320','2','20','3h','0',''),
('98239','46321','1','21','var systems = JSON.parse(value).systems;

result = systems.map(function (system) {
	return {
		''hostname'': system.HostName,
		''system_type'': system.SystemType,
		''system_id'': system.Id
	};
});

return JSON.stringify(result);','0',''),
('98240','46321','2','20','6h','0',''),
('98241','46322','1','21','var controllers = JSON.parse(value).controllers;

result = controllers.map(function (controller) {
	return {
		''id'': controller.Id,
		''location'': controller.Location.PartLocation.ServiceLabel,
		''system_id'': controller.systemId,
		''system_hostname'': controller.systemHostname,
		''system_type'': controller.systemType,
		''storage_id'': controller.storageId
	};
});

return JSON.stringify(result);','0',''),
('98242','46322','2','20','6h','0',''),
('98243','46323','1','21','var drives = JSON.parse(value).drives;

result = drives.map(function (drive) {
	return {
		''id'': drive.Id,
		''location'': drive.PhysicalLocation.PartLocation.ServiceLabel,
		''media_type'': drive.MediaType,
		''system_id'': drive.systemId,
		''system_hostname'': drive.systemHostname,
		''system_type'': drive.systemType,
		''storage_id'': drive.storageId
	};
});

return JSON.stringify(result);','0',''),
('98244','46323','2','20','6h','0',''),
('98245','46324','1','21','var fans = JSON.parse(value).fans;

result = fans.map(function (fan) {
	return {
		''id'': fan.MemberId,
		''name'': fan.Name,
		''chassis_id'': fan.chassisId,
		''state'': fan.Status.State
	};
});

return JSON.stringify(result);','0',''),
('98246','46324','2','20','6h','0',''),
('98247','46325','1','21','var managers = JSON.parse(value).managers;

result = managers.map(function (manager) {
	return {
		''manager_id'': manager.Id
	};
});

return JSON.stringify(result);','0',''),
('98248','46325','2','20','6h','0',''),
('98249','46326','1','21','var power_supplies = JSON.parse(value).psu;

result = power_supplies.map(function (psu) {
	return {
		''id'': psu.MemberId,
		''chassis_id'': psu.chassisId,
		''state'': psu.Status.State
	};
});

return JSON.stringify(result);','0',''),
('98250','46326','2','20','6h','0',''),
('98251','46327','1','21','var sensors = JSON.parse(value).sensors;

result = sensors.map(function (sensor) {
	return {
		''id'': sensor.MemberId,
		''name'': sensor.Name,
		''chassis_id'': sensor.chassisId,
		''state'': sensor.Status.State,
		''context'': sensor.PhysicalContext
	};
});

return JSON.stringify(result);','0',''),
('98252','46327','2','20','6h','0',''),
('98253','46328','1','21','var storages = JSON.parse(value).storages;

result = storages.map(function (storage) {
	return {
		''id'': storage.Id,
		''name'': storage.name,
		''system_id'': storage.systemId,
		''system_hostname'': storage.systemHostname,
		''system_type'': storage.systemType
	};
});

return JSON.stringify(result);','0',''),
('98254','46328','2','20','6h','0',''),
('98255','46329','1','21','var volumes = JSON.parse(value).volumes;

result = volumes.map(function (volume) {
	return {
		''id'': volume.Id,
		''name'': volume.DisplayName,
		''system_id'': volume.systemId,
		''system_hostname'': volume.systemHostname,
		''system_type'': volume.systemType,
		''storage_id'': volume.storageId
	};
});

return JSON.stringify(result);','0',''),
('98256','46329','2','20','6h','0',''),
('98257','46330','1','12','$.systems[?(@.Id == ''{#SYSTEM_ID}'')].first()','1',''),
('98258','46331','1','12','$.controllers[?(@.systemId == ''{#SYSTEM_ID}'' && @.storageId == ''{#STORAGE_ID}'' && @.Id == ''{#CONTROLLER_ID}'')].first()','1',''),
('98259','46332','1','12','$.drives[?(@.systemId == ''{#SYSTEM_ID}'' && @.storageId == ''{#STORAGE_ID}'' && @.Id == ''{#DRIVE_ID}'')].first()','1',''),
('98260','46333','1','12','$.fans[?(@.chassisId == ''{#CHASSIS_ID}'' && @.MemberId == ''{#FAN_ID}'')].first()','1',''),
('98261','46334','1','12','$.managers[?(@.Id == ''{#MANAGER_ID}'')].first()','1',''),
('98262','46335','1','12','$.psu[?(@.chassisId == ''{#CHASSIS_ID}'' && @.MemberId == ''{#PSU_ID}'')].first()','1',''),
('98263','46336','1','12','$.sensors[?(@.chassisId == ''{#CHASSIS_ID}'' && @.MemberId == ''{#SENSOR_ID}'')].first()','1',''),
('98264','46337','1','12','$.storages[?(@.systemId == ''{#SYSTEM_ID}'' && @.Id == ''{#STORAGE_ID}'')].first()','1',''),
('98265','46338','1','12','$.volumes[?(@.systemId == ''{#SYSTEM_ID}'' && @.storageId == ''{#STORAGE_ID}'' && @.Id == ''{#VOLUME_ID}'')].first()','1',''),
('98266','46339','1','12','$.Oem.Hpe.Bios.Current.VersionString','1',''),
('98267','46339','2','20','6h','0',''),
('98268','46340','1','12','$.Model','1',''),
('98269','46340','2','20','6h','0',''),
('98270','46341','1','12','$.SerialNumber','1',''),
('98271','46341','2','20','6h','0',''),
('98272','46342','1','12','$.Status.HealthRollup','0',''),
('98273','46342','2','21','const idx = [
	''OK'',
	''Warning'',
	''Critical''
].indexOf(value);
return idx !== -1 ? idx : 10;','0',''),
('98274','46342','3','20','1h','0',''),
('98275','46343','1','12','$.SystemType','0',''),
('98276','46343','2','21','const idx = [
	''Physical'',
	''Virtual'',
	''OS'',
	''PhysicallyPartitioned'',
	''VirtuallyPartitioned'',
	''DPU''
].indexOf(value);
return idx !== -1 ? idx : 10;','0',''),
('98277','46343','3','20','6h','0',''),
('98278','46344','1','12','$.Oem.Hpe.SystemUsage.CPUUtil','1',''),
('98279','46345','1','12','$.Oem.Hpe.SystemUsage.IOBusUtil','1',''),
('98280','46346','1','12','$.Oem.Hpe.SystemUsage.MemoryBusUtil','1',''),
('98281','46347','1','12','$.Model','1',''),
('98282','46347','2','20','6h','0',''),
('98283','46348','1','12','$.SerialNumber','1',''),
('98284','46348','2','20','6h','0',''),
('98285','46349','1','12','$.Status.Health','0',''),
('98286','46349','2','21','const idx = [
	''OK'',
	''Warning'',
	''Critical''
].indexOf(value);
return idx !== -1 ? idx : 10;','0',''),
('98287','46349','3','20','1h','0',''),
('98288','46350','1','12','$.CapacityBytes','1',''),
('98289','46350','2','20','6h','0',''),
('98290','46351','1','12','$.MediaType','0',''),
('98291','46351','2','21','const idx = [
	''HDD'',
	''SSD''
].indexOf(value);
return idx !== -1 ? idx : 10;','0',''),
('98292','46351','3','20','6h','0',''),
('98293','46352','1','12','$.Model','1',''),
('98294','46352','2','20','6h','0',''),
('98295','46353','1','12','$.PredictedMediaLifeLeftPercent','0',''),
('98296','46353','2','20','6h','0',''),
('98297','46354','1','12','$.SerialNumber','1',''),
('98298','46354','2','20','6h','0',''),
('98299','46355','1','12','$.StatusIndicator','0',''),
('98300','46355','2','21','const idx = [
	''OK'',
	''Fail'',
	''Rebuild'',
	''PredictiveFailureAnalysis'',
	''Hotspare'',
	''InACriticalArray'',
	''InAFailedArray''
].indexOf(value);
return idx !== -1 ? idx : 10;','0',''),
('98301','46355','3','20','1h','0',''),
('98302','46356','1','12','$.Reading','0',''),
('98303','46357','1','12','$.Status.Health','0',''),
('98304','46357','2','21','const idx = [
	''OK'',
	''Warning'',
	''Critical''
].indexOf(value);
return idx !== -1 ? idx : 10;','0',''),
('98305','46357','3','20','1h','0',''),
('98306','46358','1','12','$.FirmwareVersion','1',''),
('98307','46358','2','20','6h','0',''),
('98308','46359','1','12','$.Model','1',''),
('98309','46359','2','20','6h','0',''),
('98310','46360','1','12','$.Status.Health','0',''),
('98311','46360','2','21','const idx = [
	''OK'',
	''Warning'',
	''Critical''
].indexOf(value);
return idx !== -1 ? idx : 10;','0',''),
('98312','46360','3','20','1h','0',''),
('98313','46361','1','12','$.ManagerType','1',''),
('98314','46361','2','21','const idx = [
	''ManagementController'',
	''EnclosureManager'',
	''BMC''
].indexOf(value);
return idx !== -1 ? idx : 10;','0',''),
('98315','46361','3','20','6h','0',''),
('98316','46362','1','12','$.LastPowerOutputWatts','0',''),
('98317','46363','1','12','$.LineInputVoltage','0',''),
('98318','46364','1','12','$.Model','1',''),
('98319','46364','2','20','6h','0',''),
('98320','46365','1','12','$.SerialNumber','1',''),
('98321','46365','2','20','6h','0',''),
('98322','46366','1','12','$.Status.Health','0',''),
('98323','46366','2','21','const idx = [
	''OK'',
	''Warning'',
	''Critical''
].indexOf(value);
return idx !== -1 ? idx : 10;','0',''),
('98324','46366','3','20','1h','0',''),
('98325','46367','1','12','$.Status.Health','0',''),
('98326','46367','2','21','const idx = [
	''OK'',
	''Warning'',
	''Critical''
].indexOf(value);
return idx !== -1 ? idx : 10;','0',''),
('98327','46367','3','20','1h','0',''),
('98328','46368','1','12','$.ReadingCelsius','0',''),
('98329','46369','1','12','$.Status.HealthRollup','0',''),
('98330','46369','2','21','const idx = [
	''OK'',
	''Warning'',
	''Critical''
].indexOf(value);
return idx !== -1 ? idx : 10;','0',''),
('98331','46369','3','20','1h','0',''),
('98332','46370','1','12','$.CapacityBytes','1',''),
('98333','46370','2','20','6h','0',''),
('98334','46371','1','12','$.RAIDType','1',''),
('98335','46371','2','21','const idx = [
	''RAID0'',
	''RAID1'',
	''RAID3'',
	''RAID4'',
	''RAID5'',
	''RAID6'',
	''RAID10'',
	''RAID01'',
	''RAID6TP'',
	''RAID1E'',
	''RAID50'',
	''RAID60'',
	''RAID00'',
	''RAID10E'',
	''RAID1Triple'',
	''RAID10Triple'',
	''None''
].indexOf(value);
return idx !== -1 ? idx : 20;','0',''),
('98336','46371','3','20','6h','0',''),
('98337','46372','1','12','$.Status.Health','0',''),
('98338','46372','2','21','const idx = [
	''OK'',
	''Warning'',
	''Critical''
].indexOf(value);
return idx !== -1 ? idx : 10;','0',''),
('98339','46372','3','20','1h','0',''),
('98340','46373','1','12','$.filter_id','0',''),
('98341','46373','2','20','3h','0',''),
('98342','46374','1','26','-1','1',''),
('98343','46375','1','12','$.[?(@.Label == "4xxErrors")].Values.first().first()','1',''),
('98344','46376','1','12','$.[?(@.Label == "5xxErrors")].Values.first().first()','1',''),
('98345','46377','1','12','$.[?(@.Label == "AllRequests")].Values.first().first()','1',''),
('98346','46378','1','12','$.[?(@.Label == "BytesDownloaded")].Values.first().first()','1',''),
('98347','46379','1','12','$.[?(@.Label == "BytesPendingReplication")].Values.first().first()','1',''),
('98348','46380','1','12','$.[?(@.Label == "BytesUploaded")].Values.first().first()','1',''),
('98349','46381','1','12','$.[?(@.Label == "DeleteRequests")].Values.first().first()','1',''),
('98350','46382','1','12','$.[?(@.Label == "FirstByteLatency")].Values.first().first()','1',''),
('98351','46383','1','12','$.[?(@.Label == "FirstByteLatency")].Values.first().first()','1',''),
('98352','46384','1','12','$.[?(@.Label == "GetRequests")].Values.first().first()','1',''),
('98353','46385','1','12','$.[?(@.Label == "HeadRequests")].Values.first().first()','1',''),
('98354','46386','1','12','$.[?(@.Label == "ListRequests")].Values.first().first()','1',''),
('98355','46387','1','12','$.[?(@.Label == "OperationsPendingReplication")].Values.first().first()','1',''),
('98356','46388','1','12','$.[?(@.Label == "PostRequests")].Values.first().first()','1',''),
('98357','46389','1','12','$.[?(@.Label == "PutRequests")].Values.first().first()','1',''),
('98358','46390','1','12','$.[?(@.Label == "ReplicationLatency")].Values.first().first()','1',''),
('98359','46391','1','12','$.[?(@.Label == "SelectBytesReturned")].Values.first().first()','1',''),
('98360','46392','1','12','$.[?(@.Label == "SelectBytesScanned")].Values.first().first()','1',''),
('98361','46393','1','12','$.[?(@.Label == "SelectRequests")].Values.first().first()','1',''),
('98362','46394','1','12','$.[?(@.Label == "TotalRequestLatency")].Values.first().first()','1',''),
('98363','46395','1','12','$.[?(@.Label == "TotalRequestLatency")].Values.first().first()','1',''),
('98364','46398','1','12','$.data','1',''),
('98365','46399','1','12','$.monthCost.data','1',''),
('98366','46400','1','12','$.resourceLocationCost.data','1',''),
('98367','46401','1','12','$.resourceGroupCost.data','1',''),
('98368','46402','1','12','$.serviceCost.data','1',''),
('98369','46403','1','12','$.data.[?(@.ServiceName == "{#AZURE.SERVICE.NAME}" && @.Meter == "{#AZURE.BILLING.METER}" && @.MeterSubcategory == "{#AZURE.BILLING.METER.SUBCATEGORY}")].PreTaxCost.first()','1',''),
('98370','46404','1','12','$.monthCost.data.[?(@.BillingMonth == "{#AZURE.BILLING.MONTH}")].PreTaxCost.first()','1',''),
('98371','46405','1','12','$.resourceLocationCost.data.[?(@.BillingMonth == "{#AZURE.BILLING.MONTH}")]','1',''),
('98372','46405','2','12','$.[?(@.ResourceLocation == "{#AZURE.RESOURCE.LOCATION}")].PreTaxCost.first()','1',''),
('98373','46406','1','12','$.resourceGroupCost.data.[?(@.BillingMonth == "{#AZURE.BILLING.MONTH}")]','1',''),
('98374','46406','2','12','$.[?(@.ResourceGroup == "{#AZURE.RESOURCE.GROUP}")].PreTaxCost.first()','1',''),
('98375','46407','1','12','$.serviceCost.data.[?(@.BillingMonth == "{#AZURE.BILLING.MONTH}")]','1',''),
('98376','46407','2','12','$.[?(@.ServiceName == "{#AZURE.SERVICE.NAME}")].PreTaxCost.first()','1',''),
('98377','46416','1','20','1d','0',''),
('98378','46417','1','20','1d','0',''),
('98379','46418','1','20','1d','0',''),
('98380','46419','1','20','1d','0',''),
('98381','46420','1','20','1d','0',''),
('98382','46421','1','20','1d','0',''),
('98383','46422','1','20','1d','0',''),
('98384','46423','1','12','$[?(@.group_name==''{#GROUP_NAME}'')].primary_recovery_health.first()','0',''),
('98385','46423','2','20','1h','0',''),
('98386','46424','1','12','$[?(@.group_name==''{#GROUP_NAME}'')].primary_replica.first()','0',''),
('98387','46424','2','20','3h','0',''),
('98388','46425','1','12','$[?(@.group_name==''{#GROUP_NAME}'')].secondary_recovery_health.first()','0',''),
('98389','46425','2','20','1h','0',''),
('98390','46426','1','12','$[?(@.group_name==''{#GROUP_NAME}'')].synchronization_health.first()','0',''),
('98391','46426','2','20','1h','0',''),
('98392','46427','1','12','$[?(@.dbname==''{#DBNAME}'' && @.group_name==''{#GROUP_NAME}'')].is_suspended.first()','0',''),
('98393','46427','2','20','1h','0',''),
('98394','46428','1','12','$[?(@.dbname==''{#DBNAME}'' && @.group_name==''{#GROUP_NAME}'')].database_state.first()','0',''),
('98395','46428','2','20','1h','0',''),
('98396','46429','1','12','$[?(@.dbname==''{#DBNAME}'' && @.group_name==''{#GROUP_NAME}'')].synchronization_health.first()','0',''),
('98397','46429','2','20','1h','0',''),
('98398','46430','1','12','$[?(@.dbname==''{#DBNAME}'')].mirroring_role.first()','0',''),
('98399','46430','2','20','1h','0',''),
('98400','46431','1','12','$[?(@.dbname==''{#DBNAME}'')].mirroring_role_sequence.first()','0',''),
('98401','46431','2','9','','0',''),
('98402','46432','1','12','$[?(@.dbname==''{#DBNAME}'')].mirroring_safety_level.first()','0',''),
('98403','46432','2','20','1h','0',''),
('98404','46433','1','12','$[?(@.dbname==''{#DBNAME}'')].mirroring_state.first()','0',''),
('98405','46433','2','20','1h','0',''),
('98406','46434','1','12','$[?(@.dbname==''{#DBNAME}'')].mirroring_witness_state.first()','0',''),
('98407','46434','2','20','1h','0',''),
('98408','46435','1','12','$[?(@.dbname==''{#DBNAME}'' && @.group_name==''{#GROUP_NAME}'' && @.replica_name==''{#REPLICA_NAME}'')].log_send_queue_size.first()','0',''),
('98409','46435','2','1','1024','0',''),
('98410','46435','3','20','1h','0',''),
('98411','46436','1','12','$[?(@.dbname==''{#DBNAME}'' && @.group_name==''{#GROUP_NAME}'' && @.replica_name==''{#REPLICA_NAME}'')].redo_queue_size.first()','0',''),
('98412','46436','2','1','1024','0',''),
('98413','46436','3','20','1h','0',''),
('98414','46437','1','12','$[?(@.cluster_name==''{#CLUSTER_NAME}'')].quorum_state.first()','0',''),
('98415','46437','2','20','1h','0',''),
('98416','46438','1','12','$[?(@.cluster_name==''{#CLUSTER_NAME}'')].quorum_type.first()','0',''),
('98417','46438','2','20','1d','0',''),
('98418','46439','1','12','$[?(@.member_name==''{#MEMBER_NAME}'')].member_state.first()','0',''),
('98419','46440','1','12','$[?(@.member_name==''{#MEMBER_NAME}'')].member_type.first()','0',''),
('98420','46440','2','20','1d','0',''),
('98421','46441','1','12','$[?(@.member_name==''{#MEMBER_NAME}'')].number_of_quorum_votes.first()','0',''),
('98422','46441','2','20','1d','0',''),
('98423','46442','1','12','$[?(@.replica_name==''{#REPLICA_NAME}'' && @.group_name==''{#GROUP_NAME}'')].connected_state.first()','0',''),
('98424','46442','2','20','1h','0',''),
('98425','46443','1','12','$[?(@.replica_name==''{#REPLICA_NAME}'' && @.group_name==''{#GROUP_NAME}'')].is_local.first()','0',''),
('98426','46443','2','20','1h','0',''),
('98427','46444','1','12','$[?(@.replica_name==''{#REPLICA_NAME}'' && @.group_name==''{#GROUP_NAME}'')].join_state.first()','0',''),
('98428','46444','2','20','1h','0',''),
('98429','46445','1','12','$[?(@.replica_name==''{#REPLICA_NAME}'' && @.group_name==''{#GROUP_NAME}'')].operational_state.first()','0',''),
('98430','46445','2','20','1h','0',''),
('98431','46446','1','12','$[?(@.replica_name==''{#REPLICA_NAME}'' && @.group_name==''{#GROUP_NAME}'')].recovery_health.first()','0',''),
('98432','46446','2','20','1h','0',''),
('98433','46447','1','12','$[?(@.replica_name==''{#REPLICA_NAME}'' && @.group_name==''{#GROUP_NAME}'')].role.first()','0',''),
('98434','46447','2','20','1h','0',''),
('98435','46448','1','12','$[?(@.replica_name==''{#REPLICA_NAME}'' && @.group_name==''{#GROUP_NAME}'')].synchronization_health.first()','0',''),
('98436','46448','2','20','1h','0',''),
('98437','46449','1','12','$[0].db_recovery_model','2','1'),
('98438','46449','2','20','1d','0',''),
('98439','46450','1','12','$[0]','0',''),
('98440','46451','1','26','-1','1',''),
('98441','46452','1','26','-1','1',''),
('98442','46453','1','26','-1','1',''),
('98443','46454','1','12','$.[?(@.Label == "ActiveConnectionCount")].Values.first().first()','1',''),
('98444','46455','1','12','$.error','2',''),
('98445','46455','2','20','3h','0',''),
('98446','46456','1','12','$.[?(@.Label == "ELBAuthError")].Values.first().first()','1',''),
('98447','46457','1','12','$.[?(@.Label == "ELBAuthFailure")].Values.first().first()','1',''),
('98448','46458','1','12','$.[?(@.Label == "ELBAuthLatency")].Values.first().first()','1',''),
('98449','46459','1','12','$.[?(@.Label == "ELBAuthSuccess")].Values.first().first()','1',''),
('98450','46460','1','12','$.[?(@.Label == "ELBAuthUserClaimsSizeExceeded")].Values.first().first()','1',''),
('98451','46461','1','12','$.[?(@.Label == "ConsumedLCUs")].Values.first().first()','1',''),
('98452','46462','1','12','$.[?(@.Label == "ClientTLSNegotiationErrorCount")].Values.first().first()','1',''),
('98453','46463','1','12','$.[?(@.Label == "HTTPCode_ELB_3XX_Count")].Values.first().first()','1',''),
('98454','46464','1','12','$.[?(@.Label == "HTTPCode_ELB_4XX_Count")].Values.first().first()','1',''),
('98455','46465','1','12','$.[?(@.Label == "HTTPCode_ELB_5XX_Count")].Values.first().first()','1',''),
('98456','46466','1','12','$.[?(@.Label == "HTTPCode_ELB_500_Count")].Values.first().first()','1',''),
('98457','46467','1','12','$.[?(@.Label == "HTTPCode_ELB_502_Count")].Values.first().first()','1',''),
('98458','46468','1','12','$.[?(@.Label == "HTTPCode_ELB_503_Count")].Values.first().first()','1',''),
('98459','46469','1','12','$.[?(@.Label == "HTTPCode_ELB_504_Count")].Values.first().first()','1',''),
('98460','46470','1','12','$.[?(@.Label == "HTTP_Fixed_Response_Count")].Values.first().first()','1',''),
('98461','46471','1','12','$.[?(@.Label == "HTTP_Redirect_Count")].Values.first().first()','1',''),
('98462','46472','1','12','$.[?(@.Label == "HTTP_Redirect_Url_Limit_Exceeded_Count")].Values.first().first()','1',''),
('98463','46473','1','12','$.error','2',''),
('98464','46473','2','20','3h','0',''),
('98465','46474','1','12','$.[?(@.Label == "NewConnectionCount")].Values.first().first()','1',''),
('98466','46475','1','12','$.[?(@.Label == "DesyncMitigationMode_NonCompliant_Request_Count")].Values.first().first()','1',''),
('98467','46476','1','12','$.[?(@.Label == "ProcessedBytes")].Values.first().first()','1',''),
('98468','46477','1','12','$.[?(@.Label == "RejectedConnectionCount")].Values.first().first()','1',''),
('98469','46478','1','12','$.[?(@.Label == "RequestCount")].Values.first().first()','1',''),
('98470','46479','1','12','$.[?(@.Label == "RuleEvaluations")].Values.first().first()','1',''),
('98471','46480','1','12','$.[?(@.Label == "TargetConnectionErrorCount")].Values.first().first()','1',''),
('98472','46481','1','12','$.[?(@.Label == "TargetResponseTime")].Values.first().first()','1',''),
('98473','46482','1','12','$.[?(@.Label == "TargetTLSNegotiationErrorCount")].Values.first().first()','1',''),
('98474','46483','1','21','var result = [];
var alarms = JSON.parse(value);

alarms.forEach(function(alarm) {

 result.push({
''{#ALARM_DESCRIPTION}'': alarm.AlarmDescription !== null ? alarm.AlarmDescription : ''None'' ,
''{#ALARM_NAME}'': alarm.AlarmName,
''{#ALARM_PERIOD}'': alarm.Period,
''{#METRIC_NAME}'': alarm.MetricName,
''{#ALARM_SERVICE_NAMESPACE}'': alarm.Namespace !== null ? alarm.Namespace : ''None''
  });
});

return JSON.stringify(result);','0',''),
('98475','46483','2','20','3h','0',''),
('98476','46484','1','20','3h','0',''),
('98477','46485','1','26','-1','1',''),
('98478','46486','1','12','$.[?(@.AlarmName == "{#ALARM_NAME}")].first()','1',''),
('98479','46487','1','12','$.[?(@.Label == "AnomalousHostCount")].Values.first().first()','1',''),
('98480','46488','1','12','$.[?(@.Label == "HealthyHostCount")].Values.first().first()','1',''),
('98481','46489','1','12','$.[?(@.Label == "HealthyStateDNS")].Values.first().first()','1',''),
('98482','46490','1','12','$.[?(@.Label == "HealthyStateRouting")].Values.first().first()','1',''),
('98483','46491','1','12','$.[?(@.Label == "HTTPCode_Target_2XX_Count")].Values.first().first()','1',''),
('98484','46492','1','12','$.[?(@.Label == "HTTPCode_Target_3XX_Count")].Values.first().first()','1',''),
('98485','46493','1','12','$.[?(@.Label == "HTTPCode_Target_4XX_Count")].Values.first().first()','1',''),
('98486','46494','1','12','$.[?(@.Label == "HTTPCode_Target_5XX_Count")].Values.first().first()','1',''),
('98487','46495','1','12','$.[?(@.Label == "MitigatedHostCount")].Values.first().first()','1',''),
('98488','46496','1','12','$.[?(@.Label == "RequestCountPerTarget")].Values.first().first()','1',''),
('98489','46497','1','12','$.[?(@.Label == "UnHealthyHostCount")].Values.first().first()','1',''),
('98490','46498','1','12','$.[?(@.Label == "UnhealthyRoutingRequestCount")].Values.first().first()','1',''),
('98491','46499','1','12','$.[?(@.Label == "UnhealthyStateDNS")].Values.first().first()','1',''),
('98492','46500','1','12','$.[?(@.Label == "UnhealthyStateRouting")].Values.first().first()','1',''),
('98493','46501','1','12','$.StateValue','2','3'),
('98494','46501','2','21','var state = [''OK'', ''INSUFFICIENT_DATA'', ''ALARM''];

return state.indexOf(value.trim()) === -1 ? 255 : state.indexOf(value.trim());','0',''),
('98495','46502','1','12','$.StateReason','1',''),
('98496','46502','2','20','3h','0',''),
('98497','46520','1','20','1d','0',''),
('98498','46521','1','20','10m','0',''),
('98499','46522','1','12','$[?(@.object_name=~''.*Access Methods'')]','1',''),
('98500','46523','1','12','$[?(@.object_name=~''.*Buffer Manager'')]','1',''),
('98501','46524','1','12','$[?(@.object_name=~''.*Plan Cache'' && @.instance_name==''_Total'')]','1',''),
('98502','46525','1','12','$[?(@.object_name=~''.*Databases'' && @.instance_name==''_Total'')]','1',''),
('98503','46526','1','12','$[?(@.object_name=~''.*General Statistics'')]','1',''),
('98504','46527','1','12','$[?(@.object_name=~''.*Latches'')]','1',''),
('98505','46528','1','12','$[?(@.object_name=~''.*Locks'' && @.instance_name==''_Total'')]','1',''),
('98506','46529','1','12','$[?(@.object_name=~''.*Memory Manager'')]','1',''),
('98507','46530','1','12','$[?(@.object_name=~''.*SQL Errors'')]','1',''),
('98508','46531','1','12','$[?(@.object_name=~''.*SQL Statistics'')]','1',''),
('98509','46532','1','12','$[?(@.object_name=~''.*Transactions'' && @.counter_name==''Transactions'')].cntr_value.first()','0',''),
('98510','46533','1','12','$[?(@.counter_name==''Uptime'')].cntr_value.first()','0',''),
('98511','46534','1','12','$[?(@.counter_name==''Auto-Param Attempts/sec'')].cntr_value.first()','0',''),
('98512','46534','2','10','','0',''),
('98513','46535','1','12','$[?(@.counter_name==''Average Latch Wait Time Base'')].cntr_value.first()','0',''),
('98514','46536','1','12','$[?(@.counter_name==''Average Latch Wait Time (ms)'')].cntr_value.first()','0',''),
('98515','46537','1','12','$[?(@.counter_name==''Average Wait Time Base'')].cntr_value.first()','0',''),
('98516','46538','1','12','$[?(@.counter_name==''Average Wait Time (ms)'')].cntr_value.first()','0',''),
('98517','46539','1','12','$[?(@.counter_name==''Batch Requests/sec'')].cntr_value.first()','0',''),
('98518','46539','2','10','','0',''),
('98519','46540','1','12','$[?(@.counter_name==''BufferCacheHitRatio'')].cntr_value.first()','0',''),
('98520','46541','1','12','$[?(@.counter_name==''CacheHitRatio'')].cntr_value.first()','0',''),
('98521','46542','1','12','$[?(@.counter_name==''Cache Objects in use'')].cntr_value.first()','0',''),
('98522','46543','1','12','$[?(@.counter_name==''Cache Object Counts'')].cntr_value.first()','0',''),
('98523','46544','1','12','$[?(@.counter_name==''Cache Pages'')].cntr_value.first()','0',''),
('98524','46545','1','12','$[?(@.counter_name==''Checkpoint pages/sec'')].cntr_value.first()','0',''),
('98525','46545','2','10','','0',''),
('98526','46546','1','12','$[?(@.counter_name==''Database pages'')].cntr_value.first()','0',''),
('98527','46547','1','12','$[?(@.counter_name==''Data File(s) Size (KB)'')].cntr_value.first()','0',''),
('98528','46547','2','1','1024','0',''),
('98529','46547','3','20','1h','0',''),
('98530','46548','1','12','$[?(@.counter_name==''Errors/sec'' && @.instance_name==''_Total'')].cntr_value.first()','0',''),
('98531','46548','2','10','','0',''),
('98532','46549','1','12','$[?(@.counter_name==''Failed Auto-Params/sec'')].cntr_value.first()','0',''),
('98533','46549','2','10','','0',''),
('98534','46550','1','12','$[?(@.counter_name==''Forwarded Records/sec'')].cntr_value.first()','0',''),
('98535','46550','2','10','','0',''),
('98536','46551','1','12','$[?(@.counter_name==''Free list stalls/sec'')].cntr_value.first()','0',''),
('98537','46551','2','10','','0',''),
('98538','46552','1','12','$[?(@.counter_name==''Full Scans/sec'')].cntr_value.first()','0',''),
('98539','46552','2','10','','0',''),
('98540','46553','1','12','$[?(@.counter_name==''Granted Workspace Memory (KB)'')].cntr_value.first()','0',''),
('98541','46553','2','1','1024','0',''),
('98542','46554','1','12','$[?(@.counter_name==''Index Searches/sec'')].cntr_value.first()','0',''),
('98543','46554','2','10','','0',''),
('98544','46555','1','12','$[?(@.counter_name==''Errors/sec'' && @.instance_name==''Info Errors'')].cntr_value.first()','0',''),
('98545','46555','2','10','','0',''),
('98546','46556','1','12','$[?(@.counter_name==''Errors/sec'' && @.instance_name==''Kill Connection Errors'')].cntr_value.first()','0',''),
('98547','46556','2','10','','0',''),
('98548','46557','1','12','$[?(@.counter_name==''Latch Waits/sec'')].cntr_value.first()','0',''),
('98549','46557','2','10','','0',''),
('98550','46558','1','12','$[?(@.counter_name==''Lazy writes/sec'')].cntr_value.first()','0',''),
('98551','46558','2','10','','0',''),
('98552','46559','1','12','$[?(@.counter_name==''Lock Requests/sec'')].cntr_value.first()','0',''),
('98553','46559','2','10','','0',''),
('98554','46560','1','12','$[?(@.counter_name==''Lock Timeouts/sec'')].cntr_value.first()','0',''),
('98555','46560','2','10','','0',''),
('98556','46561','1','12','$[?(@.counter_name==''Lock Waits/sec'')].cntr_value.first()','0',''),
('98557','46561','2','10','','0',''),
('98558','46562','1','12','$[?(@.counter_name==''Lock Wait Time (ms)'')].cntr_value.first()','0',''),
('98559','46562','2','10','','0',''),
('98560','46563','1','12','$[?(@.counter_name==''Logins/sec'')].cntr_value.first()','0',''),
('98561','46563','2','10','','0',''),
('98562','46564','1','12','$[?(@.counter_name==''Logouts/sec'')].cntr_value.first()','0',''),
('98563','46564','2','10','','0',''),
('98564','46565','1','12','$[?(@.counter_name==''Log File(s) Size (KB)'')].cntr_value.first()','0',''),
('98565','46565','2','1','1024','0',''),
('98566','46565','3','20','1h','0',''),
('98567','46566','1','12','$[?(@.counter_name==''Log File(s) Used Size (KB)'')].cntr_value.first()','0',''),
('98568','46566','2','1','1024','0',''),
('98569','46567','1','12','$[?(@.counter_name==''Maximum Workspace Memory (KB)'')].cntr_value.first()','0',''),
('98570','46567','2','1','1024','0',''),
('98571','46568','1','12','$[?(@.counter_name==''Memory Grants Outstanding'')].cntr_value.first()','0',''),
('98572','46569','1','12','$[?(@.counter_name==''Memory Grants Pending'')].cntr_value.first()','0',''),
('98573','46570','1','12','$[?(@.counter_name==''Number of Deadlocks/sec'')].cntr_value.first()','0',''),
('98574','46570','2','10','','0',''),
('98575','46571','1','12','$[?(@.counter_name==''Errors/sec'' && @.instance_name==''DB Offline Errors'')].cntr_value.first()','0',''),
('98576','46571','2','10','','0',''),
('98577','46572','1','12','$[?(@.counter_name==''Page life expectancy'')].cntr_value.first()','0',''),
('98578','46573','1','12','$[?(@.counter_name==''Page lookups/sec'')].cntr_value.first()','0',''),
('98579','46573','2','10','','0',''),
('98580','46574','1','12','$[?(@.counter_name==''Page reads/sec'')].cntr_value.first()','0',''),
('98581','46574','2','10','','0',''),
('98582','46575','1','12','$[?(@.counter_name==''Page Splits/sec'')].cntr_value.first()','0',''),
('98583','46575','2','10','','0',''),
('98584','46576','1','12','$[?(@.counter_name==''Page writes/sec'')].cntr_value.first()','0',''),
('98585','46576','2','10','','0',''),
('98586','46577','1','12','$[?(@.counter_name==''Processes blocked'')].cntr_value.first()','0',''),
('98587','46577','2','20','1h','0',''),
('98588','46578','1','12','$[?(@.counter_name==''Readahead pages/sec'')].cntr_value.first()','0',''),
('98589','46578','2','10','','0',''),
('98590','46579','1','12','$[?(@.counter_name==''Safe Auto-Params/sec'')].cntr_value.first()','0',''),
('98591','46579','2','10','','0',''),
('98592','46580','1','12','$[?(@.counter_name==''SQL Compilations/sec'')].cntr_value.first()','0',''),
('98593','46580','2','10','','0',''),
('98594','46581','1','12','$[?(@.counter_name==''SQL Re-Compilations/sec'')].cntr_value.first()','0',''),
('98595','46581','2','10','','0',''),
('98596','46582','1','12','$[?(@.counter_name==''Table Lock Escalations/sec'')].cntr_value.first()','0',''),
('98597','46582','2','10','','0',''),
('98598','46583','1','12','$[?(@.counter_name==''Target pages'')].cntr_value.first()','0',''),
('98599','46583','2','20','1h','0',''),
('98600','46584','1','12','$[?(@.counter_name==''Target Server Memory (KB)'')].cntr_value.first()','0',''),
('98601','46584','2','1','1024','0',''),
('98602','46585','1','12','$[?(@.counter_name==''Total Latch Wait Time (ms)'')].cntr_value.first()','0',''),
('98603','46585','2','10','','0',''),
('98604','46586','1','12','$[?(@.counter_name==''Total Server Memory (KB)'')].cntr_value.first()','0',''),
('98605','46586','2','1','1024','0',''),
('98606','46587','1','12','$[?(@.counter_name==''Transactions/sec'')].cntr_value.first()','0',''),
('98607','46587','2','10','','0',''),
('98608','46588','1','12','$[?(@.counter_name==''Unsafe Auto-Params/sec'')].cntr_value.first()','0',''),
('98609','46588','2','10','','0',''),
('98610','46589','1','12','$[?(@.counter_name==''User Connections'')].cntr_value.first()','0',''),
('98611','46590','1','12','$[?(@.counter_name==''Errors/sec'' && @.instance_name==''User Errors'')].cntr_value.first()','0',''),
('98612','46590','2','10','','0',''),
('98613','46591','1','12','$[?(@.counter_name==''Workfiles Created/sec'')].cntr_value.first()','0',''),
('98614','46591','2','10','','0',''),
('98615','46592','1','12','$[?(@.counter_name==''Worktables Created/sec'')].cntr_value.first()','0',''),
('98616','46592','2','10','','0',''),
('98617','46593','1','12','$[?(@.counter_name==''WorktablesFromCacheRatio'')].cntr_value.first()','0',''),
('98618','46594','1','20','1d','0',''),
('98619','46595','1','20','1d','0',''),
('98620','46596','1','20','1d','0',''),
('98621','46597','1','20','1d','0',''),
('98622','46598','1','20','1d','0',''),
('98623','46599','1','20','1d','0',''),
('98624','46600','1','20','1d','0',''),
('98625','46601','1','20','1d','0',''),
('98626','46602','1','20','1d','0',''),
('98627','46603','1','12','$[?(@.group_name==''{#GROUP_NAME}'')].primary_recovery_health.first()','0',''),
('98628','46603','2','20','1h','0',''),
('98629','46604','1','12','$[?(@.group_name==''{#GROUP_NAME}'')].primary_replica.first()','0',''),
('98630','46604','2','20','3h','0',''),
('98631','46605','1','12','$[?(@.group_name==''{#GROUP_NAME}'')].secondary_recovery_health.first()','0',''),
('98632','46605','2','20','1h','0',''),
('98633','46606','1','12','$[?(@.group_name==''{#GROUP_NAME}'')].synchronization_health.first()','0',''),
('98634','46606','2','20','1h','0',''),
('98635','46607','1','12','$[?(@.dbname==''{#DBNAME}'')]','1',''),
('98636','46608','1','12','$[?(@.object_name=~''.*Databases'' && @.instance_name==''{#DBNAME}'')]','1',''),
('98637','46609','1','12','$[?(@.job_name==''{#JOBNAME}'')].first()','1',''),
('98638','46610','1','12','$[?(@.dbname==''{#DBNAME}'' && @.group_name==''{#GROUP_NAME}'')].is_suspended.first()','0',''),
('98639','46610','2','20','1h','0',''),
('98640','46611','1','12','$[?(@.dbname==''{#DBNAME}'' && @.group_name==''{#GROUP_NAME}'')].database_state.first()','0',''),
('98641','46611','2','20','1h','0',''),
('98642','46612','1','12','$[?(@.dbname==''{#DBNAME}'' && @.group_name==''{#GROUP_NAME}'')].synchronization_health.first()','0',''),
('98643','46612','2','20','1h','0',''),
('98644','46613','1','12','$[?(@.dbname==''{#DBNAME}'')].mirroring_role.first()','0',''),
('98645','46613','2','20','1h','0',''),
('98646','46614','1','12','$[?(@.dbname==''{#DBNAME}'')].mirroring_role_sequence.first()','0',''),
('98647','46614','2','9','','0',''),
('98648','46614','3','20','1h','0',''),
('98649','46615','1','12','$[?(@.dbname==''{#DBNAME}'')].mirroring_safety_level.first()','0',''),
('98650','46615','2','20','1h','0',''),
('98651','46616','1','12','$[?(@.dbname==''{#DBNAME}'')].mirroring_state.first()','0',''),
('98652','46616','2','20','1h','0',''),
('98653','46617','1','12','$[?(@.dbname==''{#DBNAME}'')].mirroring_witness_state.first()','0',''),
('98654','46617','2','20','1h','0',''),
('98655','46618','1','12','$[?(@.dbname==''{#DBNAME}'' && @.group_name==''{#GROUP_NAME}'' && @.replica_name==''{#REPLICA_NAME}'')].log_send_queue_size.first()','0',''),
('98656','46618','2','1','1024','0',''),
('98657','46618','3','20','1h','0',''),
('98658','46619','1','12','$[?(@.dbname==''{#DBNAME}'' && @.group_name==''{#GROUP_NAME}'' && @.replica_name==''{#REPLICA_NAME}'')].redo_queue_size.first()','0',''),
('98659','46619','2','1','1024','0',''),
('98660','46619','3','20','1h','0',''),
('98661','46620','1','12','$[?(@.cluster_name==''{#CLUSTER_NAME}'')].quorum_state.first()','0',''),
('98662','46620','2','20','1h','0',''),
('98663','46621','1','12','$[?(@.cluster_name==''{#CLUSTER_NAME}'')].quorum_type.first()','0',''),
('98664','46621','2','20','1d','0',''),
('98665','46622','1','12','$[?(@.member_name==''{#MEMBER_NAME}'')].member_state.first()','0',''),
('98666','46622','2','20','1h','0',''),
('98667','46623','1','12','$[?(@.member_name==''{#MEMBER_NAME}'')].member_type.first()','0',''),
('98668','46623','2','20','1d','0',''),
('98669','46624','1','12','$[?(@.member_name==''{#MEMBER_NAME}'')].number_of_quorum_votes.first()','0',''),
('98670','46624','2','20','1d','0',''),
('98671','46625','1','12','$[?(@.replica_name==''{#REPLICA_NAME}'' && @.group_name==''{#GROUP_NAME}'')].connected_state.first()','0',''),
('98672','46625','2','20','1h','0',''),
('98673','46626','1','12','$[?(@.replica_name==''{#REPLICA_NAME}'' && @.group_name==''{#GROUP_NAME}'')].is_local.first()','0',''),
('98674','46626','2','20','1h','0',''),
('98675','46627','1','12','$[?(@.replica_name==''{#REPLICA_NAME}'' && @.group_name==''{#GROUP_NAME}'')].join_state.first()','0',''),
('98676','46627','2','20','1h','0',''),
('98677','46628','1','12','$[?(@.replica_name==''{#REPLICA_NAME}'' && @.group_name==''{#GROUP_NAME}'')].operational_state.first()','0',''),
('98678','46628','2','20','1h','0',''),
('98679','46629','1','12','$[?(@.replica_name==''{#REPLICA_NAME}'' && @.group_name==''{#GROUP_NAME}'')].recovery_health.first()','0',''),
('98680','46629','2','20','1h','0',''),
('98681','46630','1','12','$[?(@.replica_name==''{#REPLICA_NAME}'' && @.group_name==''{#GROUP_NAME}'')].role.first()','0',''),
('98682','46630','2','20','1h','0',''),
('98683','46631','1','12','$[?(@.replica_name==''{#REPLICA_NAME}'' && @.group_name==''{#GROUP_NAME}'')].synchronization_health.first()','0',''),
('98684','46631','2','20','1h','0',''),
('98685','46632','1','12','$[?(@.type==''I'')].duration.first()','2','0'),
('98686','46632','2','20','12h','0',''),
('98687','46633','1','12','$[?(@.type==''I'')].time_since_last_backup.first()','2','0'),
('98688','46634','1','12','$[?(@.type==''D'')].duration.first()','2','0'),
('98689','46634','2','20','12h','0',''),
('98690','46635','1','12','$[?(@.type==''D'')].time_since_last_backup.first()','2','0'),
('98691','46636','1','12','$[?(@.type==''L'')].duration.first()','2','0'),
('98692','46636','2','20','12h','0',''),
('98693','46637','1','12','$[?(@.type==''L'')].time_since_last_backup.first()','2','0'),
('98694','46638','1','12','$[0].db_recovery_model','2','1'),
('98695','46638','2','20','1d','0',''),
('98696','46639','1','12','$[?(@.counter_name==''Active Transactions'')].cntr_value.first()','0',''),
('98697','46640','1','12','$[?(@.counter_name==''Data File(s) Size (KB)'')].cntr_value.first()','0',''),
('98698','46640','2','1','1024','0',''),
('98699','46641','1','12','$[?(@.counter_name==''Log Bytes Flushed/sec'')].cntr_value.first()','0',''),
('98700','46641','2','10','','0',''),
('98701','46642','1','12','$[?(@.counter_name==''Log File(s) Size (KB)'')].cntr_value.first()','0',''),
('98702','46642','2','1','1024','0',''),
('98703','46643','1','12','$[?(@.counter_name==''Log File(s) Used Size (KB)'')].cntr_value.first()','0',''),
('98704','46643','2','1','1024','0',''),
('98705','46644','1','12','$[?(@.counter_name==''Log Flushes/sec'')].cntr_value.first()','0',''),
('98706','46644','2','10','','0',''),
('98707','46645','1','12','$[?(@.counter_name==''Log Flush Waits/sec'')].cntr_value.first()','0',''),
('98708','46645','2','10','','0',''),
('98709','46646','1','12','$[?(@.counter_name==''Log Flush Wait Time'')].cntr_value.first()','0',''),
('98710','46646','2','10','','0',''),
('98711','46647','1','12','$[?(@.counter_name==''Log Growths'')].cntr_value.first()','0',''),
('98712','46648','1','12','$[?(@.counter_name==''Log Shrinks'')].cntr_value.first()','0',''),
('98713','46649','1','12','$[?(@.counter_name==''Log Truncations'')].cntr_value.first()','0',''),
('98714','46650','1','12','$[?(@.counter_name==''Percent Log Used'')].cntr_value.first()','0',''),
('98715','46651','1','12','$[?(@.counter_name==''State'')].cntr_value.first()','0',''),
('98716','46651','2','20','15m','0',''),
('98717','46652','1','12','$[?(@.counter_name==''Transactions/sec'')].cntr_value.first()','0',''),
('98718','46652','2','10','','0',''),
('98719','46653','1','12','$.enabled','0',''),
('98720','46653','2','20','12h','0',''),
('98721','46654','1','12','$.last_run_date_time','0',''),
('98722','46654','2','21','return value == ''null'' ? 0 : Math.floor(new Date(value) / 1000);','0',''),
('98723','46654','3','20','12h','0',''),
('98724','46655','1','12','$.last_run_status_message','0',''),
('98725','46655','2','20','12h','0',''),
('98726','46656','1','12','$.next_run_date_time','0',''),
('98727','46656','2','21','return value == ''null'' ? 0 : Math.floor(new Date(value) / 1000);','0',''),
('98728','46656','3','20','12h','0',''),
('98729','46657','1','12','$.run_status','0',''),
('98730','46657','2','20','15m','0',''),
('98731','46658','1','12','$.run_duration','0',''),
('98732','46658','2','20','15m','0',''),
('98733','31069','2','20','1h','0',''),
('98734','31074','2','20','1h','0',''),
('98735','31102','3','20','1h','0',''),
('98736','31119','3','20','1h','0',''),
('98737','46431','3','20','1h','0',''),
('98738','46439','2','20','1h','0',''),
('98739','34325','2','20','12h','0',''),
('98740','34328','2','20','12h','0',''),
('98741','34330','2','20','12h','0',''),
('98742','34331','3','20','12h','0',''),
('98743','34333','3','20','12h','0',''),
('98744','46668','1','12','$.error','1',''),
('98745','46668','2','20','12h','0',''),
('98746','46669','1','12','$.metrics.AVERAGE_YSQL_CONNECTION_COUNT','0',''),
('98747','46670','1','12','$.metrics.YSQL_CONNECTION_LIMIT','0',''),
('98748','46670','2','20','12h','0',''),
('98749','46671','1','12','$.metrics.YSQL_MAX_CONNECTION_COUNT','0',''),
('98750','46672','1','12','$.metrics.CPU_USAGE','0',''),
('98751','46673','1','12','$.metrics.PROVISIONED_DISK_SPACE_GB','0',''),
('98752','46673','2','1','1073741824','0',''),
('98753','46673','3','20','1h','0',''),
('98754','46674','1','12','$.metrics.DISK_BYTES_READ_MB_PER_SEC','0',''),
('98755','46674','2','1','1048576','0',''),
('98756','46675','1','12','$.metrics.READ_OPS_PER_SEC','0',''),
('98757','46676','1','12','$.metrics.DISK_USAGE_GB','0',''),
('98758','46676','2','1','1073741824','0',''),
('98759','46677','1','12','$.metrics.DISK_BYTES_WRITTEN_MB_PER_SEC','0',''),
('98760','46677','2','1','1048576','0',''),
('98761','46678','1','12','$.metrics.WRITE_OPS_PER_SEC','0',''),
('98762','46679','1','12','$.error','1',''),
('98763','46679','2','20','12h','0',''),
('98764','46680','1','21','var cluster = JSON.parse(value);

const idx = [
	''HEALTHY'',
	''NEEDS_ATTENTION'',
	''UNHEALTHY'',
	''UNKNOWN'',
].indexOf(cluster.data.info.health_info.state);
return idx !== -1 ? idx : 3;','0',''),
('98765','46680','2','20','12h','0',''),
('98766','46681','1','12','$.metrics.MEMORY_TOTAL_GB','0',''),
('98767','46681','2','1','1073741824','0',''),
('98768','46681','3','20','12h','0',''),
('98769','46682','1','12','$.metrics.MEMORY_USAGE_GB','0',''),
('98770','46682','2','1','1073741824','0',''),
('98771','46683','1','12','$.error','1',''),
('98772','46683','2','20','12h','0',''),
('98773','46684','1','12','$.metrics.NETWORK_RECEIVE_BYTES_MB_PER_SEC','0',''),
('98774','46684','2','1','1048576','0',''),
('98775','46685','1','12','$.metrics.NETWORK_RECEIVE_ERRORS_PER_SEC','0',''),
('98776','46686','1','12','$.metrics.NETWORK_TRANSMIT_BYTES_MB_PER_SEC','0',''),
('98777','46686','2','1','1048576','0',''),
('98778','46687','1','12','$.metrics.NETWORK_TRANSMIT_ERRORS_PER_SEC','0',''),
('98779','46688','1','12','$.data.spec.cluster_info.num_nodes','0',''),
('98780','46688','2','20','12h','0',''),
('98781','46689','1','12','$.metrics.NODE_CLOCK_SKEW','0',''),
('98782','46689','2','1','0.001','1',''),
('98783','46690','1','12','$.error','1',''),
('98784','46690','2','20','12h','0',''),
('98785','46691','1','12','$.metrics.AVERAGE_READ_LATENCY_MS','0',''),
('98786','46691','2','1','0.001','2','0'),
('98787','46692','1','12','$.data.info.software_version','0',''),
('98788','46692','2','20','12h','0',''),
('98789','46693','1','21','var cluster = JSON.parse(value);

const idx = [
	''INVALID'',
	''QUEUED'',
	''INIT'',
	''BOOTSTRAPPING'',
	''VPC_PEERING'',
	''NETWORK_CREATING'',
	''PROVISIONING'',
	''CONFIGURING'',
	''CREATING_LB'',
	''UPDATING_LB'',
	''ACTIVE'',
	''PAUSING'',
	''PAUSED'',
	''RESUMING'',
	''UPDATING'',
	''MAINTENANCE'',
	''RESTORE'',
	''FAILED'',
	''CREATE_FAILED'',
	''DELETING'',
	''STARTING_NODE'',
	''STOPPING_NODE'',
	''REBOOTING_NODE'',
	''CREATE_READ_REPLICA_FAILED'',
	''DELETE_READ_REPLICA_FAILED'',
	''DELETE_CLUSTER_FAILED'',
	''EDIT_CLUSTER_FAILED'',
	''EDIT_READ_REPLICA_FAILED'',
	''PAUSE_CLUSTER_FAILED'',
	''RESUME_CLUSTER_FAILED'',
	''RESTORE_BACKUP_FAILED'',
	''CERTIFICATE_ROTATION_FAILED'',
	''UPGRADE_CLUSTER_FAILED'',
	''UPGRADE_CLUSTER_GFLAGS_FAILED'',
	''UPGRADE_CLUSTER_OS_FAILED'',
	''UPGRADE_CLUSTER_SOFTWARE_FAILED'',
	''START_NODE_FAILED'',
	''STOP_NODE_FAILED'',
	''REBOOT_NODE_FAILED'',
	''CONFIGURE_CMK'',
	''ENABLING_CMK'',
	''DISABLING_CMK'',
	''UPDATING_CMK'',
	''ROTATING_CMK'',
	''STOPPING_METRICS_EXPORTER'',
	''STARTING_METRICS_EXPORTER'',
	''CONFIGURING_METRICS_EXPORTER'',
	''STOP_METRICS_EXPORTER_FAILED'',
	''START_METRICS_EXPORTER_FAILED'',
	''CONFIGURE_METRICS_EXPORTER_FAILED'',
	''REMOVING_METRICS_EXPORTER'',
	''REMOVE_METRICS_EXPORTER_FAILED''
].indexOf(cluster.data.info.state);
return idx !== -1 ? idx : 60;','0',''),
('98790','46693','2','20','12h','0',''),
('98791','46694','1','12','$.data.spec.cluster_info.cluster_type','0',''),
('98792','46694','2','25','SYNCHRONOUS
0','0',''),
('98793','46694','3','25','GEO_PARTITIONED
1','0',''),
('98794','46694','4','20','1d','0',''),
('98795','46695','1','12','$.metrics.AVERAGE_WRITE_LATENCY_MS','0',''),
('98796','46695','2','1','0.001','2','0'),
('98797','46696','1','12','$.data.info.ybc_version','0',''),
('98798','46696','2','20','12h','0',''),
('98799','46697','1','12','$.metrics.YCQL_DELETE_LATENCY_MS','0',''),
('98800','46697','2','1','0.001','2','0'),
('98801','46698','1','12','$.metrics.YCQL_DELETE_OPS_PER_SEC','0',''),
('98802','46699','1','12','$.metrics.YCQL_INSERT_LATENCY_MS','0',''),
('98803','46699','2','1','0.001','2','0'),
('98804','46700','1','12','$.metrics.YCQL_INSERT_OPS_PER_SEC','0',''),
('98805','46701','1','12','$.metrics.YCQL_OTHER_LATENCY_MS','0',''),
('98806','46701','2','1','0.001','2','0'),
('98807','46702','1','12','$.metrics.YCQL_OTHER_OPS_PER_SEC','0',''),
('98808','46703','1','12','$.metrics.YCQL_SELECT_LATENCY_MS','0',''),
('98809','46703','2','1','0.001','2','0'),
('98810','46704','1','12','$.metrics.YCQL_SELECT_OPS_PER_SEC','0',''),
('98811','46705','1','12','$.metrics.YCQL_TRANSACTION_LATENCY_MS','0',''),
('98812','46705','2','1','0.001','2','0'),
('98813','46706','1','12','$.metrics.YCQL_TRANSACTION_OPS_PER_SEC','0',''),
('98814','46707','1','12','$.metrics.YCQL_UPDATE_LATENCY_MS','0',''),
('98815','46707','2','1','0.001','2','0'),
('98816','46708','1','12','$.metrics.YCQL_UPDATE_OPS_PER_SEC','0',''),
('98817','46709','1','12','$.metrics.YSQL_DELETE_LATENCY_MS','0',''),
('98818','46709','2','1','0.001','2','0'),
('98819','46710','1','12','$.metrics.YSQL_DELETE_OPS_PER_SEC','0',''),
('98820','46711','1','12','$.metrics.YSQL_INSERT_LATENCY_MS','0',''),
('98821','46711','2','1','0.001','2','0'),
('98822','46712','1','12','$.metrics.YSQL_INSERT_OPS_PER_SEC','0',''),
('98823','46713','1','12','$.metrics.YSQL_OTHER_LATENCY_MS','0',''),
('98824','46713','2','1','0.001','2','0'),
('98825','46714','1','12','$.metrics.YSQL_OTHER_OPS_PER_SEC','0',''),
('98826','46715','1','12','$.metrics.YSQL_SELECT_LATENCY_MS','0',''),
('98827','46715','2','1','0.001','2','0'),
('98828','46716','1','12','$.metrics.YSQL_SELECT_OPS_PER_SEC','0',''),
('98829','46717','1','12','$.metrics.YSQL_TRANSACTION_LATENCY_MS','0',''),
('98830','46717','2','1','0.001','2','0'),
('98831','46718','1','12','$.metrics.YSQL_TRANSACTION_OPS_PER_SEC','0',''),
('98832','46719','1','12','$.metrics.YSQL_UPDATE_LATENCY_MS','0',''),
('98833','46719','2','1','0.001','2','0'),
('98834','46720','1','12','$.metrics.YSQL_UPDATE_OPS_PER_SEC','0',''),
('98835','46721','1','12','$.error','1',''),
('98836','46721','2','20','12h','0',''),
('98837','46722','1','12','$.error','1',''),
('98838','46722','2','20','12h','0',''),
('98839','46723','1','21','var result = [];
var clusters = JSON.parse(value);

for (var cluster in clusters[''clusters'']) {
	result.push({
		"cluster_id": clusters[''clusters''][cluster][''info''][''id''],
		"cluster_name": clusters[''clusters''][cluster][''spec''][''name'']
	});
};

return JSON.stringify(result);','0',''),
('98840','46723','2','20','1d','0',''),
('98841','46724','1','21','var result = [];
var keyspaces = JSON.parse(value);

for (var keyspace in keyspaces.keyspaces) {
	result.push({
		"keyspace_name": keyspaces.keyspaces[keyspace][''keyspace_name'']
	});
};

return JSON.stringify(result);','0',''),
('98842','46724','2','20','1d','0',''),
('98843','46725','1','21','var result = [];
var nodes = JSON.parse(value);

for (var node in nodes.nodes) {
	result.push({
		"node_name": nodes.nodes[node][''name'']
	});
};

return JSON.stringify(result);','0',''),
('98844','46725','2','20','1d','0',''),
('98845','46727','1','12','$.keyspaces.[?(@.keyspace_name==''{#KEYSPACE.NAME}'')].first()','1',''),
('98846','46728','1','12','$.data.spec.cluster_info.node_info.num_cores','0',''),
('98847','46728','2','20','12h','0',''),
('98848','46729','1','12','$.data.spec.cluster_info.node_info.disk_size_gb','0',''),
('98849','46729','2','20','12h','0',''),
('98850','46730','1','12','$.nodes.[?(@.name==''{#NODE.NAME}'')].first()','1',''),
('98851','46731','1','12','$.data.spec.cluster_info.node_info.disk_iops','0',''),
('98852','46731','2','20','12h','0',''),
('98853','46732','1','12','$.data.spec.cluster_info.node_info.memory_mb','0',''),
('98854','46732','2','1','1048576','0',''),
('98855','46732','3','20','12h','0',''),
('98856','46733','1','12','$.size_bytes','0',''),
('98857','46734','1','12','$.type','0',''),
('98858','46734','2','25','YSQL
0','0',''),
('98859','46734','3','25','YCQL
1','0',''),
('98860','46734','4','20','1d','0',''),
('98861','46735','1','12','$.wal_size_bytes','0',''),
('98862','46736','1','12','$.is_master','0',''),
('98863','46736','2','25','true
1','0',''),
('98864','46736','3','25','false
0','0',''),
('98865','46736','4','20','1h','0',''),
('98866','46737','1','12','$.metrics.read_ops_per_sec','0',''),
('98867','46738','1','12','$.is_read_replica','0',''),
('98868','46738','2','25','true
1','0',''),
('98869','46738','3','25','false
0','0',''),
('98870','46738','4','20','1h','0',''),
('98871','46739','1','12','$.cloud_info.region','0',''),
('98872','46739','2','20','1d','0',''),
('98873','46740','1','12','$.metrics.total_sst_file_size_bytes','0',''),
('98874','46741','1','12','$.metrics.uncompressed_sst_file_size_bytes','0',''),
('98875','46742','1','12','$.is_node_up','0',''),
('98876','46742','2','25','true
1','0',''),
('98877','46742','3','25','false
0','0',''),
('98878','46742','4','20','1h','0',''),
('98879','46743','1','12','$.is_tserver','0',''),
('98880','46743','2','25','true
1','0',''),
('98881','46743','3','25','false
0','0',''),
('98882','46743','4','20','1h','0',''),
('98883','46744','1','12','$.metrics.write_ops_per_sec','0',''),
('98884','46745','1','12','$.cloud_info.zone','0',''),
('98885','46745','2','20','1d','0',''),
('98886','46750','1','12','$.length()','0',''),
('98887','46757','1','20','12h','0',''),
('98888','46763','1','20','1h','0',''),
('98889','46764','1','10','','0',''),
('98890','46769','1','20','12h','0',''),
('98891','46770','1','20','1d','0',''),
('98892','46771','1','20','1d','0',''),
('98893','46772','1','20','1d','0',''),
('98894','46773','1','20','12h','0',''),
('98895','46774','1','20','12h','0',''),
('98896','46775','1','20','12h','0',''),
('98897','46776','1','1','0.01','0',''),
('98898','46783','1','10','','0',''),
('98899','46784','1','10','','0',''),
('98900','46787','1','29','{#CPU.ID}
1.3.6.1.4.1.2620.1.6.7.5.1.1
0','0',''),
('98901','46787','2','20','1h','0',''),
('98902','46788','1','29','{#SNMPVALUE}
1.3.6.1.4.1.2620.1.6.7.8.2.1.2
0
{#FAN.UNIT}
1.3.6.1.4.1.2620.1.6.7.8.2.1.4
0','0',''),
('98903','46788','2','20','1h','0',''),
('98904','46789','1','21','var items = JSON.parse(value);

if (items.length == 0) {
	return ''[]'';
}

if (items[0][''{#FW.STATE}''] != ''Installed'') {
	return ''[]'';
}

return JSON.stringify([{"{#SNMPINDEX}": 0, "{#SINGLETON}":""}]);','0',''),
('98905','46790','1','29','{#IFOPERSTATUS}
1.3.6.1.2.1.2.2.1.8
0
{#IFADMINSTATUS}
1.3.6.1.2.1.2.2.1.7
0
{#IFALIAS}
1.3.6.1.2.1.31.1.1.1.18
0
{#IFNAME}
1.3.6.1.2.1.31.1.1.1.1
0
{#IFDESCR}
1.3.6.1.2.1.2.2.1.2
0
{#IFTYPE}
1.3.6.1.2.1.2.2.1.3
0','0',''),
('98906','46790','2','20','1h','0',''),
('98907','46791','1','29','{#SNMPVALUE}
1.3.6.1.4.1.2620.1.6.7.9.1.1.1
0','0',''),
('98908','46791','2','20','1h','0',''),
('98909','46792','1','29','{#SW.NAME}
1.3.6.1.4.1.2620.1.6.18.1.1.4
0','0',''),
('98910','46792','2','20','1h','0',''),
('98911','46793','1','29','{#SNMPVALUE}
1.3.6.1.4.1.2620.1.6.7.8.1.1.2
0','0',''),
('98912','46793','2','20','1h','0',''),
('98913','46794','1','29','{#DISK.NAME}
1.3.6.1.4.1.2620.1.6.7.6.1.2
0','0',''),
('98914','46794','2','20','1h','0',''),
('98915','46795','1','29','{#SNMPVALUE}
1.3.6.1.4.1.2620.1.6.7.8.3.1.2
0','0',''),
('98916','46795','2','20','1h','0',''),
('98917','46796','1','29','{#VPN.NAME}
1.3.6.1.4.1.2620.500.9002.1.2
0','0',''),
('98918','46796','2','20','1h','0',''),
('98919','46797','1','10','','0',''),
('98920','46800','1','10','','0',''),
('98921','46801','1','21','return Math.floor(new Date(value).getTime() / 1000);','0',''),
('98922','46801','2','20','6h','0',''),
('98923','46802','1','20','1h','0',''),
('98924','46803','1','10','','0',''),
('98925','46804','1','10','','0',''),
('98926','46806','1','10','','0',''),
('98927','46807','1','21','var value = JSON.parse(value)[0];
return value[''{#MAJOR}'']+"."+value[''{#MINOR}''];','0',''),
('98928','46807','2','20','1h','0',''),
('98929','46808','1','28','1.3.6.1.4.1.2620.1.6.7.5.1.2.{#SNMPINDEX}
0','0',''),
('98930','46809','1','28','1.3.6.1.4.1.2620.1.6.7.5.1.3.{#SNMPINDEX}
0','0',''),
('98931','46810','1','28','1.3.6.1.4.1.2620.1.6.7.5.1.4.{#SNMPINDEX}
0','0',''),
('98932','46811','1','28','1.3.6.1.4.1.2620.1.6.7.5.1.5.{#SNMPINDEX}
0','0',''),
('98933','46812','1','28','1.3.6.1.4.1.2620.1.6.7.8.2.1.3.{#SNMPINDEX}
0','0',''),
('98934','46813','1','28','1.3.6.1.4.1.2620.1.6.7.8.2.1.6.{#SNMPINDEX}
0','0',''),
('98935','46814','1','28','1.3.6.1.2.1.2.2.1.13.{#SNMPINDEX}
0','0',''),
('98936','46814','2','10','','0',''),
('98937','46815','1','28','1.3.6.1.2.1.2.2.1.14.{#SNMPINDEX}
0','0',''),
('98938','46815','2','10','','0',''),
('98939','46816','1','28','1.3.6.1.2.1.31.1.1.1.6.{#SNMPINDEX}
0','0',''),
('98940','46816','2','10','','0',''),
('98941','46816','3','1','8','0',''),
('98942','46817','1','28','1.3.6.1.2.1.2.2.1.19.{#SNMPINDEX}
0','0',''),
('98943','46817','2','10','','0',''),
('98944','46818','1','28','1.3.6.1.2.1.2.2.1.20.{#SNMPINDEX}
0','0',''),
('98945','46818','2','10','','0',''),
('98946','46819','1','28','1.3.6.1.2.1.31.1.1.1.10.{#SNMPINDEX}
0','0',''),
('98947','46819','2','10','','0',''),
('98948','46819','3','1','8','0',''),
('98949','46820','1','28','1.3.6.1.2.1.31.1.1.1.15.{#SNMPINDEX}
0','0',''),
('98950','46820','2','1','1000000','0',''),
('98951','46820','3','20','1h','0',''),
('98952','46821','1','28','1.3.6.1.2.1.2.2.1.8.{#SNMPINDEX}
0','0',''),
('98953','46822','1','28','1.3.6.1.2.1.2.2.1.3.{#SNMPINDEX}
0','0',''),
('98954','46822','2','20','1d','0',''),
('98955','46823','1','28','1.3.6.1.4.1.2620.1.6.7.9.1.1.2.{#SNMPINDEX}
0','0',''),
('98956','46823','2','21','const idx = [
	''Up'',
	''Down'',
	''Unknown''
].indexOf(value);
return idx !== -1 ? idx : 2;','0',''),
('98957','46823','3','20','1h','0',''),
('98958','46824','1','28','1.3.6.1.4.1.2620.1.6.18.1.1.6.{#SNMPINDEX}
0','0',''),
('98959','46824','2','15','^0$','1',''),
('98960','46824','3','20','6h','0',''),
('98961','46825','1','28','1.3.6.1.4.1.2620.1.6.18.1.1.9.{#SNMPINDEX}
0','0',''),
('98962','46825','2','20','6h','0',''),
('98963','46826','1','28','1.3.6.1.4.1.2620.1.6.18.1.1.10.{#SNMPINDEX}
0','0',''),
('98964','46826','2','20','1h','0',''),
('98965','46827','1','28','1.3.6.1.4.1.2620.1.6.18.1.1.5.{#SNMPINDEX}
0','0',''),
('98966','46827','2','20','6h','0',''),
('98967','46828','1','28','1.3.6.1.4.1.2620.1.6.18.1.1.8.{#SNMPINDEX}
0','0',''),
('98968','46828','2','20','1h','0',''),
('98969','46829','1','28','1.3.6.1.4.1.2620.1.6.7.8.1.1.3.{#SNMPINDEX}
0','0',''),
('98970','46830','1','28','1.3.6.1.4.1.2620.1.6.7.6.1.7.{#SNMPINDEX}
0','0',''),
('98971','46831','1','28','1.3.6.1.4.1.2620.1.6.7.6.1.5.{#SNMPINDEX}
0','0',''),
('98972','46832','1','28','1.3.6.1.4.1.2620.1.6.7.6.1.6.{#SNMPINDEX}
0','0',''),
('98973','46832','2','21','return 100 - Number(value);','0',''),
('98974','46833','1','28','1.3.6.1.4.1.2620.1.6.7.6.1.3.{#SNMPINDEX}
0','0',''),
('98975','46833','2','20','6h','0',''),
('98976','46834','1','28','1.3.6.1.4.1.2620.1.6.7.6.1.4.{#SNMPINDEX}
0','0',''),
('98977','46835','1','28','1.3.6.1.4.1.2620.1.6.7.8.3.1.3.{#SNMPINDEX}
0','0',''),
('98978','46836','1','28','1.3.6.1.4.1.2620.500.9002.1.4.{#SNMPINDEX}
0','0',''),
('98979','46836','2','20','6h','0',''),
('98980','46837','1','28','1.3.6.1.4.1.2620.500.9002.1.6.{#SNMPINDEX}
0','0',''),
('98981','46837','2','20','6h','0',''),
('98982','46838','1','28','1.3.6.1.4.1.2620.500.9002.1.1.{#SNMPINDEX}
0','0',''),
('98983','46838','2','20','6h','0',''),
('98984','46839','1','28','1.3.6.1.4.1.2620.500.9002.1.10.{#SNMPINDEX}
0','0',''),
('98985','46839','2','20','1h','0',''),
('98986','46840','1','28','1.3.6.1.4.1.2620.500.9002.1.8.{#SNMPINDEX}
0','0',''),
('98987','46840','2','20','1h','0',''),
('98988','46841','1','28','1.3.6.1.4.1.2620.500.9002.1.9.{#SNMPINDEX}
0','0',''),
('98989','46842','1','28','1.3.6.1.4.1.2620.500.9002.1.7.{#SNMPINDEX}
0','0',''),
('98990','46842','2','20','6h','0',''),
('98991','46843','1','28','1.3.6.1.4.1.2620.500.9002.1.3.{#SNMPINDEX}
0','0',''),
('98992','46843','2','20','1h','0',''),
('98993','46844','1','28','1.3.6.1.4.1.2620.500.9002.1.11.{#SNMPINDEX}
0','0',''),
('98994','46844','2','20','1h','0',''),
('98995','46848','1','21','const idx = {
	''PROVISIONING'': 1,
	''AVAILABLE'': 2,
	''STOPPING'': 3,
	''STOPPED'': 4,
	''STARTING'': 5,
	''TERMINATING'': 6,
	''TERMINATED'': 7,
	''RESTORE_IN_PROGRESS'': 8,
	''RESTORE_FAILED'': 9,
	''BACKUP_IN_PROGRESS'': 10,
	''SCALE_IN_PROGRESS'': 11,
	''AVAILABLE_NEEDS_ATTENTION'': 12,
	''UPDATING'': 13,
	''MAINTENANCE_IN_PROGRESS'': 14,
	''RESTARTING'': 15,
	''RECREATING'': 16,
	''ROLE_CHANGE_IN_PROGRESS'': 17,
	''UPGRADING'': 18,
	''UNAVAILABLE'': 19,
	''INACCESSIBLE'': 20,
	''STANDBY'': 21
};

return typeof idx[value] === ''undefined'' ? 0 : idx[value];','0',''),
('98996','46848','2','20','1h','0',''),
('98997','46850','1','21','const idx = {
	''PROVISIONING'': 1,
	''RESTORING'': 2,
	''AVAILABLE'': 3,
	''TERMINATING'': 4,
	''TERMINATED'': 5,
	''FAULTY'': 6
};

return typeof idx[value] === ''undefined'' ? 0 : idx[value];','0',''),
('98998','46850','2','20','1h','0',''),
('98999','46852','1','21','const idx = {
	''PROVISIONING'': 1,
	''RESTORING'': 2,
	''AVAILABLE'': 3,
	''TERMINATING'': 4,
	''TERMINATED'': 5,
	''FAULTY'': 6
};

return typeof idx[value] === ''undefined'' ? 0 : idx[value];','0',''),
('99000','46852','2','20','1h','0',''),
('99001','46855','1','21','const idx = {
	''MOVING'': 1,
	''PROVISIONING'': 2,
	''RUNNING'': 3,
	''STARTING'': 4,
	''STOPPING'': 5,
	''STOPPED'': 6,
	''CREATING_IMAGE'': 7,
	''TERMINATING'': 8,
	''TERMINATED'': 9
};

return typeof idx[value] === ''undefined'' ? 0 : idx[value];','0',''),
('99002','46855','2','20','1h','0',''),
('99003','46857','1','25','"
','0',''),
('99004','46857','2','21','const idx = {
	''PROVISIONING'': 1,
	''AVAILABLE'': 2,
	''TERMINATING'': 3,
	''TERMINATED'': 4,
	''UPDATING'': 5
};

return typeof idx[value] === ''undefined'' ? 0 : idx[value];','0',''),
('99005','46857','3','20','1h','0',''),
('99006','46861','1','20','1d','0',''),
('99007','46862','1','12','$.DatabaseAvailability','0',''),
('99008','46862','2','20','5h','0',''),
('99009','46863','1','12','$.DBBlockChanges','0',''),
('99010','46863','2','20','1h','0',''),
('99011','46864','1','12','$.FailedConnections','0',''),
('99012','46864','2','20','1h','0',''),
('99013','46865','1','12','$.CpuTime','0',''),
('99014','46865','2','21','return Math.round(value * 100) / 100;','0',''),
('99015','46865','3','20','1h','0',''),
('99016','46866','1','12','$.CpuUtilization','0',''),
('99017','46866','2','21','return Math.round(value * 100) / 100;','0',''),
('99018','46866','3','20','1h','0',''),
('99019','46867','1','12','$.ExecuteCount','0',''),
('99020','46867','2','20','1h','0',''),
('99021','46868','1','12','$.ConnectionLatency','0',''),
('99022','46868','2','1','0.001','0',''),
('99023','46868','3','20','5h','0',''),
('99024','46869','1','12','$.QueryLatency','0',''),
('99025','46869','2','1','0.001','0',''),
('99026','46869','3','20','5h','0',''),
('99027','46870','1','12','$.LogicalReads','0',''),
('99028','46870','2','20','1h','0',''),
('99029','46871','1','12','$.CurrentLogons','0',''),
('99030','46871','2','20','1h','0',''),
('99031','46872','1','12','$.FailedLogons','0',''),
('99032','46872','2','20','1h','0',''),
('99033','46873','1','12','$.ParseFailureCount','0',''),
('99034','46873','2','20','1h','0',''),
('99035','46874','1','12','$.HardParseCount','0',''),
('99036','46874','2','20','1h','0',''),
('99037','46875','1','12','$.ParseCount','0',''),
('99038','46875','2','20','1h','0',''),
('99039','46876','1','12','$.PhysicalReadTotalBytes','0',''),
('99040','46876','2','20','1h','0',''),
('99041','46877','1','12','$.PhysicalReads','0',''),
('99042','46877','2','20','1h','0',''),
('99043','46878','1','12','$.PhysicalWriteTotalBytes','0',''),
('99044','46878','2','20','1h','0',''),
('99045','46879','1','12','$.PhysicalWrites','0',''),
('99046','46879','2','20','1h','0',''),
('99047','46880','1','12','$.QueuedStatements','0',''),
('99048','46880','2','20','1h','0',''),
('99049','46881','1','12','$.RedoGenerated','0',''),
('99050','46881','2','20','1h','0',''),
('99051','46882','1','12','$.Sessions','0',''),
('99052','46882','2','20','1h','0',''),
('99053','46883','1','12','$.SQLNetBytesFromClient','0',''),
('99054','46883','2','20','1h','0',''),
('99055','46884','1','12','$.SQLNetBytesFromDBLink','0',''),
('99056','46884','2','20','1h','0',''),
('99057','46885','1','12','$.SQLNetBytesToClient','0',''),
('99058','46885','2','20','1h','0',''),
('99059','46886','1','12','$.SQLNetBytesToDBLink','0',''),
('99060','46886','2','20','1h','0',''),
('99061','46887','1','12','$.RunningStatements','0',''),
('99062','46887','2','20','1h','0',''),
('99063','46888','1','12','$.StorageAllocated','0',''),
('99064','46888','2','1','1073741824','0',''),
('99065','46888','3','20','12h','0',''),
('99066','46889','1','12','$.StorageMax','0',''),
('99067','46889','2','1','1073741824','0',''),
('99068','46889','3','20','12h','0',''),
('99069','46890','1','12','$.StorageUsed','0',''),
('99070','46890','2','1','1073741824','0',''),
('99071','46890','3','20','12h','0',''),
('99072','46891','1','12','$.StorageUtilization','0',''),
('99073','46891','2','20','12h','0',''),
('99074','46892','1','12','$.DBTime','0',''),
('99075','46892','2','21','return Math.round(value * 100) / 100;','0',''),
('99076','46892','3','20','1h','0',''),
('99077','46893','1','12','$.TransactionCount','0',''),
('99078','46893','2','20','1h','0',''),
('99079','46894','1','12','$.UserCalls','0',''),
('99080','46894','2','20','1h','0',''),
('99081','46895','1','12','$.UserCommits','0',''),
('99082','46895','2','20','1h','0',''),
('99083','46896','1','12','$.UserRollbacks','0',''),
('99084','46896','2','20','1h','0',''),
('99085','46897','1','12','$.WaitTime','0',''),
('99086','46897','2','21','return Math.round(value * 100) / 100;','0',''),
('99087','46897','3','20','1h','0',''),
('99088','46898','1','12','$.VolumeGuaranteedIOPS','0',''),
('99089','46898','2','20','1h','0',''),
('99090','46899','1','12','$.VolumeReadThroughput','0',''),
('99091','46899','2','20','1h','0',''),
('99092','46900','1','12','$.VolumeReadOps','0',''),
('99093','46900','2','20','1h','0',''),
('99094','46901','1','12','$.VolumeThrottledIOs','0',''),
('99095','46901','2','20','1h','0',''),
('99096','46902','1','12','$.VolumeGuaranteedThroughput','0',''),
('99097','46902','2','1','1048576','0',''),
('99098','46902','3','20','1h','0',''),
('99099','46903','1','12','$.VolumeGuaranteedVPUsPerGB','0',''),
('99100','46903','2','20','1h','0',''),
('99101','46904','1','12','$.VolumeWriteThroughput','0',''),
('99102','46904','2','20','1h','0',''),
('99103','46905','1','12','$.VolumeWriteOps','0',''),
('99104','46905','2','20','1h','0',''),
('99105','46906','1','12','$.VolumeGuaranteedIOPS','0',''),
('99106','46906','2','20','1h','0',''),
('99107','46907','1','12','$.VolumeReadThroughput','0',''),
('99108','46907','2','20','1h','0',''),
('99109','46908','1','12','$.VolumeReadOps','0',''),
('99110','46908','2','20','1h','0',''),
('99111','46909','1','12','$.VolumeThrottledIOs','0',''),
('99112','46909','2','20','1h','0',''),
('99113','46910','1','12','$.VolumeGuaranteedThroughput','0',''),
('99114','46910','2','1','1048576','0',''),
('99115','46910','3','20','1h','0',''),
('99116','46911','1','12','$.VolumeGuaranteedVPUsPerGB','0',''),
('99117','46911','2','20','1h','0',''),
('99118','46912','1','12','$.VolumeWriteThroughput','0',''),
('99119','46912','2','20','1h','0',''),
('99120','46913','1','12','$.VolumeWriteOps','0',''),
('99121','46913','2','20','1h','0',''),
('99122','46914','1','12','$.CpuUtilization','0',''),
('99123','46914','2','21','return Math.round(value * 100) / 100;','0',''),
('99124','46914','3','20','1h','0',''),
('99125','46915','1','12','$.DiskIopsRead','0',''),
('99126','46915','2','21','return Math.round(value * 100) / 100;','0',''),
('99127','46915','3','20','1h','0',''),
('99128','46916','1','12','$.DiskIopsWritten','0',''),
('99129','46916','2','21','return Math.round(value * 100) / 100;','0',''),
('99130','46916','3','20','1h','0',''),
('99131','46917','1','12','$.DiskBytesRead','0',''),
('99132','46917','2','21','return Math.round(value * 100) / 100;','0',''),
('99133','46917','3','20','1h','0',''),
('99134','46918','1','12','$.DiskBytesWritten','0',''),
('99135','46918','2','21','return Math.round(value * 100) / 100;','0',''),
('99136','46918','3','20','1h','0',''),
('99137','46919','1','12','$.LoadAverage','0',''),
('99138','46919','2','21','return Math.round(value * 100) / 100;','0',''),
('99139','46919','3','20','1h','0',''),
('99140','46920','1','12','$.MemoryAllocationStalls','0',''),
('99141','46920','2','20','1h','0',''),
('99142','46921','1','12','$.MemoryUtilization','0',''),
('99143','46921','2','21','return Math.round(value * 100) / 100;','0',''),
('99144','46921','3','20','1h','0',''),
('99145','46922','1','12','$.NetworksBytesIn','0',''),
('99146','46922','2','21','return Math.round(value * 100) / 100;','0',''),
('99147','46922','3','20','1h','0',''),
('99148','46923','1','12','$.NetworksBytesOut','0',''),
('99149','46923','2','21','return Math.round(value * 100) / 100;','0',''),
('99150','46923','3','20','1h','0',''),
('99151','46924','1','12','$.ClientErrors','0',''),
('99152','46924','2','20','1h','0',''),
('99153','46925','1','12','$.FirstByteLatency','0',''),
('99154','46925','2','1','0.001','0',''),
('99155','46925','3','20','1h','0',''),
('99156','46926','1','12','$.TotalRequestLatency','0',''),
('99157','46926','2','1','0.001','0',''),
('99158','46926','3','20','1h','0',''),
('99159','46927','1','12','$.ObjectCount','0',''),
('99160','46927','2','20','12h','0',''),
('99161','46928','1','12','$.AllRequests','0',''),
('99162','46928','2','20','1h','0',''),
('99163','46929','1','12','$.PostRequests','0',''),
('99164','46929','2','20','1h','0',''),
('99165','46930','1','12','$.PutRequests','0',''),
('99166','46930','2','20','1h','0',''),
('99167','46931','1','12','$.StoredBytes','0',''),
('99168','46931','2','20','12h','0',''),
('99169','46932','1','12','$.UncommittedParts','0',''),
('99170','46932','2','20','12h','0',''),
('99171','46939','1','20','1h','0',''),
('99172','46940','1','20','1h','0',''),
('99173','46942','1','12','$[?(@.id == ''{#ID}'')].state.first()','0',''),
('99174','46942','2','21','const idx = {
	''ATTACHING'': 1,
	''ATTACHED'': 2,
	''DETACHING'': 3,
	''DETACHED'': 4
};

return typeof idx[value] === ''undefined'' ? 0 : idx[value];','0',''),
('99175','46942','3','20','1h','0',''),
('99176','46943','1','12','$.VnicEgressDropsSecurityList','0',''),
('99177','46943','2','20','1h','0',''),
('99178','46944','1','12','$.SmartnicBufferDropsFromHost','0',''),
('99179','46944','2','20','1h','0',''),
('99180','46945','1','12','$.VnicIngressDropsSecurityList','0',''),
('99181','46945','2','20','1h','0',''),
('99182','46946','1','12','$.VnicToNetworkBytes','0',''),
('99183','46946','2','20','1h','0',''),
('99184','46947','1','12','$.VnicFromNetworkBytes','0',''),
('99185','46947','2','20','1h','0',''),
('99186','46948','1','12','$.VnicConntrackIsFull','0',''),
('99187','46948','2','20','1h','0',''),
('99188','46949','1','12','$.VnicConntrackUtilPercent','0',''),
('99189','46949','2','20','1h','0',''),
('99190','46950','1','12','$.VnicEgressDropsConntrackFull','0',''),
('99191','46950','2','20','1h','0',''),
('99192','46951','1','12','$.VnicEgressDropsThrottle','0',''),
('99193','46951','2','20','1h','0',''),
('99194','46952','1','12','$.VnicToNetworkPackets','0',''),
('99195','46952','2','20','1h','0',''),
('99196','46953','1','12','$.VnicIngressDropsConntrackFull','0',''),
('99197','46953','2','20','1h','0',''),
('99198','46954','1','12','$.VnicIngressDropsThrottle','0',''),
('99199','46954','2','20','1h','0',''),
('99200','46955','1','12','$.VnicFromNetworkPackets','0',''),
('99201','46955','2','20','1h','0',''),
('99202','46956','1','12','$.SmartnicBufferDropsFromNetwork','0',''),
('99203','46956','2','20','1h','0',''),
('99204','46957','1','12','$..[?(@.id == ''{#ID}'')].state.first()','0',''),
('99205','46957','2','21','const idx = {
	''PROVISIONING'': 1,
	''AVAILABLE'': 2,
	''TERMINATING'': 3,
	''TERMINATED'': 4
};

return typeof idx[value] === ''undefined'' ? 0 : idx[value];','0',''),
('99206','46957','3','20','1h','0',''),
('99207','30523','1','12','$.[?(@.Master_Host==''{#MASTER_HOST}'')].first()','0',''),
('99208','46965','1','20','1d','0',''),
('99209','46966','1','20','1d','0',''),
('99210','46967','1','20','1d','0',''),
('99211','46968','1','20','1d','0',''),
('99212','46969','1','20','1d','0',''),
('99213','46971','1','20','1d','0',''),
('99214','46972','1','20','1d','0',''),
('99215','46974','1','10','','0',''),
('99216','46975','1','20','6h','0',''),
('99217','46976','1','10','','0',''),
('99218','46977','1','10','','0',''),
('99219','46978','1','10','','0',''),
('99220','46979','1','10','','0',''),
('99221','46980','1','10','','0',''),
('99222','46981','1','10','','0',''),
('99223','46982','1','10','','0',''),
('99224','46983','1','10','','0',''),
('99225','46988','1','20','1h','0',''),
('99226','46989','1','20','1h','0',''),
('99227','46991','1','20','1h','0',''),
('99228','46993','1','29','{#CPU.ID}
1.3.6.1.4.1.12356.101.4.4.2.1.1
0
{#CPU.TYPE}
1.3.6.1.4.1.12356.101.4.4.2.1.4
0','1',''),
('99229','46993','2','20','1h','0',''),
('99230','46994','1','29','{#HA.ID}
1.3.6.1.4.1.12356.101.13.2.1.1.1
0
{#HA.SN}
1.3.6.1.4.1.12356.101.13.2.1.1.2
0','1',''),
('99231','46994','2','20','1h','0',''),
('99232','46995','1','29','{#SENSOR.ID}
1.3.6.1.4.1.12356.101.4.3.2.1.1
0
{#SENSOR.NAME}
1.3.6.1.4.1.12356.101.4.3.2.1.2
0','1',''),
('99233','46995','2','20','1h','0',''),
('99234','46996','1','29','{#HNAME}
1.3.6.1.4.1.12356.101.4.9.2.1.2
0
{#IFNAME}
1.3.6.1.4.1.12356.101.4.9.2.1.14
0','1',''),
('99235','46996','2','20','1h','0',''),
('99236','46997','1','29','{#CPU.ID}
1.3.6.1.4.1.12356.101.4.4.2.1.1
0
{#CPU.TYPE}
1.3.6.1.4.1.12356.101.4.4.2.1.4
0','1',''),
('99237','46997','2','20','1h','0',''),
('99238','46998','1','29','{#VDOM.ID}
1.3.6.1.4.1.12356.101.3.2.1.1.1
0
{#VDOM.NAME}
1.3.6.1.4.1.12356.101.3.2.1.1.2
0','1',''),
('99239','46998','2','20','1h','0',''),
('99240','46999','1','29','{#VPN.NAME}
1.3.6.1.4.1.12356.101.12.2.2.1.3
0','1',''),
('99241','46999','2','20','1h','0',''),
('99242','47000','1','29','{#WC.ID}
1.3.6.1.4.1.12356.101.14.4.3.1.1
0
{#WC.NAME}
1.3.6.1.4.1.12356.101.14.4.3.1.3
0','1',''),
('99243','47000','2','20','1h','0',''),
('99244','47001','1','28','1.3.6.1.4.1.12356.101.4.4.2.1.10.{#SNMPINDEX}
0','0',''),
('99245','47002','1','28','1.3.6.1.4.1.12356.101.4.4.2.1.2.{#SNMPINDEX}
0','0',''),
('99246','47003','1','28','1.3.6.1.4.1.12356.101.4.4.2.1.9.{#SNMPINDEX}
0','0',''),
('99247','47004','1','28','1.3.6.1.4.1.12356.101.13.2.1.1.10.{#SNMPINDEX}
0','0',''),
('99248','47004','2','10','','0',''),
('99249','47005','1','28','1.3.6.1.4.1.12356.101.13.2.1.1.8.{#SNMPINDEX}
0','0',''),
('99250','47005','2','10','','0',''),
('99251','47006','1','28','1.3.6.1.4.1.12356.101.13.2.1.1.15.{#SNMPINDEX}
0','0',''),
('99252','47006','2','20','1d','0',''),
('99253','47007','1','28','1.3.6.1.4.1.12356.101.13.2.1.1.3.{#SNMPINDEX}
0','0',''),
('99254','47008','1','28','1.3.6.1.4.1.12356.101.13.2.1.1.11.{#SNMPINDEX}
0','0',''),
('99255','47008','2','20','1d','0',''),
('99256','47009','1','28','1.3.6.1.4.1.12356.101.13.2.1.1.9.{#SNMPINDEX}
0','0',''),
('99257','47009','2','10','','0',''),
('99258','47010','1','28','1.3.6.1.4.1.12356.101.13.2.1.1.4.{#SNMPINDEX}
0','0',''),
('99259','47011','1','28','1.3.6.1.4.1.12356.101.13.2.1.1.5.{#SNMPINDEX}
0','0',''),
('99260','47011','2','1','1024','0',''),
('99261','47012','1','28','1.3.6.1.4.1.12356.101.13.2.1.1.7.{#SNMPINDEX}
0','0',''),
('99262','47012','2','10','','0',''),
('99263','47013','1','28','1.3.6.1.4.1.12356.101.13.2.1.1.16.{#SNMPINDEX}
0','0',''),
('99264','47013','2','20','6h','0',''),
('99265','47014','1','28','1.3.6.1.4.1.12356.101.13.2.1.1.2.{#SNMPINDEX}
0','0',''),
('99266','47014','2','20','1d','0',''),
('99267','47015','1','28','1.3.6.1.4.1.12356.101.13.2.1.1.6.{#SNMPINDEX}
0','0',''),
('99268','47016','1','28','1.3.6.1.4.1.12356.101.13.2.1.1.12.{#SNMPINDEX}
0','0',''),
('99269','47017','1','28','1.3.6.1.4.1.12356.101.4.3.2.1.4.{#SENSOR.ID}
0','0',''),
('99270','47018','1','28','1.3.6.1.4.1.12356.101.4.3.2.1.3.{#SENSOR.ID}
0','0',''),
('99271','47018','2','20','1h','0',''),
('99272','47019','1','28','1.3.6.1.4.1.12356.101.4.9.2.1.6.{#SNMPINDEX}
0','0',''),
('99273','47020','1','28','1.3.6.1.4.1.12356.101.4.9.2.1.5.{#SNMPINDEX}
0','0',''),
('99274','47021','1','28','1.3.6.1.4.1.12356.101.4.9.2.1.9.{#SNMPINDEX}
0','0',''),
('99275','47022','1','28','1.3.6.1.4.1.12356.101.4.9.2.1.8.{#SNMPINDEX}
0','0',''),
('99276','47022','2','10','','0',''),
('99277','47023','1','28','1.3.6.1.4.1.12356.101.4.9.2.1.7.{#SNMPINDEX}
0','0',''),
('99278','47023','2','10','','0',''),
('99279','47024','1','28','1.3.6.1.4.1.12356.101.4.9.2.1.4.{#SNMPINDEX}
0','0',''),
('99280','47025','1','28','1.3.6.1.4.1.12356.101.4.4.2.1.8.{#SNMPINDEX}
0','0',''),
('99281','47025','2','10','','0',''),
('99282','47026','1','28','1.3.6.1.4.1.12356.101.4.4.2.1.6.{#SNMPINDEX}
0','0',''),
('99283','47026','2','10','','0',''),
('99284','47027','1','28','1.3.6.1.4.1.12356.101.4.4.2.1.7.{#SNMPINDEX}
0','0',''),
('99285','47027','2','10','','0',''),
('99286','47028','1','28','1.3.6.1.4.1.12356.101.3.2.1.1.5.{#SNMPINDEX}
0','0',''),
('99287','47029','1','28','1.3.6.1.4.1.12356.101.3.2.1.1.4.{#SNMPINDEX}
0','0',''),
('99288','47030','1','28','1.3.6.1.4.1.12356.101.3.2.1.1.6.{#SNMPINDEX}
0','0',''),
('99289','47031','1','28','1.3.6.1.4.1.12356.101.3.2.1.1.3.{#SNMPINDEX}
0','0',''),
('99290','47032','1','28','1.3.6.1.4.1.12356.101.3.2.1.1.8.{#SNMPINDEX}
0','0',''),
('99291','47033','1','28','1.3.6.1.4.1.12356.101.3.2.1.1.7.{#SNMPINDEX}
0','0',''),
('99292','47034','1','28','1.3.6.1.4.1.12356.101.12.2.2.1.20.{#SNMPINDEX}
0','0',''),
('99293','47035','1','28','1.3.6.1.4.1.12356.101.14.4.3.1.2.{#SNMPINDEX}
0','0',''),
('99294','47036','1','28','1.3.6.1.4.1.12356.101.14.4.3.1.12.{#SNMPINDEX}
0','0',''),
('99295','47037','1','28','1.3.6.1.4.1.12356.101.14.4.4.1.6.{#SNMPINDEX}
0','0',''),
('99296','47037','2','20','1h','0',''),
('99297','47038','1','28','1.3.6.1.4.1.12356.101.14.4.4.1.15.{#SNMPINDEX}
0','0',''),
('99298','47038','2','20','1d','0',''),
('99299','47039','1','28','1.3.6.1.4.1.12356.101.14.4.4.1.17.{#SNMPINDEX}
0','0',''),
('99300','47040','1','28','1.3.6.1.4.1.12356.101.14.4.4.1.7.{#SNMPINDEX}
0','0',''),
('99301','47041','1','28','1.3.6.1.4.1.12356.101.14.4.4.1.20.{#SNMPINDEX}
0','0',''),
('99302','47042','1','28','1.3.6.1.4.1.12356.101.14.4.4.1.9.{#SNMPINDEX}
0','0',''),
('99303','47042','2','1','0.01','0',''),
('99304','47043','1','28','1.3.6.1.4.1.12356.101.14.4.4.1.13.{#SNMPINDEX}
0','0',''),
('99305','47043','2','20','1d','0',''),
('99306','47044','1','28','1.3.6.1.4.1.12356.101.14.4.4.1.3.{#SNMPINDEX}
0','0',''),
('99307','47044','2','20','1h','0',''),
('99308','47045','1','28','1.3.6.1.4.1.12356.101.14.4.4.1.2.{#SNMPINDEX}
0','0',''),
('99309','47045','2','20','1h','0',''),
('99310','47046','1','28','1.3.6.1.4.1.12356.101.14.4.4.1.5.{#SNMPINDEX}
0','0',''),
('99311','47046','2','20','1h','0',''),
('99312','47047','1','28','1.3.6.1.4.1.12356.101.14.4.4.1.4.{#SNMPINDEX}
0','0',''),
('99313','47047','2','20','1h','0',''),
('99314','47048','1','28','1.3.6.1.4.1.12356.101.14.4.3.1.4.{#SNMPINDEX}
0','0',''),
('99315','47048','2','20','1h','0',''),
('99316','47049','1','28','1.3.6.1.4.1.12356.101.14.4.4.1.22.{#SNMPINDEX}
0','0',''),
('99317','47049','2','20','1h','0',''),
('99318','47049','3','1','1024','0',''),
('99319','47050','1','28','1.3.6.1.4.1.12356.101.14.4.4.1.21.{#SNMPINDEX}
0','0',''),
('99320','47051','1','28','1.3.6.1.4.1.12356.101.14.4.4.1.12.{#SNMPINDEX}
0','0',''),
('99321','47051','2','20','1h','0',''),
('99322','47052','1','28','1.3.6.1.4.1.12356.101.14.4.3.1.5.{#SNMPINDEX}
0','0',''),
('99323','47052','2','20','1h','0',''),
('99324','47053','1','28','1.3.6.1.4.1.12356.101.14.4.3.1.9.{#SNMPINDEX}
0','0',''),
('99325','47053','2','20','10m','0',''),
('99326','47054','1','28','1.3.6.1.4.1.12356.101.14.4.3.1.8.{#SNMPINDEX}
0','0',''),
('99327','47054','2','20','10m','0',''),
('99328','47055','1','28','1.3.6.1.4.1.12356.101.14.4.3.1.7.{#SNMPINDEX}
0','0',''),
('99329','47055','2','20','1h','0',''),
('99330','47056','1','28','1.3.6.1.4.1.12356.101.14.4.3.1.11.{#SNMPINDEX}
0','0',''),
('99331','47056','2','20','1h','0',''),
('99332','47057','1','28','1.3.6.1.4.1.12356.101.14.4.3.1.6.{#SNMPINDEX}
0','0',''),
('99333','47057','2','20','1h','0',''),
('99334','47058','1','28','1.3.6.1.4.1.12356.101.14.4.3.1.10.{#SNMPINDEX}
0','0',''),
('99335','47058','2','20','10m','0',''),
('99336','47059','1','28','1.3.6.1.4.1.12356.101.14.4.4.1.18.{#SNMPINDEX}
0','0',''),
('99337','47059','2','10','','0',''),
('99338','47059','3','1','8','0',''),
('99339','47060','1','28','1.3.6.1.4.1.12356.101.14.4.4.1.19.{#SNMPINDEX}
0','0',''),
('99340','47060','2','10','','0',''),
('99341','47060','3','1','8','0',''),
('99342','47061','1','28','1.3.6.1.4.1.12356.101.14.4.4.1.16.{#SNMPINDEX}
0','0',''),
('99343','47061','2','20','1h','0',''),
('99344','47062','1','28','1.3.6.1.4.1.12356.101.14.4.4.1.10.{#SNMPINDEX}
0','0',''),
('99345','47062','2','1','0.01','0',''),
('99346','47063','1','28','1.3.6.1.4.1.12356.101.14.4.4.1.14.{#SNMPINDEX}
0','0',''),
('99347','47063','2','20','1d','0',''),
('99348','47064','1','28','1.3.6.1.4.1.12356.101.14.4.4.1.8.{#SNMPINDEX}
0','0',''),
('99349','47064','2','1','0.01','0',''),
('99350','47065','1','28','1.3.6.1.4.1.12356.101.14.4.3.1.13.{#SNMPINDEX}
0','0',''),
('99351','47066','1','28','1.3.6.1.4.1.12356.101.14.4.3.1.14.{#SNMPINDEX}
0','0',''),
('99352','47066','2','20','1h','0',''),
('99353','47067','1','21','var result = [],
	sensors = JSON.parse(value)[''val''][''HostNumericSensorInfo''],
	discovery_flag = ''{$VMWARE.HV.SENSOR.DISCOVERY}''.toLowerCase().trim();

if (!(discovery_flag == ''true'' || discovery_flag == ''false'')) {
	throw ''Incorrect value of macro "{$'' + ''VMWARE.HV.SENSOR.DISCOVERY}". Can be used only "true" or "false". Actual value: '' + discovery_flag;
}

if (discovery_flag !== ''true'' || typeof sensors === "undefined") {
	return JSON.stringify([]);
}

sensors.forEach(function(sensor) {
	result.push({"{#NAME}": sensor[''name''], "{#TYPE}": sensor[''sensorType''].toLowerCase()});
})

return JSON.stringify(result);','0',''),
('99354','47067','2','20','6h','0',''),
('99355','47068','1','12','$..HostNumericSensorInfo[?(@.name=="{#NAME}")].healthState.label.first()','0',''),
('99356','47068','2','21','const idx = [
	''gray'',
	''green'',
	''yellow'',
	''red''
].indexOf(value.toLowerCase());
return idx !== -1 ? idx : 0;','0',''),
('99357','47068','3','20','6h','0',''),
('99358','29653','2','20','1h','0',''),
('99359','29703','1','21','return JSON.stringify(JSON.parse(value),[''node'',''name'',''vhost'']);','0',''),
('99360','29703','2','20','1h','0',''),
('99361','30026','1','21','return JSON.stringify(JSON.parse(value),[''name'',''type'',''vhost'']);','0',''),
('99362','30026','2','20','1h','0',''),
('99363','33744','3','20','1h','0',''),
('99364','33745','3','20','1h','0',''),
('99365','33746','3','20','1h','0',''),
('99366','30043','1','20','1h','0',''),
('99367','29785','1','21','return JSON.stringify(JSON.parse(value),[''name'',''type'',''vhost'']);','0',''),
('99368','29785','2','20','1h','0',''),
('99369','29786','1','21','return JSON.stringify(JSON.parse(value),[''node'',''name'',''vhost'']);','0',''),
('99370','29786','2','20','1h','0',''),
('99371','33754','3','20','1h','0',''),
('99372','33755','3','20','1h','0',''),
('99373','33756','3','20','1h','0',''),
('99374','47069','1','26','-1','1',''),
('99375','47070','1','26','-1','1',''),
('99376','47071','1','26','-1','1',''),
('99377','47072','1','12','$.[?(@.Label == "ActiveFlowCount")].Values.first().first()','1',''),
('99378','47073','1','12','$.[?(@.Label == "ActiveFlowCount_TCP")].Values.first().first()','1',''),
('99379','47074','1','12','$.[?(@.Label == "ActiveFlowCount_TLS")].Values.first().first()','1',''),
('99380','47075','1','12','$.[?(@.Label == "ActiveFlowCount_UDP")].Values.first().first()','1',''),
('99381','47076','1','12','$.error','2',''),
('99382','47076','2','20','3h','0',''),
('99383','47077','1','12','$.[?(@.Label == "ConsumedLCUs")].Values.first().first()','1',''),
('99384','47078','1','12','$.[?(@.Label == "ConsumedLCUs_TCP")].Values.first().first()','1',''),
('99385','47079','1','12','$.[?(@.Label == "ConsumedLCUs_TLS")].Values.first().first()','1',''),
('99386','47080','1','12','$.[?(@.Label == "ConsumedLCUs_UDP")].Values.first().first()','1',''),
('99387','47081','1','12','$.[?(@.Label == "ClientTLSNegotiationErrorCount")].Values.first().first()','1',''),
('99388','47082','1','12','$.error','2',''),
('99389','47082','2','20','3h','0',''),
('99390','47083','1','12','$.[?(@.Label == "NewFlowCount")].Values.first().first()','1',''),
('99391','47084','1','12','$.[?(@.Label == "NewFlowCount_TCP")].Values.first().first()','1',''),
('99392','47085','1','12','$.[?(@.Label == "NewFlowCount_TLS")].Values.first().first()','1',''),
('99393','47086','1','12','$.[?(@.Label == "NewFlowCount_UDP")].Values.first().first()','1',''),
('99394','47087','1','12','$.[?(@.Label == "PeakPacketsPerSecond")].Values.first().first()','1',''),
('99395','47088','1','12','$.[?(@.Label == "PortAllocationErrorCount")].Values.first().first()','1',''),
('99396','47089','1','12','$.[?(@.Label == "ProcessedBytes")].Values.first().first()','1',''),
('99397','47090','1','12','$.[?(@.Label == "ProcessedBytes_TCP")].Values.first().first()','1',''),
('99398','47091','1','12','$.[?(@.Label == "ProcessedBytes_TLS")].Values.first().first()','1',''),
('99399','47092','1','12','$.[?(@.Label == "ProcessedBytes_UDP")].Values.first().first()','1',''),
('99400','47093','1','12','$.[?(@.Label == "ProcessedPackets")].Values.first().first()','1',''),
('99401','47094','1','12','$.[?(@.Label == "SecurityGroupBlockedFlowCount_Inbound_ICMP")].Values.first().first()','1',''),
('99402','47095','1','12','$.[?(@.Label == "SecurityGroupBlockedFlowCount_Inbound_TCP")].Values.first().first()','1',''),
('99403','47096','1','12','$.[?(@.Label == "SecurityGroupBlockedFlowCount_Inbound_UDP")].Values.first().first()','1',''),
('99404','47097','1','12','$.[?(@.Label == "SecurityGroupBlockedFlowCount_Outbound_ICMP")].Values.first().first()','1',''),
('99405','47098','1','12','$.[?(@.Label == "SecurityGroupBlockedFlowCount_Outbound_TCP")].Values.first().first()','1',''),
('99406','47099','1','12','$.[?(@.Label == "SecurityGroupBlockedFlowCount_Outbound_UDP")].Values.first().first()','1',''),
('99407','47100','1','12','$.[?(@.Label == "TargetTLSNegotiationErrorCount")].Values.first().first()','1',''),
('99408','47101','1','12','$.[?(@.Label == "TCP_Client_Reset_Count")].Values.first().first()','1',''),
('99409','47102','1','12','$.[?(@.Label == "TCP_ELB_Reset_Count")].Values.first().first()','1',''),
('99410','47103','1','12','$.[?(@.Label == "TCP_Target_Reset_Count")].Values.first().first()','1',''),
('99411','47104','1','12','$.[?(@.Label == "UnhealthyRoutingFlowCount")].Values.first().first()','1',''),
('99412','47105','1','21','var result = [];
var alarms = JSON.parse(value);

alarms.forEach(function(alarm) {

 result.push({
''{#ALARM_DESCRIPTION}'': alarm.AlarmDescription !== null ? alarm.AlarmDescription : ''None'' ,
''{#ALARM_NAME}'': alarm.AlarmName,
''{#ALARM_PERIOD}'': alarm.Period,
''{#METRIC_NAME}'': alarm.MetricName,
''{#ALARM_SERVICE_NAMESPACE}'': alarm.Namespace !== null ? alarm.Namespace : ''None''
  });
});

return JSON.stringify(result);','0',''),
('99413','47105','2','20','3h','0',''),
('99414','47106','1','20','3h','0',''),
('99415','47107','1','26','-1','1',''),
('99416','47108','1','12','$.[?(@.AlarmName == "{#ALARM_NAME}")].first()','1',''),
('99417','47109','1','12','$.[?(@.Label == "HealthyHostCount")].Values.first().first()','1',''),
('99418','47110','1','12','$.[?(@.Label == "UnHealthyHostCount")].Values.first().first()','1',''),
('99419','47111','1','12','$.StateValue','2','3'),
('99420','47111','2','21','var state = [''OK'', ''INSUFFICIENT_DATA'', ''ALARM''];

return state.indexOf(value.trim()) === -1 ? 255 : state.indexOf(value.trim());','0',''),
('99421','47112','1','12','$.StateReason','1',''),
('99422','47112','2','20','3h','0',''),
('99423','46216','1','1','1000','0',''),
('99424','22947','1','21','var filesystems = JSON.parse(value);

result = filesystems.map(function (filesystem) {
	return {
		''fsname'': filesystem.fsname,
		''fstype'': filesystem.fstype
	};
});

return JSON.stringify(result);','0',''),
('99425','22947','2','20','1h','0',''),
('99426','47113','1','12','$.bytes.pused','0',''),
('99427','22907','1','21','var filesystems = JSON.parse(value);

result = filesystems.map(function (filesystem) {
	return {
		''fsname'': filesystem.fsname,
		''fstype'': filesystem.fstype
	};
});

return JSON.stringify(result);','0',''),
('99428','22907','2','20','1h','0',''),
('99429','47114','1','12','$.bytes.pused','0',''),
('99430','22987','1','21','var filesystems = JSON.parse(value);

result = filesystems.map(function (filesystem) {
	return {
		''fsname'': filesystem.fsname,
		''fstype'': filesystem.fstype
	};
});

return JSON.stringify(result);','0',''),
('99431','22987','2','20','1h','0',''),
('99432','47115','1','12','$.bytes.pused','0',''),
('99433','42273','1','21','var filesystems = JSON.parse(value);

result = filesystems.map(function (filesystem) {
	return {
		''fsname'': filesystem.fsname,
		''fstype'': filesystem.fstype
	};
});

return JSON.stringify(result);','0',''),
('99434','42273','2','20','1h','0',''),
('99435','42276','1','21','var filesystems = JSON.parse(value);

result = filesystems.map(function (filesystem) {
	return {
		''fsname'': filesystem.fsname,
		''fstype'': filesystem.fstype
	};
});

return JSON.stringify(result);','0',''),
('99436','42276','2','20','1h','0',''),
('99437','47116','1','12','$.bytes.free','0',''),
('99438','47117','1','12','$.bytes.free','0',''),
('99439','42362','1','21','var filesystems = JSON.parse(value);

result = filesystems.map(function (filesystem) {
	return {
		''fsname'': filesystem.fsname,
		''fstype'': filesystem.fstype
	};
});

return JSON.stringify(result);','0',''),
('99440','42362','2','20','1h','0',''),
('99441','47118','1','12','$.bytes.free','0',''),
('99442','29430','2','21','var filesystems = JSON.parse(value);

result = filesystems.map(function (filesystem) {
	return {
		''mountpoint'': filesystem.labels.mountpoint,
		''fstype'': filesystem.labels.fstype,
		''device'': filesystem.labels.device
	};
});

return JSON.stringify(result);','0',''),
('99443','29430','3','20','1h','0',''),
('99444','29432','1','23','{__name__=~"^node_filesystem_(free|size)(?:_bytes)?$",mountpoint="{#FSNAME}"}','0',''),
('99445','29432','2','21','var free;
var total;

JSON.parse(value).forEach(function(metric) {
	if (metric[''name''] == ''node_filesystem_size_bytes''){
		total = parseFloat(metric[''value'']);
	} else if (metric[''name''] == ''node_filesystem_free_bytes''){
		free = parseFloat(metric[''value'']);
	}
});

return (total-free);','0',''),
('99446','29433','1','23','{__name__=~"^node_filesystem_(avail|free|size)(?:_bytes)?$",mountpoint="{#FSNAME}"}','0',''),
('99447','29433','2','21','var available,
	free,
	total;

JSON.parse(value).forEach(function(metric) {
	if (metric[''name''] == ''node_filesystem_size_bytes''){
		total = parseFloat(metric[''value'']);
	} else if (metric[''name''] == ''node_filesystem_free_bytes''){
		free = parseFloat(metric[''value'']);
	} else if (metric[''name''] == ''node_filesystem_avail_bytes''){
		available = parseFloat(metric[''value'']);
	}
});
if ((total - free + available) <= 0){
	return 0;
} else {
	return (100 - 100 * available / (total - free + available));
}','0',''),
('99448','47119','1','22','{__name__=~"^node_filesystem_readonly$", mountpoint="{#FSNAME}"}
value
','0',''),
('99449','45481','1','29','dskPath
1.3.6.1.4.1.2021.9.1.2
0
dskDevice
1.3.6.1.4.1.2021.9.1.3
0
dskPercentNode
1.3.6.1.4.1.2021.9.1.10
0
dskTotalLow
1.3.6.1.4.1.2021.9.1.11
0
dskTotalHigh
1.3.6.1.4.1.2021.9.1.12
0
dskAvailLow
1.3.6.1.4.1.2021.9.1.13
0
dskAvailHigh
1.3.6.1.4.1.2021.9.1.14
0
dskUsedLow
1.3.6.1.4.1.2021.9.1.15
0
dskUsedHigh
1.3.6.1.4.1.2021.9.1.16
0
dskEntry
1.3.6.1.4.1.2021.9.1.1
0','0',''),
('99450','47120','1','21',E'var data = JSON.parse(value);

result = data.filter(function(obj) {
	return obj["{\\#SNMPINDEX}"] === "{#SNMPINDEX}";
})[0];

return JSON.stringify(result);','0',''),
('99451','42439','1','21','const portionHigh = 4294967296;

const obj = JSON.parse(value);

const dskAvailHigh = parseInt(obj[''dskAvailHigh''], 10),
	  dskAvailLow = parseInt(obj[''dskAvailLow''], 10),
	  dskUsedHigh = parseInt(obj[''dskUsedHigh''], 10),
	  dskUsedLow = parseInt(obj[''dskUsedLow''], 10);

const available = (dskAvailHigh * portionHigh + dskAvailLow) * 1024,
	  used = (dskUsedHigh * portionHigh + dskUsedLow) * 1024;

if ((available + used) <= 0) {
	return 0;
}

return used / (used + available) * 100;','0',''),
('99452','47121','1','21','const portionHigh = 4294967296;

const obj = JSON.parse(value);

const dskAvailHigh = parseInt(obj[''dskAvailHigh''], 10),
	  dskAvailLow = parseInt(obj[''dskAvailLow''], 10);

return (dskAvailHigh * portionHigh + dskAvailLow) * 1024;','0',''),
('99453','23067','1','21','var filesystems = JSON.parse(value);

result = filesystems.map(function (filesystem) {
	return {
		''fsname'': filesystem.fsname,
		''fstype'': filesystem.fstype,
		''fsoptions'': filesystem.fsoptions
	};
});

return JSON.stringify(result);','0',''),
('99454','23067','2','20','1h','0',''),
('99455','47122','1','12','$.bytes.pused','0',''),
('99456','22867','1','21','var filesystems = JSON.parse(value);

result = filesystems.map(function (filesystem) {
	return {
		''fsname'': filesystem.fsname,
		''fstype'': filesystem.fstype
	};
});

return JSON.stringify(result);','0',''),
('99457','22867','2','20','1h','0',''),
('99458','47123','1','12','$.bytes.pused','0',''),
('99459','23027','1','21','var filesystems = JSON.parse(value);

result = filesystems.map(function (filesystem) {
	return {
		''fsname'': filesystem.fsname,
		''fstype'': filesystem.fstype
	};
});

return JSON.stringify(result);','0',''),
('99460','23027','2','20','1h','0',''),
('99461','47124','1','12','$.bytes.pused','0',''),
('99462','47125','1','12','$.bytes.free','0',''),
('99463','47126','1','12','$.bytes.free','0',''),
('99464','45487','1','29','hrStorageType
1.3.6.1.2.1.25.2.3.1.2
0
hrStorageDescr
1.3.6.1.2.1.25.2.3.1.3
0
hrStorageAllocationUnits
1.3.6.1.2.1.25.2.3.1.4
0
hrStorageSize
1.3.6.1.2.1.25.2.3.1.5
0
hrStorageUsed
1.3.6.1.2.1.25.2.3.1.6
0','0',''),
('99465','47127','1','21',E'var data = JSON.parse(value);

result = data.filter(function(obj) {
	return obj["{\\#SNMPINDEX}"] === "{#SNMPINDEX}";
})[0];

return JSON.stringify(result);','0',''),
('99466','47128','1','21',E'var data = JSON.parse(value);

result = data.filter(function(obj) {
	return obj["{\\#SNMPINDEX}"] === "{#SNMPINDEX}";
})[0];

return JSON.stringify(result);','0',''),
('99467','42592','1','21','var obj = JSON.parse(value);

var total = obj["hrStorageSize"];
var used  = obj["hrStorageUsed"];

if (total <= 0) {
	return 0;
} else {
	return (100 * used / total);
}','0',''),
('99468','42597','1','21','var obj = JSON.parse(value);

var total = obj["hrStorageSize"];
var used  = obj["hrStorageUsed"];

if (total <= 0) {
	return 0;
} else {
	return (100 * used / total);
}','0',''),
('99469','47129','1','12','$.[''health-numeric'']','2','4'),
('99470','47129','2','20','1h','0',''),
('99471','47130','1','12','$.[''health-numeric'']','2','4'),
('99472','47130','2','20','1h','0',''),
('99473','47131','1','26','-1','1',''),
('99474','47132','1','12','$.error','2',''),
('99475','47132','2','20','3h','0',''),
('99476','47133','1','12','$.performance_data.summary.navigation.dns_lookup_time','1',''),
('99477','47133','2','1','0.001','0',''),
('99478','47134','1','12','$.performance_data.summary.navigation.dom_content_loading_time','1',''),
('99479','47134','2','1','0.001','0',''),
('99480','47135','1','12','$.performance_data.summary.navigation.encoded_size','1',''),
('99481','47136','1','12','$.performance_data.summary.navigation.load_finished','1',''),
('99482','47136','2','1','0.001','0',''),
('99483','47137','1','12','$.performance_data.summary.navigation.request_time','1',''),
('99484','47137','2','1','0.001','0',''),
('99485','47138','1','12','$.performance_data.summary.navigation.resource_fetch_time','1',''),
('99486','47138','2','1','0.001','0',''),
('99487','47139','1','12','$.performance_data.summary.navigation.response_time','1',''),
('99488','47139','2','1','0.001','0',''),
('99489','47140','1','12','$.performance_data.summary.navigation.service_worker_processing_time','1',''),
('99490','47140','2','1','0.001','0',''),
('99491','47141','1','12','$.performance_data.summary.navigation.tcp_handshake_time','1',''),
('99492','47141','2','1','0.001','0',''),
('99493','47142','1','12','$.performance_data.summary.navigation.tls_negotiation_time','1',''),
('99494','47142','2','1','0.001','0',''),
('99495','47143','1','12','$.performance_data.summary.navigation.total_size','1',''),
('99496','47144','1','12','$.performance_data.summary.navigation.transferred_size','1',''),
('99497','47145','1','12','$.performance_data.summary.resource.dns_lookup_time','1',''),
('99498','47145','2','1','0.001','0',''),
('99499','47146','1','12','$.performance_data.summary.resource.dom_content_loading_time','1',''),
('99500','47146','2','1','0.001','0',''),
('99501','47147','1','12','$.performance_data.summary.resource.encoded_size','1',''),
('99502','47148','1','12','$.performance_data.summary.resource.resource_fetch_time','1',''),
('99503','47148','2','1','0.001','0',''),
('99504','47149','1','12','$.performance_data.summary.resource.load_finished','1',''),
('99505','47149','2','1','0.001','0',''),
('99506','47150','1','12','$.performance_data.summary.resource.request_time','1',''),
('99507','47150','2','1','0.001','0',''),
('99508','47151','1','12','$.performance_data.summary.resource.response_time','1',''),
('99509','47151','2','1','0.001','0',''),
('99510','47152','1','12','$.performance_data.summary.resource.service_worker_processing_time','1',''),
('99511','47152','2','1','0.001','0',''),
('99512','47153','1','12','$.performance_data.summary.resource.tcp_handshake_time','1',''),
('99513','47153','2','1','0.001','0',''),
('99514','47154','1','12','$.performance_data.summary.resource.tls_negotiation_time','1',''),
('99515','47154','2','1','0.001','0',''),
('99516','47155','1','12','$.performance_data.summary.resource.total_size','1',''),
('99517','47156','1','12','$.performance_data.summary.resource.transferred_size','1',''),
('99518','47157','1','12','$.screenshot','1',''),
('99519','40809','1','20','4h','0',''),
('99520','42165','1','20','4h','0',''),
('99521','47158','1','18',E'API rate limit exceeded
\\0','1',''),
('99522','47159','1','18',E'API rate limit exceeded
\\0','1',''),
('99523','47160','1','18',E'API rate limit exceeded
\\0','1',''),
('99524','47160','2','20','6h','0',''),
('99525','47162','1','18',E'API rate limit exceeded
\\0','1',''),
('99526','47163','1','18',E'API rate limit exceeded
\\0','1',''),
('99527','47163','2','20','6h','0',''),
('99528','47164','1','18',E'API rate limit exceeded
\\0','1',''),
('99529','47165','1','12','$.issues.closed','0',''),
('99530','47166','1','12','$.issues.open','0',''),
('99531','47167','1','12','$.issues.total','0',''),
('99532','47168','1','12','$.pr.closed','0',''),
('99533','47169','1','12','$.pr.open','0',''),
('99534','47170','1','12','$.pr.total','0',''),
('99535','47171','1','12','$.data..forks_count.first()','0',''),
('99536','47171','2','20','3h','0',''),
('99537','47172','1','12','$.error','2',''),
('99538','47172','2','20','3h','0',''),
('99539','47173','1','12','$.data..fork.first()','0',''),
('99540','47173','2','6','','0',''),
('99541','47173','3','20','6h','0',''),
('99542','47174','1','12','$.data..size.first()','0',''),
('99543','47174','2','1','1024','0',''),
('99544','47174','3','20','3h','0',''),
('99545','47175','1','12','$.data..stargazers_count.first()','0',''),
('99546','47175','2','20','3h','0',''),
('99547','47176','1','12','$.data..subscribers_count.first()','0',''),
('99548','47176','2','20','3h','0',''),
('99549','47177','1','12','$.headers[''x-ratelimit-limit'']','0',''),
('99550','47177','2','20','3h','0',''),
('99551','47178','1','12','$.headers[''x-ratelimit-used'']','0',''),
('99552','47179','1','21','const data = JSON.parse(value);

const requests_limit = data.headers[''x-ratelimit-limit''],
	  requests_used = data.headers[''x-ratelimit-used''];

return requests_used / requests_limit * 100;','0',''),
('99553','47180','1','12','$.error','2',''),
('99554','47180','2','20','3h','0',''),
('99555','47181','1','12','$.data','0',''),
('99556','47182','1','21','return JSON.stringify(JSON.parse(value).data[0].zbx_community_profile
	? [{''{#SINGLETON}'': ''''}] : []);','0',''),
('99557','47182','2','20','6h','0',''),
('99558','47183','1','12','$.data','1',''),
('99559','47183','2','21','var runners = JSON.parse(value);

result = runners.map(function (runner) {
	return {
		''name'': runner.name,
		''id'': runner.id,
		''os'': runner.os
	};
});

return JSON.stringify(result);','0',''),
('99560','47183','3','20','1h','0',''),
('99561','47184','1','12','$.data','0',''),
('99562','47185','1','18',E'API rate limit exceeded
\\0','1',''),
('99563','47185','2','20','6h','0',''),
('99564','47186','1','18',E'API rate limit exceeded
\\0','1',''),
('99565','47186','2','12','$.data.first()','0',''),
('99566','47187','1','12','$.data..zbx_community_profile.health_percentage.first()','0',''),
('99567','47187','2','20','1h','0',''),
('99568','47188','1','12','$.data[?(@.id == "{#RUNNER_ID}")].busy.first()','0',''),
('99569','47188','2','6','','0',''),
('99570','47188','3','20','1h','0',''),
('99571','47189','1','12','$.data[?(@.id == "{#RUNNER_ID}")].status.first()','0',''),
('99572','47189','2','21','const idx = [
	''offline'',
	''online''
].indexOf(value);

return idx !== -1 ? idx : 10;','0',''),
('99573','47189','3','20','1h','0',''),
('99574','47190','1','12','$.conclusion','0',''),
('99575','47190','2','21','if (value !== ''null'') {
	const idx = [
		''success'',
		''failure'',
		''neutral'',
		''cancelled'',
		''skipped'',
		''timed_out'',
		''action_required'',
	].indexOf(value);

	return idx !== -1 ? idx : 10;
}

return null;','0',''),
('99576','47190','3','20','1h','0',''),
('99577','47191','1','21','const data = JSON.parse(value);

const start_date = Math.floor(new Date(data.run_started_at) / 1000),
	  update_date = Math.floor(new Date(data.updated_at) / 1000);

return (update_date - start_date);','0',''),
('99578','47191','2','20','3h','0',''),
('99579','47192','1','12','$.run_started_at','0',''),
('99580','47192','2','21','return Math.floor(new Date(value) / 1000);','0',''),
('99581','47192','3','20','3h','0',''),
('99582','47193','1','12','$.status','0',''),
('99583','47193','2','21','const idx = [
	''queued'',
	''in_progress'',
	''completed''
].indexOf(value);

return idx !== -1 ? idx : 10;','0',''),
('99584','47194','1','12','$.updated_at','0',''),
('99585','47194','2','21','return Math.floor(new Date(value) / 1000);','0',''),
('99586','47194','3','20','3h','0',''),
('99587','47195','1','21','var data = JSON.parse(value).data;
var result = {};

data.forEach(function(item) {
	var attributes = item["{#JMXATTR}"].split(".");
	var license = attributes[0].replace("jira-","");
	var property = attributes.slice(1).join(''_'');
	if (!result[license]) {
		result[license] = {''properties'': {} };
	}

	result[license][''properties''][property] = item["{#JMXVALUE}"];
});

return JSON.stringify(result);','0',''),
('99588','47198','1','10','','0',''),
('99589','47199','1','10','','0',''),
('99590','47206','1','9','','0',''),
('99591','47207','1','9','','0',''),
('99592','47208','1','9','','0',''),
('99593','47209','1','9','','0',''),
('99594','47223','1','9','','0',''),
('99595','47228','1','21','var data = JSON.parse(value);
var lld_form = [];

for (var key in data) {
	lld_form.push({"license": key});
}
return JSON.stringify(lld_form);','0',''),
('99596','47228','2','20','1h','0',''),
('99597','47229','1','1','0.001','0',''),
('99598','47230','1','1','0.001','0',''),
('99599','47231','1','1','0.001','0',''),
('99600','47232','1','6','','0',''),
('99601','47233','1','9','','0',''),
('99602','47234','1','12','$.{#LICENSE.TYPE}.properties.current_user_count','0',''),
('99603','47235','1','12','$.{#LICENSE.TYPE}.properties.max_user_count','0',''),
('99604','47236','1','12','$.items[*].status.containerStatuses[?(@.ready == ''true'')].length()','0',''),
('99605','47243','1','12','$.metrics.getOffice365ServicesUserCounts[0].exchangeActive','1',''),
('99606','47243','2','20','1d','0',''),
('99607','47244','1','12','$.metrics.getOffice365ServicesUserCounts[0].exchangeInactive','1',''),
('99608','47244','2','20','1d','0',''),
('99609','47245','1','12','$.metrics.getOffice365ServicesUserCounts[0].office365Active','1',''),
('99610','47245','2','20','1d','0',''),
('99611','47246','1','12','$.metrics.getOffice365ServicesUserCounts[0].office365Inactive','1',''),
('99612','47246','2','20','1d','0',''),
('99613','47247','1','12','$.metrics.getOffice365ServicesUserCounts[0].oneDriveActive','1',''),
('99614','47247','2','20','1d','0',''),
('99615','47248','1','12','$.metrics.getOffice365ServicesUserCounts[0].oneDriveInactive','1',''),
('99616','47248','2','20','1d','0',''),
('99617','47249','1','12','$.metrics.getOffice365ServicesUserCounts[0].reportRefreshDate','1',''),
('99618','47249','2','20','1d','0',''),
('99619','47250','1','12','$.metrics.getOffice365ServicesUserCounts[0].sharePointActive','1',''),
('99620','47250','2','20','1d','0',''),
('99621','47251','1','12','$.metrics.getOffice365ServicesUserCounts[0].sharePointInactive','1',''),
('99622','47251','2','20','1d','0',''),
('99623','47252','1','12','$.metrics.getOffice365ServicesUserCounts[0].skypeForBusinessActive','1',''),
('99624','47252','2','20','1d','0',''),
('99625','47253','1','12','$.metrics.getOffice365ServicesUserCounts[0].skypeForBusinessInactive','1',''),
('99626','47253','2','20','1d','0',''),
('99627','47254','1','12','$.metrics.getOffice365ServicesUserCounts[0].teamsActive','1',''),
('99628','47254','2','20','1d','0',''),
('99629','47255','1','12','$.metrics.getOffice365ServicesUserCounts[0].teamsInactive','1',''),
('99630','47255','2','20','1d','0',''),
('99631','47256','1','12','$.metrics.getOffice365ServicesUserCounts[0].yammerActive','1',''),
('99632','47256','2','20','1d','0',''),
('99633','47257','1','12','$.metrics.getOffice365ServicesUserCounts[0].yammerInactive','1',''),
('99634','47257','2','20','1d','0',''),
('99635','47258','1','12','$.error','2',''),
('99636','47258','2','20','1h','0',''),
('99637','47259','1','12','$.metrics.getM365AppUserCounts[0].userCounts[0].excel','1',''),
('99638','47259','2','20','1d','0',''),
('99639','47260','1','12','$.metrics.getM365AppUserCounts[0].userCounts[0].oneNote','1',''),
('99640','47260','2','20','1d','0',''),
('99641','47261','1','12','$.metrics.getM365AppUserCounts[0].userCounts[0].outlook','1',''),
('99642','47261','2','20','1d','0',''),
('99643','47262','1','12','$.metrics.getM365AppUserCounts[0].userCounts[0].powerPoint','1',''),
('99644','47262','2','20','1d','0',''),
('99645','47263','1','12','$.metrics.getM365AppUserCounts[0].userCounts[0].reportDate','1',''),
('99646','47263','2','20','1d','0',''),
('99647','47264','1','12','$.metrics.getM365AppUserCounts[0].userCounts[0].teams','1',''),
('99648','47264','2','20','1d','0',''),
('99649','47265','1','12','$.metrics.getM365AppUserCounts[0].userCounts[0].word','1',''),
('99650','47265','2','20','1d','0',''),
('99651','47266','1','12','$.metrics.getM365AppPlatformUserCounts[0].userCounts[0].mac','1',''),
('99652','47266','2','20','1d','0',''),
('99653','47267','1','12','$.metrics.getM365AppPlatformUserCounts[0].userCounts[0].mobile','1',''),
('99654','47267','2','20','1d','0',''),
('99655','47268','1','12','$.metrics.getM365AppPlatformUserCounts[0].userCounts[0].reportDate','1',''),
('99656','47268','2','20','1d','0',''),
('99657','47269','1','12','$.metrics.getM365AppPlatformUserCounts[0].userCounts[0].web','1',''),
('99658','47269','2','20','1d','0',''),
('99659','47270','1','12','$.metrics.getM365AppPlatformUserCounts[0].userCounts[0].windows','1',''),
('99660','47270','2','20','1d','0',''),
('99661','47271','1','12','$.metrics.getOffice365ActiveUserCounts[6].exchange','1',''),
('99662','47271','2','20','1d','0',''),
('99663','47272','1','12','$.metrics.getOffice365ActiveUserCounts[6].office365','1',''),
('99664','47272','2','20','1d','0',''),
('99665','47273','1','12','$.metrics.getOffice365ActiveUserCounts[6].oneDrive','1',''),
('99666','47273','2','20','1d','0',''),
('99667','47274','1','12','$.metrics.getOffice365ActiveUserCounts[6].reportDate','1',''),
('99668','47274','2','20','1d','0',''),
('99669','47275','1','12','$.metrics.getOffice365ActiveUserCounts[6].sharePoint','1',''),
('99670','47275','2','20','1d','0',''),
('99671','47276','1','12','$.metrics.getOffice365ActiveUserCounts[6].skypeForBusiness','1',''),
('99672','47276','2','20','1d','0',''),
('99673','47277','1','12','$.metrics.getOffice365ActiveUserCounts[6].teams','1',''),
('99674','47277','2','20','1d','0',''),
('99675','47278','1','12','$.metrics.getOffice365ActiveUserCounts[6].yammer','1',''),
('99676','47278','2','20','1d','0',''),
('99677','47279','1','12','$.error','2',''),
('99678','47279','2','20','1h','0',''),
('99679','47280','1','12','$.metrics.getOneDriveActivityFileCounts[0].reportDate','1',''),
('99680','47280','2','20','1d','0',''),
('99681','47281','1','12','$.metrics.getOneDriveActivityFileCounts[0].sharedExternally','1',''),
('99682','47281','2','20','1d','0',''),
('99683','47282','1','12','$.metrics.getOneDriveActivityFileCounts[0].sharedInternally','1',''),
('99684','47282','2','20','1d','0',''),
('99685','47283','1','12','$.metrics.getOneDriveActivityFileCounts[0].synced','1',''),
('99686','47283','2','20','1d','0',''),
('99687','47284','1','12','$.metrics.getOneDriveActivityFileCounts[0].viewedOrEdited','1',''),
('99688','47284','2','20','1d','0',''),
('99689','47285','1','12','$.metrics.getOneDriveUsageFileCounts[0].active','1',''),
('99690','47285','2','20','1d','0',''),
('99691','47286','1','12','$.metrics.getOneDriveUsageFileCounts[0].reportDate','1',''),
('99692','47286','2','20','1d','0',''),
('99693','47287','1','12','$.metrics.getOneDriveUsageFileCounts[0].total','1',''),
('99694','47287','2','20','1d','0',''),
('99695','47288','1','12','$.metrics.getOneDriveUsageAccountCounts[0].active','1',''),
('99696','47288','2','20','1d','0',''),
('99697','47289','1','12','$.metrics.getOneDriveUsageAccountCounts[0].reportDate','1',''),
('99698','47289','2','20','1d','0',''),
('99699','47290','1','12','$.metrics.getOneDriveUsageAccountCounts[0].total','1',''),
('99700','47290','2','20','1d','0',''),
('99701','47291','1','12','$.metrics.getOneDriveUsageStorage[0].reportDate','1',''),
('99702','47291','2','20','1d','0',''),
('99703','47292','1','12','$.metrics.getOneDriveUsageStorage[?(@.siteType == "All")].storageUsedInBytes.first()','1',''),
('99704','47292','2','20','1d','0',''),
('99705','47293','1','12','$.metrics.getOneDriveActivityUserCounts[0].reportDate','1',''),
('99706','47293','2','20','1d','0',''),
('99707','47294','1','12','$.metrics.getOneDriveActivityUserCounts[0].sharedExternally','1',''),
('99708','47294','2','20','1d','0',''),
('99709','47295','1','12','$.metrics.getOneDriveActivityUserCounts[0].sharedInternally','1',''),
('99710','47295','2','20','1d','0',''),
('99711','47296','1','12','$.metrics.getOneDriveActivityUserCounts[0].synced','1',''),
('99712','47296','2','20','1d','0',''),
('99713','47297','1','12','$.metrics.getOneDriveActivityUserCounts[0].viewedOrEdited','1',''),
('99714','47297','2','20','1d','0',''),
('99715','47298','1','12','$.metrics.getEmailActivityCounts[0].meetingCreated','1',''),
('99716','47298','2','20','1d','0',''),
('99717','47299','1','12','$.metrics.getEmailActivityCounts[0].meetingInteracted','1',''),
('99718','47299','2','20','1d','0',''),
('99719','47300','1','12','$.metrics.getEmailActivityCounts[0].read','1',''),
('99720','47300','2','20','1d','0',''),
('99721','47301','1','12','$.metrics.getEmailActivityCounts[0].receive','1',''),
('99722','47301','2','20','1d','0',''),
('99723','47302','1','12','$.metrics.getEmailActivityCounts[0].reportRefreshDate','1',''),
('99724','47302','2','20','1d','0',''),
('99725','47303','1','12','$.metrics.getEmailActivityCounts[0].send','1',''),
('99726','47303','2','20','1d','0',''),
('99727','47304','1','12','$.error','2',''),
('99728','47304','2','20','1h','0',''),
('99729','47305','1','12','$.metrics.getMailboxUsageMailboxCounts[0].active','1',''),
('99730','47305','2','20','1d','0',''),
('99731','47306','1','21','var data=JSON.parse(value);

return data.metrics.getMailboxUsageMailboxCounts[0].active * 100 / data.metrics.getMailboxUsageMailboxCounts[0].total;','0',''),
('99732','47306','2','20','1d','0',''),
('99733','47307','1','12','$.metrics.getMailboxUsageMailboxCounts[0].reportDate','1',''),
('99734','47307','2','20','1d','0',''),
('99735','47308','1','12','$.metrics.getMailboxUsageMailboxCounts[0].total','1',''),
('99736','47308','2','20','1d','0',''),
('99737','47309','1','12','$.metrics.getMailboxUsageStorage[0].reportDate','1',''),
('99738','47309','2','20','1d','0',''),
('99739','47310','1','12','$.metrics.getMailboxUsageStorage[0].storageUsedInBytes','1',''),
('99740','47310','2','20','1d','0',''),
('99741','47311','1','12','$.metrics.getEmailAppUsageUserCounts[6].imap4App','1',''),
('99742','47311','2','20','1d','0',''),
('99743','47312','1','12','$.metrics.getEmailAppUsageUserCounts[6].outlookForMac','1',''),
('99744','47312','2','20','1d','0',''),
('99745','47313','1','12','$.metrics.getEmailAppUsageUserCounts[6].mailForMac','1',''),
('99746','47313','2','20','1d','0',''),
('99747','47314','1','12','$.metrics.getEmailActivityUserCounts[0].meetingCreated','1',''),
('99748','47314','2','20','1d','0',''),
('99749','47315','1','12','$.metrics.getEmailActivityUserCounts[0].meetingInteracted','1',''),
('99750','47315','2','20','1d','0',''),
('99751','47316','1','12','$.metrics.getEmailAppUsageUserCounts[6].outlookForMobile','1',''),
('99752','47316','2','20','1d','0',''),
('99753','47317','1','12','$.metrics.getEmailAppUsageUserCounts[6].pop3App','1',''),
('99754','47317','2','20','1d','0',''),
('99755','47318','1','12','$.metrics.getEmailActivityUserCounts[0].read','1',''),
('99756','47318','2','20','1d','0',''),
('99757','47319','1','12','$.metrics.getEmailActivityUserCounts[0].receive','1',''),
('99758','47319','2','20','1d','0',''),
('99759','47320','1','12','$.metrics.getEmailActivityUserCounts[0].reportRefreshDate','1',''),
('99760','47320','2','20','1d','0',''),
('99761','47321','1','12','$.metrics.getEmailAppUsageUserCounts[6].reportDate','1',''),
('99762','47321','2','20','1d','0',''),
('99763','47322','1','12','$.metrics.getEmailActivityUserCounts[0].send','1',''),
('99764','47322','2','20','1d','0',''),
('99765','47323','1','12','$.metrics.getEmailAppUsageUserCounts[6].smtpApp','1',''),
('99766','47323','2','20','1d','0',''),
('99767','47324','1','12','$.metrics.getEmailAppUsageUserCounts[6].outlookForWeb','1',''),
('99768','47324','2','20','1d','0',''),
('99769','47325','1','12','$.metrics.getEmailAppUsageUserCounts[6].outlookForWindows','1',''),
('99770','47325','2','20','1d','0',''),
('99771','47326','1','12','$.error','2',''),
('99772','47326','2','20','1h','0',''),
('99773','47327','1','12','$.error','2',''),
('99774','47327','2','20','1h','0',''),
('99775','47328','1','12','$.metrics.getSharePointActivityFileCounts[0].reportDate','1',''),
('99776','47328','2','20','1d','0',''),
('99777','47329','1','12','$.metrics.getSharePointActivityFileCounts[0].sharedExternally','1',''),
('99778','47329','2','20','1d','0',''),
('99779','47330','1','12','$.metrics.getSharePointActivityFileCounts[0].sharedInternally','1',''),
('99780','47330','2','20','1d','0',''),
('99781','47331','1','12','$.metrics.getSharePointActivityFileCounts[0].synced','1',''),
('99782','47331','2','20','1d','0',''),
('99783','47332','1','12','$.metrics.getSharePointActivityFileCounts[0].viewedOrEdited','1',''),
('99784','47332','2','20','1d','0',''),
('99785','47333','1','12','$.metrics.getSharePointSiteUsageFileCounts[0].active','1',''),
('99786','47333','2','20','1d','0',''),
('99787','47334','1','12','$.metrics.getSharePointSiteUsageFileCounts[0].reportDate','1',''),
('99788','47334','2','20','1d','0',''),
('99789','47335','1','12','$.metrics.getSharePointSiteUsageFileCounts[0].total','1',''),
('99790','47335','2','20','1d','0',''),
('99791','47336','1','12','$.metrics.getSharePointSiteUsagePages[0].pageViewCount','1',''),
('99792','47336','2','20','1d','0',''),
('99793','47337','1','12','$.metrics.getSharePointSiteUsagePages[0].reportDate','1',''),
('99794','47337','2','20','1d','0',''),
('99795','47338','1','12','$.metrics.getSharePointActivityPages[0].visitedPageCount','1',''),
('99796','47338','2','20','1d','0',''),
('99797','47339','1','12','$.metrics.getSharePointActivityPages[0].reportDate','1',''),
('99798','47339','2','20','1d','0',''),
('99799','47340','1','12','$.metrics.getSharePointSiteUsageSiteCounts[0].reportDate','1',''),
('99800','47340','2','20','1d','0',''),
('99801','47341','1','12','$.metrics.getSharePointSiteUsageSiteCounts[0].active','1',''),
('99802','47341','2','20','1d','0',''),
('99803','47342','1','12','$.metrics.getSharePointSiteUsageSiteCounts[0].total','1',''),
('99804','47342','2','20','1d','0',''),
('99805','47343','1','12','$.metrics.getSharePointSiteUsageStorage[0].reportDate','1',''),
('99806','47343','2','20','1d','0',''),
('99807','47344','1','12','$.metrics.getSharePointSiteUsageStorage[0].storageUsedInBytes','1',''),
('99808','47344','2','20','1d','0',''),
('99809','47345','1','12','$.metrics.getSharePointActivityUserCounts[0].reportDate','1',''),
('99810','47345','2','20','1d','0',''),
('99811','47346','1','12','$.metrics.getSharePointActivityUserCounts[0].sharedExternally','1',''),
('99812','47346','2','20','1d','0',''),
('99813','47347','1','12','$.metrics.getSharePointActivityUserCounts[0].sharedInternally','1',''),
('99814','47347','2','20','1d','0',''),
('99815','47348','1','12','$.metrics.getSharePointActivityUserCounts[0].synced','1',''),
('99816','47348','2','20','1d','0',''),
('99817','47349','1','12','$.metrics.getSharePointActivityUserCounts[0].viewedOrEdited','1',''),
('99818','47349','2','20','1d','0',''),
('99819','47350','1','12','$.metrics.getSharePointActivityUserCounts[0].visitedPage','1',''),
('99820','47350','2','20','1d','0',''),
('99821','47351','1','12','$.metrics.getTeamsTeamActivityDistributionCounts[0].activityDistributions[0].activeChannels','1',''),
('99822','47351','2','20','1d','0',''),
('99823','47352','1','12','$.metrics.getTeamsTeamActivityDistributionCounts[0].activityDistributions[0].activeExternalUsers','1',''),
('99824','47352','2','20','1d','0',''),
('99825','47353','1','12','$.metrics.getTeamsTeamActivityDistributionCounts[0].activityDistributions[0].activeSharedChannels','1',''),
('99826','47353','2','20','1d','0',''),
('99827','47354','1','12','$.metrics.getTeamsTeamActivityDistributionCounts[0].activityDistributions[0].activeUsers','1',''),
('99828','47354','2','20','1d','0',''),
('99829','47355','1','12','$.metrics.getTeamsTeamActivityDistributionCounts[0].activityDistributions[0].channelMessages','1',''),
('99830','47355','2','20','1d','0',''),
('99831','47356','1','12','$.metrics.getTeamsTeamActivityDistributionCounts[0].activityDistributions[0].guests','1',''),
('99832','47356','2','20','1d','0',''),
('99833','47357','1','12','$.metrics.getTeamsTeamActivityDistributionCounts[0].activityDistributions[0].meetingsOrganized','1',''),
('99834','47357','2','20','1d','0',''),
('99835','47358','1','12','$.metrics.getTeamsTeamActivityDistributionCounts[0].activityDistributions[0].mentions','1',''),
('99836','47358','2','20','1d','0',''),
('99837','47359','1','12','$.metrics.getTeamsTeamActivityDistributionCounts[0].activityDistributions[0].postMessages','1',''),
('99838','47359','2','20','1d','0',''),
('99839','47360','1','12','$.metrics.getTeamsTeamActivityDistributionCounts[0].activityDistributions[0].replyMessages','1',''),
('99840','47360','2','20','1d','0',''),
('99841','47361','1','12','$.metrics.getTeamsTeamActivityDistributionCounts[0].activityDistributions[0].reactions','1',''),
('99842','47361','2','20','1d','0',''),
('99843','47362','1','12','$.metrics.getTeamsTeamActivityDistributionCounts[0].reportRefreshDate','1',''),
('99844','47362','2','20','1d','0',''),
('99845','47363','1','12','$.metrics.getTeamsTeamActivityDistributionCounts[0].activityDistributions[0].urgentMessages','1',''),
('99846','47363','2','20','1d','0',''),
('99847','47364','1','12','$.metrics.getTeamsUserActivityTotalDistributionCounts[0].userCounts[0].calls','1',''),
('99848','47364','2','20','1d','0',''),
('99849','47365','1','12','$.metrics.getTeamsUserActivityTotalDistributionCounts[0].userCounts[0].audioDuration','1',''),
('99850','47365','2','20','1d','0',''),
('99851','47365','3','21',E'function iso8601DurationToSeconds(iso8601Duration) {
	const iso8601DurationRegex = /(-)?P(?:([.,\\d]+)Y)?(?:([.,\\d]+)M)?(?:([.,\\d]+)W)?(?:([.,\\d]+)D)?(?:T(?:([.,\\d]+)H)?(?:([.,\\d]+)M)?(?:([.,\\d]+)S)?)?/;
	const matches = iso8601Duration.match(iso8601DurationRegex);

	duration = 0;
	matches.forEach( function (field, index) {
		if (field != undefined) {
			switch(index) {
				case 2: duration += parseInt(field) * daysInThisYear() * 86400; break;
				case 3: duration += parseInt(field) * daysInThisMonth() * 86400; break;
				case 4: duration += parseInt(field) * 604800; break;
				case 5: duration += parseInt(field) * 86400; break;
				case 6: duration += parseInt(field) * 3600; break;
				case 7: duration += parseInt(field) * 60; break;
				case 8: duration += parseInt(field);
			}
		}
	});

	return duration;
};

function daysInThisMonth() {
	const now = new Date();

	return new Date(now.getFullYear(), now.getMonth()+1, 0).getDate();
};

function daysInThisYear() {
	const now = new Date();

	return new Date(now.getFullYear(), 2, 0).getDate() + 337;
};

return iso8601DurationToSeconds(value);','0',''),
('99852','47366','1','12','$.metrics.getTeamsUserActivityTotalDistributionCounts[0].userCounts[0].screenShareDuration','1',''),
('99853','47366','2','20','1d','0',''),
('99854','47366','3','21',E'function iso8601DurationToSeconds(iso8601Duration) {
	const iso8601DurationRegex = /(-)?P(?:([.,\\d]+)Y)?(?:([.,\\d]+)M)?(?:([.,\\d]+)W)?(?:([.,\\d]+)D)?(?:T(?:([.,\\d]+)H)?(?:([.,\\d]+)M)?(?:([.,\\d]+)S)?)?/;
	const matches = iso8601Duration.match(iso8601DurationRegex);

	duration = 0;
	matches.forEach( function (field, index) {
		if (field != undefined) {
			switch(index) {
				case 2: duration += parseInt(field) * daysInThisYear() * 86400; break;
				case 3: duration += parseInt(field) * daysInThisMonth() * 86400; break;
				case 4: duration += parseInt(field) * 604800; break;
				case 5: duration += parseInt(field) * 86400; break;
				case 6: duration += parseInt(field) * 3600; break;
				case 7: duration += parseInt(field) * 60; break;
				case 8: duration += parseInt(field);
			}
		}
	});

	return duration;
};

function daysInThisMonth() {
	const now = new Date();

	return new Date(now.getFullYear(), now.getMonth()+1, 0).getDate();
};

function daysInThisYear() {
	const now = new Date();

	return new Date(now.getFullYear(), 2, 0).getDate() + 337;
};

return iso8601DurationToSeconds(value);','0',''),
('99855','47367','1','12','$.metrics.getTeamsUserActivityTotalDistributionCounts[0].userCounts[0].videoDuration','1',''),
('99856','47367','2','20','1d','0',''),
('99857','47367','3','21',E'function iso8601DurationToSeconds(iso8601Duration) {
	const iso8601DurationRegex = /(-)?P(?:([.,\\d]+)Y)?(?:([.,\\d]+)M)?(?:([.,\\d]+)W)?(?:([.,\\d]+)D)?(?:T(?:([.,\\d]+)H)?(?:([.,\\d]+)M)?(?:([.,\\d]+)S)?)?/;
	const matches = iso8601Duration.match(iso8601DurationRegex);

	duration = 0;
	matches.forEach( function (field, index) {
		if (field != undefined) {
			switch(index) {
				case 2: duration += parseInt(field) * daysInThisYear() * 86400; break;
				case 3: duration += parseInt(field) * daysInThisMonth() * 86400; break;
				case 4: duration += parseInt(field) * 604800; break;
				case 5: duration += parseInt(field) * 86400; break;
				case 6: duration += parseInt(field) * 3600; break;
				case 7: duration += parseInt(field) * 60; break;
				case 8: duration += parseInt(field);
			}
		}
	});

	return duration;
};

function daysInThisMonth() {
	const now = new Date();

	return new Date(now.getFullYear(), now.getMonth()+1, 0).getDate();
};

function daysInThisYear() {
	const now = new Date();

	return new Date(now.getFullYear(), 2, 0).getDate() + 337;
};

return iso8601DurationToSeconds(value);','0',''),
('99858','47368','1','12','$.metrics.getTeamsUserActivityTotalDistributionCounts[0].userCounts[0].meetingsAttended','1',''),
('99859','47368','2','20','1d','0',''),
('99860','47369','1','12','$.metrics.getTeamsUserActivityTotalDistributionCounts[0].userCounts[0].meetingsOrganized','1',''),
('99861','47369','2','20','1d','0',''),
('99862','47370','1','12','$.metrics.getTeamsUserActivityTotalDistributionCounts[0].userCounts[0].meetings','1',''),
('99863','47370','2','20','1d','0',''),
('99864','47371','1','12','$.metrics.getTeamsUserActivityTotalDistributionCounts[0].userCounts[0].teamChatMessages','1',''),
('99865','47371','2','20','1d','0',''),
('99866','47372','1','12','$.metrics.getTeamsUserActivityTotalDistributionCounts[0].userCounts[0].postMessages','1',''),
('99867','47372','2','20','1d','0',''),
('99868','47373','1','12','$.metrics.getTeamsUserActivityTotalDistributionCounts[0].userCounts[0].privateChatMessages','1',''),
('99869','47373','2','20','1d','0',''),
('99870','47374','1','12','$.metrics.getTeamsUserActivityTotalDistributionCounts[0].userCounts[0].replyMessages','1',''),
('99871','47374','2','20','1d','0',''),
('99872','47375','1','12','$.metrics.getTeamsUserActivityTotalDistributionCounts[0].reportRefreshDate','1',''),
('99873','47375','2','20','1d','0',''),
('99874','47376','1','21','var data=JSON.parse(value);

return data.metrics.getTeamsDeviceUsageDistributionTotalUserCounts[0].androidPhone - data.metrics.getTeamsDeviceUsageDistributionUserCounts[0].androidPhone;','0',''),
('99875','47376','2','20','1d','0',''),
('99876','47377','1','21','var data=JSON.parse(value);

return data.metrics.getTeamsDeviceUsageDistributionTotalUserCounts[0].chromeOS - data.metrics.getTeamsDeviceUsageDistributionUserCounts[0].chromeOS;','0',''),
('99877','47377','2','20','1d','0',''),
('99878','47378','1','21','var data=JSON.parse(value);

return data.metrics.getTeamsDeviceUsageDistributionTotalUserCounts[0].ios - data.metrics.getTeamsDeviceUsageDistributionUserCounts[0].ios;','0',''),
('99879','47378','2','20','1d','0',''),
('99880','47379','1','21','var data=JSON.parse(value);

return data.metrics.getTeamsDeviceUsageDistributionTotalUserCounts[0].linux - data.metrics.getTeamsDeviceUsageDistributionUserCounts[0].linux;','0',''),
('99881','47379','2','20','1d','0',''),
('99882','47380','1','21','var data=JSON.parse(value);

return data.metrics.getTeamsDeviceUsageDistributionTotalUserCounts[0].mac - data.metrics.getTeamsDeviceUsageDistributionUserCounts[0].mac;','0',''),
('99883','47380','2','20','1d','0',''),
('99884','47381','1','21','var data=JSON.parse(value);

return data.metrics.getTeamsDeviceUsageDistributionTotalUserCounts[0].web - data.metrics.getTeamsDeviceUsageDistributionUserCounts[0].web;','0',''),
('99885','47381','2','20','1d','0',''),
('99886','47382','1','21','var data=JSON.parse(value);

return data.metrics.getTeamsDeviceUsageDistributionTotalUserCounts[0].windows - data.metrics.getTeamsDeviceUsageDistributionUserCounts[0].windows;','0',''),
('99887','47382','2','20','1d','0',''),
('99888','47383','1','12','$.metrics.getTeamsDeviceUsageDistributionTotalUserCounts[0].androidPhone','1',''),
('99889','47383','2','20','1d','0',''),
('99890','47384','1','12','$.metrics.getTeamsDeviceUsageDistributionTotalUserCounts[0].chromeOS','1',''),
('99891','47384','2','20','1d','0',''),
('99892','47385','1','12','$.metrics.getTeamsDeviceUsageDistributionTotalUserCounts[0].ios','1',''),
('99893','47385','2','20','1d','0',''),
('99894','47386','1','12','$.metrics.getTeamsDeviceUsageDistributionTotalUserCounts[0].linux','1',''),
('99895','47386','2','20','1d','0',''),
('99896','47387','1','12','$.metrics.getTeamsDeviceUsageDistributionTotalUserCounts[0].mac','1',''),
('99897','47387','2','20','1d','0',''),
('99898','47388','1','12','$.metrics.getTeamsDeviceUsageDistributionTotalUserCounts[0].reportRefreshDate','1',''),
('99899','47388','2','20','1d','0',''),
('99900','47389','1','12','$.metrics.getTeamsDeviceUsageDistributionTotalUserCounts[0].web','1',''),
('99901','47389','2','20','1d','0',''),
('99902','47390','1','12','$.metrics.getTeamsDeviceUsageDistributionTotalUserCounts[0].windows','1',''),
('99903','47390','2','20','1d','0',''),
('99904','47391','1','12','$.metrics.getTeamsDeviceUsageDistributionUserCounts[0].androidPhone','1',''),
('99905','47391','2','20','1d','0',''),
('99906','47392','1','12','$.metrics.getTeamsDeviceUsageDistributionUserCounts[0].chromeOS','1',''),
('99907','47392','2','20','1d','0',''),
('99908','47393','1','12','$.metrics.getTeamsDeviceUsageDistributionUserCounts[0].ios','1',''),
('99909','47393','2','20','1d','0',''),
('99910','47394','1','12','$.metrics.getTeamsDeviceUsageDistributionUserCounts[0].linux','1',''),
('99911','47394','2','20','1d','0',''),
('99912','47395','1','12','$.metrics.getTeamsDeviceUsageDistributionUserCounts[0].mac','1',''),
('99913','47395','2','20','1d','0',''),
('99914','47396','1','12','$.metrics.getTeamsDeviceUsageDistributionUserCounts[0].web','1',''),
('99915','47396','2','20','1d','0',''),
('99916','47397','1','12','$.metrics.getTeamsDeviceUsageDistributionUserCounts[0].windows','1',''),
('99917','47397','2','20','1d','0',''),
('99918','47398','1','12','$.error','2',''),
('99919','47398','2','20','1h','0',''),
('99920','47399','1','21','var data=JSON.parse(value);

return data.metrics.getTeamsUserActivityDistributionTotalUserCounts[0].calls - data.metrics.getTeamsUserActivityDistributionUserCounts[0].calls;','0',''),
('99921','47399','2','20','1d','0',''),
('99922','47400','1','21','var data=JSON.parse(value);

return data.metrics.getTeamsUserActivityDistributionTotalUserCounts[0].meetings - data.metrics.getTeamsUserActivityDistributionUserCounts[0].meetings;','0',''),
('99923','47400','2','20','1d','0',''),
('99924','47401','1','21','var data=JSON.parse(value);

return data.metrics.getTeamsUserActivityDistributionTotalUserCounts[0].teamChatMessages - data.metrics.getTeamsUserActivityDistributionUserCounts[0].teamChatMessages;','0',''),
('99925','47401','2','20','1d','0',''),
('99926','47402','1','21','var data=JSON.parse(value);

return data.metrics.getTeamsUserActivityDistributionTotalUserCounts[0].privateChatMessages - data.metrics.getTeamsUserActivityDistributionUserCounts[0].privateChatMessages;','0',''),
('99927','47402','2','20','1d','0',''),
('99928','47403','1','12','$.metrics.getTeamsUserActivityDistributionTotalUserCounts[0].calls','1',''),
('99929','47403','2','20','1d','0',''),
('99930','47404','1','12','$.metrics.getTeamsUserActivityDistributionTotalUserCounts[0].meetings','1',''),
('99931','47404','2','20','1d','0',''),
('99932','47405','1','12','$.metrics.getTeamsUserActivityDistributionTotalUserCounts[0].teamChatMessages','1',''),
('99933','47405','2','20','1d','0',''),
('99934','47406','1','12','$.metrics.getTeamsUserActivityDistributionTotalUserCounts[0].privateChatMessages','1',''),
('99935','47406','2','20','1d','0',''),
('99936','47407','1','12','$.metrics.getTeamsUserActivityDistributionTotalUserCounts[0].reportRefreshDate','1',''),
('99937','47407','2','20','1d','0',''),
('99938','47408','1','12','$.metrics.getTeamsUserActivityDistributionUserCounts[0].calls','1',''),
('99939','47408','2','20','1d','0',''),
('99940','47409','1','12','$.metrics.getTeamsUserActivityDistributionUserCounts[0].meetings','1',''),
('99941','47409','2','20','1d','0',''),
('99942','47410','1','12','$.metrics.getTeamsUserActivityDistributionUserCounts[0].teamChatMessages','1',''),
('99943','47410','2','20','1d','0',''),
('99944','47411','1','12','$.metrics.getTeamsUserActivityDistributionUserCounts[0].privateChatMessages','1',''),
('99945','47411','2','20','1d','0',''),
('99946','47412','1','12','$.services.value','0',''),
('99947','47412','2','20','6h','0',''),
('99948','47413','1','12','$.services.value[?(@.service == ''{#NAME}'')].status.first()','0',''),
('99949','47413','2','21','if (value !== ''null'') {
  const idx = [
	''serviceOperational'',
	''investigating'',
	''restoringService'',
	''verifyingService'',
	''serviceRestored'',
	''postIncidentReviewPublished'',
	''serviceDegradation'',
	''serviceInterruption'',
	''extendedRecovery'',
	''falsePositive'',
	''investigationSuspended'',
	].indexOf(value);

	return idx !== -1 ? idx : 11;
	}','0',''),
('99950','47413','3','20','1d','0',''),
('99951','47416','1','21','const idx = [
	''true'',
	''false''
].indexOf(value);
return idx !== -1 ? idx : 2;','0',''),
('99952','47416','2','20','1d','0',''),
('99953','47417','1','20','1h','0',''),
('99954','47418','1','20','1d','0',''),
('99955','47419','1','21','const idx = [
	''notRunning'',
	''resetting'',
	''running'',
	''shuttingDown'',
	''standby'',
	''unknown''
].indexOf(value);
return idx !== -1 ? idx : 5;','0',''),
('99956','47419','2','20','1h','0',''),
('99957','47420','1','21','const idx = [
	''guestToolsExecutingScripts'',
	''guestToolsNotRunning'',
	''guestToolsRunning''
].indexOf(value);
return idx !== -1 ? idx : 10;','0',''),
('99958','47420','2','20','1h','0',''),
('99959','47421','1','20','12h','0',''),
('99960','47422','1','21','const idx = [
	''connected'',
	''disconnected'',
	''notResponding''
].indexOf(value);
return idx !== -1 ? idx : 3;','0',''),
('99961','47422','2','20','1h','0',''),
('99962','47429','1','12','$.error','2',''),
('99963','47429','2','20','3h','0',''),
('99964','47430','1','12','$.health','0',''),
('99965','47430','2','20','3h','0',''),
('99966','47431','1','12','$.count','0',''),
('99967','47431','2','20','1d','0',''),
('99968','47432','1','12','$.latestdate','0',''),
('99969','47432','2','20','1d','0',''),
('99970','47433','1','20','1h','0',''),
('99971','47435','1','21','function isGtOrEqVersion(first_version, second_version) {
	var first = first_version.split(''.'').map(Number),
	second = second_version.split(''.'').map(Number);

	if (first.length > second.length) {
		const max_componens_length = first.length
	}
	else {
		const max_componens_length = second.length
	}

	var num_components = first.length;
	while (num_components < max_componens_length) {
		first.push(0);
		num_components = num_components +1;
	}

	var num_components = second.length;
	while (num_components < max_componens_length) {
		second.push(0);
		num_components = num_components +1;
	}

	if (first[0] > second[0] ||
		(first[0] === second[0] && first[1] > second[1]) ||
		(first[0] === second[0] && first[1] === second[1] && first[2] >= second[2])) {
		
		return true;
	}

	return false;
}

try {
	const vmware_version = value;
	const hypervisor_uuid = ''{$VMWARE.HV.UUID}'';

	if (isGtOrEqVersion(vmware_version, ''6.7.0'')) {
		return JSON.stringify([{''{#VMWARE.HV.UUID}'': hypervisor_uuid}]);
	}

	return JSON.stringify([]);
}
catch (error) {
	Zabbix.log(3, ''[ VMware Serial Number Discovery ] ERROR: '' + error);
	throw ''Failed to process data:'' + error;
}','0',''),
('99972','47435','2','20','6h','0',''),
('99973','31666','1','20','1h','0',''),
('99974','32949','1','20','1d','0',''),
('99975','47440','1','1','1000000','0',''),
('99976','47441','1','20','1d','0',''),
('99977','42879','2','21','const idx = [
	''gray'',
	''green'',
	''yellow'',
	''red''
].indexOf(value.toLowerCase());
return idx !== -1 ? idx : 0;','0',''),
('99978','42879','3','20','1h','0',''),
('99979','47442','1','12','$.[?(@.key == "{#VMWARE.ALARMS.KEY}")].key.first()','2','-1'),
('99980','47442','2','20','1h','0',''),
('99981','47445','1','12','$.error','2',''),
('99982','47445','2','20','3h','0',''),
('99983','47446','1','12','$.health','0',''),
('99984','47446','2','20','3h','0',''),
('99985','47447','1','20','1h','0',''),
('99986','32961','1','20','1h','0',''),
('99987','47450','1','12','$.[?(@.key == "{#VMWARE.ALARMS.KEY}")].key.first()','2','-1'),
('99988','47450','2','20','1h','0',''),
('99989','40183','1','20','12h','0',''),
('99990','40185','2','20','12h','0',''),
('99991','47453','1','12','$.data.process[''browser poller''].busy.avg','3','No "browser poller" processes started.'),
('99992','47454','1','12','$.data.process[''internal poller''].busy.avg','3','No "internal poller" processes started.'),
('99993','47465','1','12','$.data','0',''),
('99994','47465','2','20','1h','0',''),
('99995','47466','1','12','$.data','0',''),
('99996','47466','2','20','1h','0',''),
('99997','39806','1','21','var hacluster = JSON.parse(value);

result = hacluster.map(function (hanode) {
	return {
		''id'': hanode.id,
		''name'': hanode.name
	};
});

return JSON.stringify(result);','0',''),
('99998','39806','2','20','1h','0',''),
('99999','44057','1','21','var proxies = JSON.parse(value);

result = proxies.map(function (proxy) {
	return {
		''name'': proxy.name,
		''proxy_group'': proxy.proxy_group
	};
});

return JSON.stringify(result);','0',''),
('100000','44057','2','20','1h','0',''),
('100001','39807','1','21','var hacluster = JSON.parse(value);

result = hacluster.map(function (hanode) {
	return {
		''id'': hanode.id,
		''name'': hanode.name
	};
});

return JSON.stringify(result);','0',''),
('100002','39807','2','20','1h','0',''),
('100003','44058','1','21','var proxies = JSON.parse(value);

result = proxies.map(function (proxy) {
	return {
		''name'': proxy.name,
		''proxy_group'': proxy.proxy_group
	};
});

return JSON.stringify(result);','0',''),
('100004','44058','2','20','1h','0',''),
('100005','47467','1','12','$.data[?(@.name=="{#PROXY.GROUP.NAME}")].first()','0',''),
('100006','47468','1','12','$.rtdata["{#PROXY.GROUP.NAME}"]','0',''),
('100007','47469','1','12','$.data[?(@.name=="{#PROXY.GROUP.NAME}")].first()','0',''),
('100008','47470','1','12','$.rtdata["{#PROXY.GROUP.NAME}"]','0',''),
('100009','47471','1','12','$.pavailable','0',''),
('100010','47471','2','20','12h','0',''),
('100011','47472','1','12','$.available','0',''),
('100012','47472','2','20','12h','0',''),
('100013','47473','1','12','$.failover_delay','0',''),
('100014','47473','2','20','12h','0',''),
('100015','47474','1','12','$.min_online','0',''),
('100016','47474','2','20','12h','0',''),
('100017','47475','1','12','$.state','0',''),
('100018','47475','2','20','12h','0',''),
('100019','47476','1','12','$.pavailable','0',''),
('100020','47476','2','20','12h','0',''),
('100021','47477','1','12','$.available','0',''),
('100022','47477','2','20','12h','0',''),
('100023','47478','1','12','$.failover_delay','0',''),
('100024','47478','2','20','12h','0',''),
('100025','47479','1','12','$.min_online','0',''),
('100026','47479','2','20','12h','0',''),
('100027','47480','1','12','$.state','0',''),
('100028','47480','2','20','12h','0',''),
('100029','47481','1','12','$.data.process[''browser poller''].busy.avg','3','No "browser poller" processes started.'),
('100030','47482','1','12','$.data.process[''configuration syncer worker''].busy.avg','0',''),
('100031','47483','1','12','$.data.process[''internal poller''].busy.avg','3','No "internal poller" processes started.'),
('100032','47484','1','12','$.data.process[''proxy group manager''].busy.avg','0',''),
('100033','39816','2','21','var hacluster = JSON.parse(value);

result = hacluster.map(function (hanode) {
	return {
		''id'': hanode.id,
		''name'': hanode.name
	};
});

return JSON.stringify(result);','0',''),
('100034','39816','3','20','1h','0',''),
('100035','44082','1','21','var proxies = JSON.parse(value);

result = proxies.map(function (proxy) {
	return {
		''name'': proxy.name,
		''proxy_group'': proxy.proxy_group
	};
});

return JSON.stringify(result);','0',''),
('100036','44082','2','20','1h','0',''),
('100037','47485','1','26','-1','1',''),
('100038','47486','1','26','-1','1',''),
('100039','47487','1','12','$.error','2',''),
('100040','47487','2','20','3h','0',''),
('100041','47488','1','12','$.[?(@.Label == "AsyncEventsDropped")].Values.first().first()','1',''),
('100042','47489','1','12','$.[?(@.Label == "AsyncEventsReceived")].Values.first().first()','1',''),
('100043','47490','1','12','$.[?(@.Label == "AsyncEventAge")].Values.first().first()','1',''),
('100044','47490','2','1','0.001','0',''),
('100045','47491','1','12','$.[?(@.Label == "ConcurrentExecutions")].Values.first().first()','1',''),
('100046','47492','1','12','$.[?(@.Label == "DeadLetterErrors")].Values.first().first()','1',''),
('100047','47493','1','12','$.[?(@.Label == "Duration")].Values.first().first()','1',''),
('100048','47493','2','1','0.001','0',''),
('100049','47494','1','12','$.[?(@.Label == "Errors")].Values.first().first()','1',''),
('100050','47495','1','12','$.[?(@.Label == "Invocations")].Values.first().first()','1',''),
('100051','47496','1','12','$.error','2',''),
('100052','47496','2','20','3h','0',''),
('100053','47497','1','12','$.[?(@.Label == "Throttles")].Values.first().first()','1',''),
('100054','47498','1','12','$.[?(@.Label == "UnreservedConcurrentExecutions")].Values.first().first()','1',''),
('100055','47500','1','21','var result = [];
var alarms = JSON.parse(value);

alarms.forEach(function(alarm) {

 result.push({
''{#ALARM_DESCRIPTION}'': alarm.AlarmDescription !== null ? alarm.AlarmDescription : ''None'' ,
''{#ALARM_NAME}'': alarm.AlarmName,
''{#ALARM_PERIOD}'': alarm.Period,
''{#METRIC_NAME}'': alarm.MetricName,
''{#ALARM_SERVICE_NAMESPACE}'': alarm.Namespace !== null ? alarm.Namespace : ''None''
  });
});

return JSON.stringify(result);','0',''),
('100056','47500','2','20','3h','0',''),
('100057','47501','1','12','$.[?(@.AlarmName == "{#ALARM_NAME}")].first()','1',''),
('100058','47502','1','12','$.StateValue','2','3'),
('100059','47502','2','21','var state = [''OK'', ''INSUFFICIENT_DATA'', ''ALARM''];

return state.indexOf(value.trim()) === -1 ? 255 : state.indexOf(value.trim());','0',''),
('100060','47503','1','12','$.StateReason','1',''),
('100061','47503','2','20','3h','0',''),
('100062','43725','2','20','1h','0',''),
('100063','43726','2','20','1h','0',''),
('100064','43730','2','20','1h','0',''),
('100065','43731','2','20','1h','0',''),
('100066','43752','2','20','1h','0',''),
('100067','43753','2','20','1h','0',''),
('100068','43757','2','20','1h','0',''),
('100069','43758','2','20','1h','0',''),
('100070','47505','1','12','$.metrics.VmAvailabilityMetric.average','1',''),
('100071','47506','1','12','$.metrics.DataDiskLatency.average','1',''),
('100072','47506','2','1','0.001','0',''),
('100073','47507','1','12','$.metrics.OSDiskLatency.average','1',''),
('100074','47507','2','1','0.001','0',''),
('100075','47508','1','12','$.metrics.TempDiskLatency.average','1',''),
('100076','47508','2','1','0.001','0',''),
('100077','47509','1','12','$.metrics.TempDiskQueueDepth.average','1',''),
('100078','47510','1','12','$.metrics.TempDiskReadBytessec.average','1',''),
('100079','47511','1','12','$.metrics.TempDiskReadOperationsSec.average','1',''),
('100080','47512','1','12','$.metrics.TempDiskWriteBytessec.average','1',''),
('100081','47513','1','12','$.metrics.TempDiskWriteOperationsSec.average','1',''),
('100082','47514','1','12','$.metrics.VmAvailabilityMetric.average','1',''),
('100083','47514','2','20','1h','0',''),
('100084','47515','1','12','$.health.summary','1',''),
('100085','47515','2','20','1h','0',''),
('100086','47516','1','12','$.health.availabilityState','2','3'),
('100087','47516','2','25','Available
0','0',''),
('100088','47516','3','25','Degraded
1','0',''),
('100089','47516','4','25','Unavailable
2','0',''),
('100090','47516','5','25','Unknown
3','0',''),
('100091','47516','6','13','0
3','2','3'),
('100092','47516','7','20','1h','0',''),
('100093','47517','1','12','$.metrics.CPUCreditsConsumed.average','1',''),
('100094','47517','2','20','1h','0',''),
('100095','47518','1','12','$.metrics.CPUCreditsRemaining.average','1',''),
('100096','47518','2','20','1h','0',''),
('100097','47519','1','12','$.metrics.PercentageCPU.average','1',''),
('100098','47519','2','20','1h','0',''),
('100099','47520','1','12','$.metrics.DataDiskMaxBurstBandwidth.average','1',''),
('100100','47520','2','20','1h','0',''),
('100101','47521','1','12','$.metrics.DataDiskUsedBurstBPSCreditsPercentage.average','1',''),
('100102','47521','2','20','1h','0',''),
('100103','47522','1','12','$.metrics.DataDiskBandwidthConsumedPercentage.average','1',''),
('100104','47522','2','20','1h','0',''),
('100105','47523','1','12','$.metrics.DataDiskTargetBandwidth.average','1',''),
('100106','47523','2','20','1h','0',''),
('100107','47524','1','12','$.metrics.DataDiskMaxBurstIOPS.average','1',''),
('100108','47524','2','20','1h','0',''),
('100109','47525','1','12','$.metrics.DataDiskUsedBurstIOCreditsPercentage.average','1',''),
('100110','47525','2','20','1h','0',''),
('100111','47526','1','12','$.metrics.DataDiskIOPSConsumedPercentage.average','1',''),
('100112','47526','2','20','1h','0',''),
('100113','47527','1','12','$.metrics.DataDiskTargetIOPS.average','1',''),
('100114','47527','2','20','1h','0',''),
('100115','47528','1','12','$.metrics.DataDiskQueueDepth.average','1',''),
('100116','47528','2','20','1h','0',''),
('100117','47529','1','12','$.metrics.DataDiskReadBytessec.average','1',''),
('100118','47529','2','20','1h','0',''),
('100119','47530','1','12','$.metrics.DataDiskReadOperationsSec.average','1',''),
('100120','47530','2','20','1h','0',''),
('100121','47531','1','12','$.metrics.DataDiskWriteBytessec.average','1',''),
('100122','47531','2','20','1h','0',''),
('100123','47532','1','12','$.metrics.DataDiskWriteOperationsSec.average','1',''),
('100124','47532','2','20','1h','0',''),
('100125','47533','1','12','$.error','2',''),
('100126','47533','2','20','1h','0',''),
('100127','47534','1','12','$.metrics.DiskReadBytes.total','1',''),
('100128','47534','2','20','1h','0',''),
('100129','47535','1','12','$.metrics.DiskReadOperationsSec.average','1',''),
('100130','47535','2','20','1h','0',''),
('100131','47536','1','12','$.metrics.DiskWriteBytes.total','1',''),
('100132','47536','2','20','1h','0',''),
('100133','47537','1','12','$.metrics.DiskWriteOperationsSec.average','1',''),
('100134','47537','2','20','1h','0',''),
('100135','47538','1','12','$.metrics.InboundFlows.average','1',''),
('100136','47538','2','20','1h','0',''),
('100137','47539','1','12','$.metrics.InboundFlowsMaximumCreationRate.average','1',''),
('100138','47539','2','20','1h','0',''),
('100139','47540','1','12','$.metrics.OutboundFlows.average','1',''),
('100140','47540','2','20','1h','0',''),
('100141','47541','1','12','$.metrics.OutboundFlowsMaximumCreationRate.average','1',''),
('100142','47541','2','20','1h','0',''),
('100143','47542','1','12','$.metrics.NetworkInTotal.total','1',''),
('100144','47543','1','12','$.metrics.NetworkOutTotal.total','1',''),
('100145','47544','1','12','$.metrics.OSDiskUsedBurstBPSCreditsPercentage.average','1',''),
('100146','47544','2','20','1h','0',''),
('100147','47545','1','12','$.metrics.OSDiskBandwidthConsumedPercentage.average','1',''),
('100148','47545','2','20','1h','0',''),
('100149','47546','1','12','$.metrics.OSDiskMaxBurstBandwidth.average','1',''),
('100150','47546','2','20','1h','0',''),
('100151','47547','1','12','$.metrics.OSDiskTargetBandwidth.average','1',''),
('100152','47547','2','20','1h','0',''),
('100153','47548','1','12','$.metrics.OSDiskUsedBurstIOCreditsPercentage.average','1',''),
('100154','47548','2','20','1h','0',''),
('100155','47549','1','12','$.metrics.OSDiskIOPSConsumedPercentage.average','1',''),
('100156','47549','2','20','1h','0',''),
('100157','47550','1','12','$.metrics.OSDiskMaxBurstIOPS.average','1',''),
('100158','47550','2','20','1h','0',''),
('100159','47551','1','12','$.metrics.OSDiskTargetIOPS.average','1',''),
('100160','47551','2','20','1h','0',''),
('100161','47552','1','12','$.metrics.OSDiskQueueDepth.average','1',''),
('100162','47552','2','20','1h','0',''),
('100163','47553','1','12','$.metrics.OSDiskReadBytessec.average','1',''),
('100164','47553','2','20','1h','0',''),
('100165','47554','1','12','$.metrics.OSDiskReadOperationsSec.average','1',''),
('100166','47554','2','20','1h','0',''),
('100167','47555','1','12','$.metrics.OSDiskWriteBytessec.average','1',''),
('100168','47555','2','20','1h','0',''),
('100169','47556','1','12','$.metrics.OSDiskWriteOperationsSec.average','1',''),
('100170','47556','2','20','1h','0',''),
('100171','47557','1','12','$.metrics.PremiumDataDiskCacheReadHit.average','1',''),
('100172','47557','2','20','1h','0',''),
('100173','47558','1','12','$.metrics.PremiumDataDiskCacheReadMiss.average','1',''),
('100174','47558','2','20','1h','0',''),
('100175','47559','1','12','$.metrics.PremiumOSDiskCacheReadHit.average','1',''),
('100176','47559','2','20','1h','0',''),
('100177','47560','1','12','$.metrics.PremiumOSDiskCacheReadMiss.average','1',''),
('100178','47560','2','20','1h','0',''),
('100179','47561','1','12','$.metrics.VMCachedBandwidthConsumedPercentage.average','1',''),
('100180','47561','2','20','1h','0',''),
('100181','47562','1','12','$.metrics.VMCachedIOPSConsumedPercentage.average','1',''),
('100182','47562','2','20','1h','0',''),
('100183','47563','1','12','$.capacity','0',''),
('100184','47563','2','20','1h','0',''),
('100185','47564','1','12','$.metrics.AvailableMemoryBytes.average','1',''),
('100186','47564','2','20','1h','0',''),
('100187','47565','1','12','$.metrics.VMUncachedBandwidthConsumedPercentage.average','1',''),
('100188','47565','2','20','1h','0',''),
('100189','47566','1','12','$.metrics.VMUncachedIOPSConsumedPercentage.average','1',''),
('100190','47566','2','20','1h','0',''),
('100191','47567','1','12','$.resources.value','0',''),
('100192','47567','2','20','6h','0',''),
('100193','47568','1','21','var edges = JSON.parse(value).edges,
	token = ''{$VELOCLOUD.TOKEN}'',
	url = ''{$VELOCLOUD.URL}'';

var request = new HttpRequest();

request.addHeader(''Content-Type: application/json'');
request.addHeader(''Authorization: Token '' + token);

var response,
	error_msg = '''',
	edges = [],
	edgeSDWan = [],
	edgeSDWanPath = [];

function getHttpData(url, body) {
	response = request.post(url, body);
	Zabbix.log(4, ''[ SD-WAN API ] [ '' + url + '' ] Received response with status code '' + request.getStatus() + '': '' + response);

	if (response !== null) {
		try {
			response = JSON.parse(response);
		}
		catch (error) {
			throw ''Failed to parse response received from SD-WAN API. Check debug log for more information.'';
		}
	}

	if (request.getStatus() !== 200) {
		if (response.error && response.error.message) {
			throw response.error.message;
		} else {
			throw ''Failed to receive data: invalid response status code.'';
		}
	}

	if (typeof (response) !== ''object'' || response === null) {
		throw ''Cannot process response data: received data is not an object.'';
	}

	return response;
};

try {

	if (token === ''{'' + ''$VELOCLOUD.TOKEN}'') {
		throw ''Please change {'' + ''$VELOCLOUD.TOKEN} macro with the proper value.'';
	}

	if (url.indexOf(''http://'') === -1 && url.indexOf(''https://'') === -1) {
		url = ''https://'' + url;
	}

	if (!url.endsWith(''/'')) {
		url += ''/'';
	}

	if (!Array.isArray(edges)) {
		throw ''Cannot process edges SDWans: edges is not an array.'';
	}

	for (var i in edges) {
		responseEdgeSDWan = getHttpData(url + ''portal/rest/edge/getEdgeSDWANPeers'', JSON.stringify({ enterpriseId: edges[i].enterpriseId, edgeId: edges[i].id }));

		if (!Array.isArray(responseEdgeSDWan)) {
			throw ''Cannot process edges SDWan Path: edges SDWans is not an array.'';
		}

		for (var e in responseEdgeSDWan) {
			data = {
				''enterpriseId'': edges[i].enterpriseId,
				''edgeId'': edges[i].id,
				''peerLogicalId'': responseEdgeSDWan[e].deviceLogicalId
			};
			responseEdgeSDWanPath = getHttpData(url + ''portal/rest/metrics/getEdgeSDWANPeerPathMetrics'', JSON.stringify(data));
			edgeSDWanPath = edgeSDWanPath.concat(responseEdgeSDWanPath);

			responseEdgeSDWan[e].edgeId = edges[i].id;
			responseEdgeSDWan[e].edgeName = edges[i].name;
			responseEdgeSDWan[e].enterpriseId = edges[i].enterpriseId;
		}

		edgeSDWan = edgeSDWan.concat(responseEdgeSDWan);
	}

} catch (error) {
	error_msg = error;
};

return JSON.stringify({
	''edgeSDWan'': edgeSDWan,
	''edgeSDWanPath'': edgeSDWanPath,
	''error'': error_msg.toString()
});','0',''),
('100194','47569','1','12','$.error','0',''),
('100195','47569','2','20','1h','0',''),
('100196','47571','1','1','1048576','0',''),
('100197','47571','2','20','6h','0',''),
('100198','47572','1','1','1048576','0',''),
('100199','47580','1','20','6h','0',''),
('100200','47581','1','20','6h','0',''),
('100201','47586','1','20','12h','0',''),
('100202','47587','1','20','12h','0',''),
('100203','47588','1','26','-1','2','0'),
('100204','47588','2','1','0.01','0',''),
('100205','47589','1','20','12h','0',''),
('100206','47590','1','20','12h','0',''),
('100207','47591','1','1','0.01','0',''),
('100208','47592','1','20','12h','0',''),
('100209','47594','1','29','{#ID}
1.3.6.1.4.1.34774.4.1.23.5.5.1.1
0
{#LOCATION}
1.3.6.1.4.1.34774.4.1.23.5.5.1.2
0','0',''),
('100210','47594','2','20','1h','0',''),
('100211','47595','1','29','{#ID}
1.3.6.1.4.1.34774.4.1.23.5.2.1.1
0','0',''),
('100212','47595','2','20','1h','0',''),
('100213','47596','1','29','{#ID}
1.3.6.1.4.1.34774.4.1.23.5.1.1.1
0
{#MODEL}
1.3.6.1.4.1.34774.4.1.23.5.1.1.12
0
{#LOCATION}
1.3.6.1.4.1.34774.4.1.23.5.1.1.4
0','0',''),
('100214','47596','2','20','1h','0',''),
('100215','47597','1','29','{#NAME}
1.3.6.1.4.1.34774.4.1.23.5.6.1.2
0','0',''),
('100216','47597','2','20','1h','0',''),
('100217','47598','1','29','{#ID}
1.3.6.1.4.1.34774.4.1.23.5.4.1.1
0
{#LOCATION}
1.3.6.1.4.1.34774.4.1.23.5.4.1.2
0','0',''),
('100218','47598','2','20','1h','0',''),
('100219','47599','1','29','{#NAME}
1.3.6.1.4.1.34774.4.1.19.9.4.1.2
0','0',''),
('100220','47600','1','29','{#NODE}
1.3.6.1.4.1.34774.4.1.21.3.1.1
0','0',''),
('100221','47601','1','29','{#NAME}
1.3.6.1.4.1.34774.4.1.23.4.2.1.2
0','0',''),
('100222','47602','1','28','1.3.6.1.4.1.34774.4.1.23.5.5.1.3.{#SNMPINDEX}
0','0',''),
('100223','47602','2','20','6h','0',''),
('100224','47603','1','28','1.3.6.1.4.1.34774.4.1.23.5.5.1.4.{#SNMPINDEX}
0','0',''),
('100225','47603','2','20','6h','0',''),
('100226','47604','1','28','1.3.6.1.4.1.34774.4.1.23.5.2.1.8.{#SNMPINDEX}
0','0',''),
('100227','47605','1','28','1.3.6.1.4.1.34774.4.1.23.5.2.1.2.{#SNMPINDEX}
0','0',''),
('100228','47605','2','20','6h','0',''),
('100229','47606','1','28','1.3.6.1.4.1.34774.4.1.23.5.2.1.9.{#SNMPINDEX}
0','0',''),
('100230','47607','1','28','1.3.6.1.4.1.34774.4.1.23.5.2.1.6.{#SNMPINDEX}
0','0',''),
('100231','47607','2','20','6h','0',''),
('100232','47608','1','28','1.3.6.1.4.1.34774.4.1.23.5.2.1.3.{#SNMPINDEX}
0','0',''),
('100233','47608','2','20','6h','0',''),
('100234','47609','1','28','1.3.6.1.4.1.34774.4.1.23.5.1.1.2.{#SNMPINDEX}
0','0',''),
('100235','47609','2','20','6h','0',''),
('100236','47610','1','28','1.3.6.1.4.1.34774.4.1.23.5.1.1.3.{#SNMPINDEX}
0','0',''),
('100237','47610','2','20','6h','0',''),
('100238','47611','1','28','1.3.6.1.4.1.34774.4.1.23.5.1.1.11.{#SNMPINDEX}
0','0',''),
('100239','47612','1','28','1.3.6.1.4.1.34774.4.1.23.5.6.1.4.{#SNMPINDEX}
0','0',''),
('100240','47612','2','20','6h','0',''),
('100241','47613','1','28','1.3.6.1.4.1.34774.4.1.23.5.6.1.5.{#SNMPINDEX}
0','0',''),
('100242','47613','2','20','6h','0',''),
('100243','47614','1','28','1.3.6.1.4.1.34774.4.1.23.5.6.1.8.{#SNMPINDEX}
0','0',''),
('100244','47615','1','28','1.3.6.1.4.1.34774.4.1.23.5.4.1.3.{#SNMPINDEX}
0','0',''),
('100245','47615','2','20','6h','0',''),
('100246','47616','1','28','1.3.6.1.4.1.34774.4.1.23.5.4.1.4.{#SNMPINDEX}
0','0',''),
('100247','47616','2','20','6h','0',''),
('100248','47617','1','28','1.3.6.1.4.1.34774.4.1.21.4.1.7.{#SNMPINDEX}
0','0',''),
('100249','47617','2','1','1048576','0',''),
('100250','47618','1','28','1.3.6.1.4.1.34774.4.1.21.4.1.6.{#SNMPINDEX}
0','0',''),
('100251','47618','2','1','1048576','0',''),
('100252','47619','1','28','1.3.6.1.4.1.34774.4.1.21.4.1.8.{#SNMPINDEX}
0','0',''),
('100253','47619','2','1','1048576','0',''),
('100254','47620','1','28','1.3.6.1.4.1.34774.4.1.19.9.4.1.5.{#SNMPINDEX}
0','0',''),
('100255','47620','2','1','1024','0',''),
('100256','47620','3','20','6h','0',''),
('100257','47621','1','28','1.3.6.1.4.1.34774.4.1.21.4.1.4.{#SNMPINDEX}
0','0',''),
('100258','47622','1','28','1.3.6.1.4.1.34774.4.1.21.4.1.3.{#SNMPINDEX}
0','0',''),
('100259','47623','1','28','1.3.6.1.4.1.34774.4.1.21.4.1.5.{#SNMPINDEX}
0','0',''),
('100260','47624','1','28','1.3.6.1.4.1.34774.4.1.21.4.1.15.{#SNMPINDEX}
0','0',''),
('100261','47624','2','1','1.0E-6','0',''),
('100262','47625','1','28','1.3.6.1.4.1.34774.4.1.21.4.1.13.{#SNMPINDEX}
0','0',''),
('100263','47625','2','1','1.0E-6','0',''),
('100264','47626','1','28','1.3.6.1.4.1.34774.4.1.21.4.1.16.{#SNMPINDEX}
0','0',''),
('100265','47626','2','1','1.0E-6','0',''),
('100266','47627','1','28','1.3.6.1.4.1.34774.4.1.19.9.4.1.11.{#SNMPINDEX}
0','0',''),
('100267','47627','2','20','6h','0',''),
('100268','47628','1','28','1.3.6.1.4.1.34774.4.1.21.3.1.9.{#SNMPINDEX}
0','0',''),
('100269','47628','2','1','1048576','0',''),
('100270','47629','1','28','1.3.6.1.4.1.34774.4.1.21.3.1.8.{#SNMPINDEX}
0','0',''),
('100271','47629','2','1','1048576','0',''),
('100272','47630','1','28','1.3.6.1.4.1.34774.4.1.21.3.1.10.{#SNMPINDEX}
0','0',''),
('100273','47630','2','1','1048576','0',''),
('100274','47631','1','28','1.3.6.1.4.1.34774.4.1.21.3.1.2.{#SNMPINDEX}
0','0',''),
('100275','47632','1','28','1.3.6.1.4.1.34774.4.1.21.3.1.6.{#SNMPINDEX}
0','0',''),
('100276','47633','1','28','1.3.6.1.4.1.34774.4.1.21.3.1.5.{#SNMPINDEX}
0','0',''),
('100277','47634','1','28','1.3.6.1.4.1.34774.4.1.21.3.1.7.{#SNMPINDEX}
0','0',''),
('100278','47635','1','28','1.3.6.1.4.1.34774.4.1.23.4.2.1.9.{#SNMPINDEX}
0','0',''),
('100279','47635','2','1','1048576','0',''),
('100280','47636','1','28','1.3.6.1.4.1.34774.4.1.23.4.2.1.7.{#SNMPINDEX}
0','0',''),
('100281','47636','2','1','1048576','0',''),
('100282','47636','3','20','6h','0',''),
('100283','47637','1','28','1.3.6.1.4.1.34774.4.1.23.4.2.1.5.{#SNMPINDEX}
0','0',''),
('100284','47637','2','20','6h','0',''),
('100285','47638','1','28','1.3.6.1.4.1.34774.4.1.23.4.2.1.6.{#SNMPINDEX}
0','0',''),
('100286','47638','2','20','6h','0',''),
('100287','47640','1','20','10m','0',''),
('100288','47642','1','21',E'var lines = value.split(''\\n'');
var output = {},
	workers = {
		''_'': 0, ''S'': 0, ''R'': 0, ''W'': 0,
		''K'': 0, ''D'': 0, ''C'': 0, ''L'': 0,
		''G'': 0, ''I'': 0, ''.'': 0
	};

for (var i = 0; i < lines.length; i++) {
	var line = lines[i].match(/([A-z0-9 ]+): (.*)/);

	if (line !== null) {
		output[line[1]] = isNaN(line[2]) ? line[2] : Number(line[2]);
	}
}

output.ServerUptimeSeconds = output.ServerUptimeSeconds || output.Uptime;
output.ServerVersion = output.ServerVersion || output.Server;

if (typeof output.Scoreboard === ''string'') {
	for (var i = 0; i < output.Scoreboard.length; i++) {
		var char = output.Scoreboard[i];

		workers[char]++;
	}
}

output.Workers = {
	waiting: workers[''_''], starting: workers[''S''], reading: workers[''R''],
	sending: workers[''W''], keepalive: workers[''K''], dnslookup: workers[''D''],
	closing: workers[''C''], logging: workers[''L''], finishing: workers[''G''],
	cleanup: workers[''I''], slot: workers[''.'']
};

return JSON.stringify(output);','0',''),
('100289','47643','1','12','$["Total kBytes"]','0',''),
('100290','47643','2','1','1024','0',''),
('100291','47644','1','12','$["Total kBytes"]','0',''),
('100292','47644','2','1','1024','0',''),
('100293','47644','3','10','','0',''),
('100294','47645','1','12','$["Total Accesses"]','0',''),
('100295','47646','1','12','$["Total Accesses"]','0',''),
('100296','47646','2','10','','0',''),
('100297','47647','1','12','$.ServerUptimeSeconds','0',''),
('100298','47648','1','12','$.ServerVersion','0',''),
('100299','47648','2','20','1d','0',''),
('100300','47649','1','12','$.Workers.cleanup','0',''),
('100301','47650','1','12','$.Workers.closing','0',''),
('100302','47651','1','12','$.Workers.dnslookup','0',''),
('100303','47652','1','12','$.Workers.finishing','0',''),
('100304','47653','1','12','$.Workers.keepalive','0',''),
('100305','47654','1','12','$.Workers.logging','0',''),
('100306','47655','1','12','$.Workers.reading','0',''),
('100307','47656','1','12','$.Workers.sending','0',''),
('100308','47657','1','12','$.Workers.slot','0',''),
('100309','47658','1','12','$.Workers.starting','0',''),
('100310','47659','1','12','$.Workers.waiting','0',''),
('100311','47660','1','12','$.BusyWorkers','0',''),
('100312','47661','1','12','$.IdleWorkers','0',''),
('100313','47662','1','21','return JSON.stringify(JSON.parse(value).ServerMPM === ''event''
	? [{''{#SINGLETON}'': ''''}] : []);','0',''),
('100314','47662','2','20','3h','0',''),
('100315','47665','1','12','$.BytesPerReq','0',''),
('100316','47666','1','12','$.ConnsAsyncClosing','0',''),
('100317','47667','1','12','$.ConnsAsyncKeepAlive','0',''),
('100318','47668','1','12','$.ConnsAsyncWriting','0',''),
('100319','47669','1','12','$.ConnsTotal','0',''),
('100320','47670','1','12','$.Processes','0',''),
('100321','47671','1','12','$.[?(@["name"]=="{#APACHE.NAME}")].first()','2','Failed to retrieve process {#APACHE.NAME} data'),
('100322','47672','1','12','$.processes','2','0'),
('100323','47672','2','20','1h','0',''),
('100324','47673','1','12','$.pmem','1',''),
('100325','47674','1','12','$.rss','1',''),
('100326','47675','1','12','$.vsize','1',''),
('100327','47676','1','20','6h','0',''),
('100328','47677','1','12','$.x509.alternative_names','0',''),
('100329','47678','1','12','$.x509.issuer','0',''),
('100330','47679','1','12','$.result.message','0',''),
('100331','47680','1','12','$.x509.not_after.timestamp','0',''),
('100332','47681','1','12','$.x509.not_before.timestamp','0',''),
('100333','47682','1','12','$.x509.public_key_algorithm','0',''),
('100334','47683','1','12','$.x509.serial_number','0',''),
('100335','47684','1','12','$.sha1_fingerprint','0',''),
('100336','47685','1','12','$.x509.signature_algorithm','0',''),
('100337','47686','1','12','$.x509.subject','0',''),
('100338','47687','1','12','$.result.value','0',''),
('100339','47688','1','12','$.x509.version','0',''),
('100340','47690','1','20','10m','0',''),
('100341','47693','1','5',E'server accepts handled requests\\s+([0-9]+) ([0-9]+) ([0-9]+)
\\1','0',''),
('100342','47693','2','10','','0',''),
('100343','47694','1','5',E'Active connections: ([0-9]+)
\\1','0',''),
('100344','47695','1','21',E'var a = value.match(/server accepts handled requests\\s+([0-9]+) ([0-9]+) ([0-9]+)/)
if (a) {
	return a[1]-a[2]
}','0',''),
('100345','47695','2','10','','0',''),
('100346','47696','1','5',E'server accepts handled requests\\s+([0-9]+) ([0-9]+) ([0-9]+)
\\2','0',''),
('100347','47696','2','10','','0',''),
('100348','47697','1','5',E'Reading: ([0-9]+) Writing: ([0-9]+) Waiting: ([0-9]+)
\\1','0',''),
('100349','47698','1','5',E'Reading: ([0-9]+) Writing: ([0-9]+) Waiting: ([0-9]+)
\\3','0',''),
('100350','47699','1','5',E'Reading: ([0-9]+) Writing: ([0-9]+) Waiting: ([0-9]+)
\\2','0',''),
('100351','47700','1','5',E'server accepts handled requests\\s+([0-9]+) ([0-9]+) ([0-9]+)
\\3','0',''),
('100352','47701','1','5',E'server accepts handled requests\\s+([0-9]+) ([0-9]+) ([0-9]+)
\\3','0',''),
('100353','47701','2','10','','0',''),
('100354','47702','1','5',E'(?i)Server: nginx\\/(.+(?<!\\r))
\\1','0',''),
('100355','47702','2','20','1d','0',''),
('100356','47705','1','12','$.[?(@["name"]=="{#NGINX.NAME}")].first()','2','Failed to retrieve process {#NGINX.NAME} data'),
('100357','47706','1','12','$.processes','2','0'),
('100358','47706','2','20','1h','0',''),
('100359','47707','1','12','$.pmem','1',''),
('100360','47708','1','12','$.rss','1',''),
('100361','47709','1','12','$.vsize','1',''),
('100362','47718','1','12','$.error','2',''),
('100363','47718','2','20','3h','0',''),
('100364','47719','1','12','$.operation_mode','1',''),
('100365','47719','2','21','const idx = [
  ''NORMAL'',
  ''OVERRIDE'',
  ''READONLY'',
  ''STANDALONE'',
  ''SWITCH_TO_TWO_NODE''
].indexOf(value.toUpperCase());
return idx !== -1 ? idx : 5;','0',''),
('100366','47719','3','20','1h','0',''),
('100367','47720','1','12','$.stats.content_cache_num_dedup_ref_count_pph','1',''),
('100368','47721','1','12','$.stats.content_cache_hit_ppm','1',''),
('100369','47721','2','1','0.0001','0',''),
('100370','47722','1','12','$.stats.content_cache_logical_memory_usage_bytes','1',''),
('100371','47722','2','20','1h','0',''),
('100372','47723','1','12','$.stats.content_cache_logical_ssd_usage_bytes','1',''),
('100373','47723','2','20','1h','0',''),
('100374','47724','1','12','$.stats.content_cache_num_lookups','1',''),
('100375','47725','1','12','$.stats.content_cache_physical_memory_usage_bytes','1',''),
('100376','47725','2','20','1h','0',''),
('100377','47726','1','12','$.stats.content_cache_physical_ssd_usage_bytes','1',''),
('100378','47726','2','20','1h','0',''),
('100379','47727','1','12','$.stats.content_cache_saved_memory_usage_bytes','1',''),
('100380','47727','2','20','1h','0',''),
('100381','47728','1','12','$.stats.content_cache_saved_ssd_usage_bytes','1',''),
('100382','47728','2','20','1h','0',''),
('100383','47729','1','12','$.stats.controller_num_random_io','1',''),
('100384','47730','1','12','$.stats.controller_random_io_ppm','1',''),
('100385','47730','2','1','0.0001','0',''),
('100386','47731','1','12','$.stats.controller_num_seq_io','1',''),
('100387','47732','1','12','$.stats.controller_seq_io_ppm','1',''),
('100388','47732','2','1','0.0001','0',''),
('100389','47733','1','12','$.stats.num_io','1',''),
('100390','47734','1','12','$.stats.io_bandwidth_kBps','1',''),
('100391','47734','2','1','1024','0',''),
('100392','47735','1','12','$.stats.avg_io_latency_usecs','1',''),
('100393','47735','2','1','1.0E-6','0',''),
('100394','47736','1','12','$.stats.num_random_io','1',''),
('100395','47737','1','12','$.stats.random_io_ppm','1',''),
('100396','47737','2','1','0.0001','0',''),
('100397','47738','1','12','$.stats.num_read_io','1',''),
('100398','47739','1','12','$.stats.read_io_bandwidth_kBps','1',''),
('100399','47739','2','1','1024','0',''),
('100400','47740','1','12','$.stats.avg_read_io_latency_usecs','1',''),
('100401','47740','2','1','1.0E-6','0',''),
('100402','47741','1','12','$.stats.read_io_ppm','1',''),
('100403','47741','2','1','0.0001','0',''),
('100404','47742','1','12','$.stats.total_read_io_size_kbytes','1',''),
('100405','47742','2','1','1024','0',''),
('100406','47743','1','12','$.stats.total_read_io_time_usecs','1',''),
('100407','47743','2','1','1.0E-6','0',''),
('100408','47744','1','12','$.stats.num_seq_io','1',''),
('100409','47745','1','12','$.stats.seq_io_ppm','1',''),
('100410','47745','2','1','0.0001','0',''),
('100411','47746','1','12','$.stats.total_io_size_kbytes','1',''),
('100412','47746','2','1','1024','0',''),
('100413','47747','1','12','$.stats.total_io_time_usecs','1',''),
('100414','47747','2','1','1.0E-6','0',''),
('100415','47748','1','12','$.stats.num_write_io','1',''),
('100416','47749','1','12','$.stats.write_io_bandwidth_kBps','1',''),
('100417','47749','2','1','1024','0',''),
('100418','47750','1','12','$.stats.avg_write_io_latency_usecs','1',''),
('100419','47750','2','1','1.0E-6','0',''),
('100420','47751','1','12','$.stats.write_io_ppm','1',''),
('100421','47751','2','1','0.0001','0',''),
('100422','47752','1','12','$.stats.num_iops','1',''),
('100423','47753','1','12','$.stats.num_read_iops','1',''),
('100424','47754','1','12','$.stats.num_write_iops','1',''),
('100425','47755','1','12','$.usage_stats.[''storage.capacity_bytes'']','0',''),
('100426','47755','2','20','1h','0',''),
('100427','47756','1','12','$.usage_stats.[''storage.free_bytes'']','0',''),
('100428','47756','2','20','1h','0',''),
('100429','47757','1','12','$.usage_stats.[''storage.logical_usage_bytes'']','0',''),
('100430','47757','2','20','1h','0',''),
('100431','47758','1','12','$.usage_stats.[''storage.usage_bytes'']','0',''),
('100432','47758','2','20','1h','0',''),
('100433','47759','1','12','$.stats.timespan_usecs','1',''),
('100434','47759','2','1','1.0E-6','0',''),
('100435','47760','1','12','$.stats.total_transformed_usage_bytes','1',''),
('100436','47761','1','12','$.stats.total_untransformed_usage_bytes','1',''),
('100437','47762','1','12','$.is_upgrade_in_progress','1',''),
('100438','47762','2','6','','2','2'),
('100439','47762','3','20','1h','0',''),
('100440','47763','1','12','$.version','1',''),
('100441','47763','2','20','12h','0',''),
('100442','47764','1','12','$.stats.hypervisor_cpu_usage_ppm','1',''),
('100443','47764','2','1','0.0001','0',''),
('100444','47765','1','12','$.stats.hypervisor_num_io','1',''),
('100445','47766','1','12','$.stats.hypervisor_io_bandwidth_kBps','1',''),
('100446','47766','2','1','1024','0',''),
('100447','47767','1','12','$.stats.hypervisor_avg_io_latency_usecs','1',''),
('100448','47767','2','1','1.0E-6','0',''),
('100449','47768','1','12','$.stats.hypervisor_num_read_io','1',''),
('100450','47769','1','12','$.stats.hypervisor_read_io_bandwidth_kBps','1',''),
('100451','47769','2','1','1024','0',''),
('100452','47770','1','12','$.stats.hypervisor_avg_read_io_latency_usecs','1',''),
('100453','47770','2','1','1.0E-6','0',''),
('100454','47771','1','12','$.stats.hypervisor_total_read_io_size_kbytes','1',''),
('100455','47771','2','1','1024','0',''),
('100456','47772','1','12','$.stats.hypervisor_total_read_io_time_usecs','1',''),
('100457','47772','2','1','1.0E-6','0',''),
('100458','47773','1','12','$.stats.hypervisor_total_io_size_kbytes','1',''),
('100459','47773','2','1','1024','0',''),
('100460','47774','1','12','$.stats.hypervisor_total_io_time_usecs','1',''),
('100461','47774','2','1','1.0E-6','0',''),
('100462','47775','1','12','$.stats.hypervisor_num_write_io','1',''),
('100463','47776','1','12','$.stats.hypervisor_write_io_bandwidth_kBps','1',''),
('100464','47776','2','1','1024','0',''),
('100465','47777','1','12','$.stats.hypervisor_avg_write_io_latency_usecs','1',''),
('100466','47777','2','1','1.0E-6','0',''),
('100467','47778','1','12','$.stats.hypervisor_num_iops','1',''),
('100468','47779','1','12','$.stats.hypervisor_num_read_iops','1',''),
('100469','47780','1','12','$.stats.hypervisor_num_write_iops','1',''),
('100470','47781','1','12','$.stats.hypervisor_memory_usage_ppm','1',''),
('100471','47781','2','1','0.0001','0',''),
('100472','47782','1','12','$.stats.hypervisor_timespan_usecs','1',''),
('100473','47782','2','1','1.0E-6','0',''),
('100474','47783','1','12','$.error','2',''),
('100475','47783','2','20','3h','0',''),
('100476','47784','1','12','$.cluster_redundancy_state.current_redundancy_factor','1',''),
('100477','47784','2','20','1h','0',''),
('100478','47785','1','12','$.cluster_redundancy_state.desired_redundancy_factor','1',''),
('100479','47785','2','20','1h','0',''),
('100480','47786','1','12','$.stats.controller_num_io','1',''),
('100481','47787','1','12','$.stats.controller_io_bandwidth_kBps','1',''),
('100482','47787','2','1','1024','0',''),
('100483','47788','1','12','$.stats.controller_avg_io_latency_usecs','1',''),
('100484','47788','2','1','1.0E-6','0',''),
('100485','47789','1','12','$.stats.controller_num_read_io','1',''),
('100486','47790','1','12','$.stats.controller_read_io_bandwidth_kBps','1',''),
('100487','47790','2','1','1024','0',''),
('100488','47791','1','12','$.stats.controller_avg_read_io_size_kbytes','1',''),
('100489','47791','2','1','1024','0',''),
('100490','47792','1','12','$.stats.controller_avg_read_io_latency_usecs','1',''),
('100491','47792','2','1','1.0E-6','0',''),
('100492','47793','1','12','$.stats.controller_read_io_ppm','1',''),
('100493','47793','2','1','0.0001','0',''),
('100494','47794','1','12','$.stats.controller_total_read_io_size_kbytes','1',''),
('100495','47794','2','1','1024','0',''),
('100496','47795','1','12','$.stats.controller_total_read_io_time_usecs','1',''),
('100497','47795','2','1','1.0E-6','0',''),
('100498','47796','1','12','$.stats.controller_total_io_size_kbytes','1',''),
('100499','47796','2','1','1024','0',''),
('100500','47797','1','12','$.stats.controller_total_io_time_usecs','1',''),
('100501','47797','2','1','1.0E-6','0',''),
('100502','47798','1','12','$.stats.controller_num_write_io','1',''),
('100503','47799','1','12','$.stats.controller_write_io_bandwidth_kBps','1',''),
('100504','47799','2','1','1024','0',''),
('100505','47800','1','12','$.stats.controller_avg_write_io_size_kbytes','1',''),
('100506','47800','2','1','1024','0',''),
('100507','47801','1','12','$.stats.controller_avg_write_io_latency_usecs','1',''),
('100508','47801','2','1','1.0E-6','0',''),
('100509','47802','1','12','$.stats.controller_write_io_ppm','1',''),
('100510','47802','2','1','0.0001','0',''),
('100511','47803','1','12','$.stats.controller_num_iops','1',''),
('100512','47804','1','12','$.stats.controller_num_read_iops','1',''),
('100513','47805','1','12','$.stats.controller_num_write_iops','1',''),
('100514','47806','1','12','$.usage_stats.[''storage_tier.das-sata.capacity_bytes'']','0',''),
('100515','47806','2','20','1h','0',''),
('100516','47807','1','12','$.usage_stats.[''storage_tier.das-sata.free_bytes'']','0',''),
('100517','47807','2','20','1h','0',''),
('100518','47808','1','12','$.usage_stats.[''storage_tier.das-sata.usage_bytes'']','0',''),
('100519','47808','2','20','1h','0',''),
('100520','47809','1','12','$.usage_stats.[''storage_tier.ssd.capacity_bytes'']','0',''),
('100521','47809','2','20','1h','0',''),
('100522','47810','1','12','$.usage_stats.[''storage_tier.ssd.free_bytes'']','0',''),
('100523','47810','2','20','1h','0',''),
('100524','47811','1','12','$.usage_stats.[''storage_tier.ssd.usage_bytes'']','0',''),
('100525','47811','2','20','1h','0',''),
('100526','47812','1','12','$.stats.controller_timespan_usecs','1',''),
('100527','47812','2','1','1.0E-6','0',''),
('100528','47812','3','20','1h','0',''),
('100529','47813','1','12','$.stats.controller_total_transformed_usage_bytes','1',''),
('100530','47814','1','12','$.error','2',''),
('100531','47814','2','20','3h','0',''),
('100532','47815','1','12','$.stats.content_cache_num_dedup_ref_count_pph','1',''),
('100533','47816','1','12','$.stats.content_cache_hit_ppm','1',''),
('100534','47816','2','1','0.0001','0',''),
('100535','47817','1','12','$.stats.content_cache_logical_memory_usage_bytes','1',''),
('100536','47817','2','20','1h','0',''),
('100537','47818','1','12','$.stats.content_cache_logical_ssd_usage_bytes','1',''),
('100538','47818','2','20','1h','0',''),
('100539','47819','1','12','$.stats.content_cache_num_lookups','1',''),
('100540','47820','1','12','$.stats.content_cache_physical_memory_usage_bytes','1',''),
('100541','47820','2','20','1h','0',''),
('100542','47821','1','12','$.stats.content_cache_physical_ssd_usage_bytes','1',''),
('100543','47821','2','20','1h','0',''),
('100544','47822','1','12','$.stats.content_cache_saved_memory_usage_bytes','1',''),
('100545','47822','2','20','1h','0',''),
('100546','47823','1','12','$.stats.content_cache_saved_ssd_usage_bytes','1',''),
('100547','47823','2','20','1h','0',''),
('100548','47824','1','12','$.stats.controller_num_random_io','1',''),
('100549','47825','1','12','$.stats.controller_random_io_ppm','1',''),
('100550','47825','2','1','0.0001','0',''),
('100551','47826','1','12','$.stats.controller_num_seq_io','1',''),
('100552','47827','1','12','$.stats.controller_seq_io_ppm','1',''),
('100553','47827','2','1','0.0001','0',''),
('100554','47828','1','12','$.error','2',''),
('100555','47828','2','20','3h','0',''),
('100556','47829','1','12','$.boot_time_in_usecs','0',''),
('100557','47829','2','1','1.0E-6','0',''),
('100558','47829','3','20','1h','0',''),
('100559','47830','1','12','$.cpu_capacity_in_hz','0',''),
('100560','47830','2','20','1h','0',''),
('100561','47831','1','12','$.cpu_frequency_in_hz','0',''),
('100562','47831','2','20','1h','0',''),
('100563','47832','1','12','$.cpu_model','0',''),
('100564','47832','2','20','12h','0',''),
('100565','47833','1','12','$.is_degraded','0',''),
('100566','47833','2','6','','2','2'),
('100567','47833','3','20','1h','0',''),
('100568','47834','1','12','$.stats.num_io','1',''),
('100569','47834','2','1','0.0001','0',''),
('100570','47835','1','12','$.stats.io_bandwidth_kBps','1',''),
('100571','47835','2','1','1024','0',''),
('100572','47836','1','12','$.stats.avg_io_latency_usecs','1',''),
('100573','47836','2','1','1.0E-6','0',''),
('100574','47837','1','12','$.stats.num_random_io','1',''),
('100575','47838','1','12','$.stats.random_io_ppm','1',''),
('100576','47838','2','1','0.0001','0',''),
('100577','47839','1','12','$.stats.num_read_io','1',''),
('100578','47840','1','12','$.stats.read_io_bandwidth_kBps','1',''),
('100579','47840','2','1','1024','0',''),
('100580','47841','1','12','$.stats.avg_read_io_latency_usecs','1',''),
('100581','47841','2','1','1.0E-6','0',''),
('100582','47842','1','12','$.stats.read_io_ppm','1',''),
('100583','47842','2','1','0.0001','0',''),
('100584','47843','1','12','$.stats.total_read_io_size_kbytes','1',''),
('100585','47843','2','1','1024','0',''),
('100586','47844','1','12','$.stats.total_read_io_time_usecs','1',''),
('100587','47844','2','1','1.0E-6','0',''),
('100588','47845','1','12','$.stats.num_seq_io','1',''),
('100589','47846','1','12','$.stats.seq_io_ppm','1',''),
('100590','47846','2','1','0.0001','0',''),
('100591','47847','1','12','$.stats.total_io_size_kbytes','1',''),
('100592','47847','2','1','1024','0',''),
('100593','47848','1','12','$.stats.total_io_time_usecs','1',''),
('100594','47848','2','1','1.0E-6','0',''),
('100595','47849','1','12','$.stats.num_write_io','1',''),
('100596','47850','1','12','$.stats.write_io_bandwidth_kBps','1',''),
('100597','47850','2','1','1024','0',''),
('100598','47851','1','12','$.stats.avg_write_io_latency_usecs','1',''),
('100599','47851','2','1','1.0E-6','0',''),
('100600','47852','1','12','$.stats.write_io_ppm','1',''),
('100601','47852','2','1','0.0001','0',''),
('100602','47853','1','12','$.stats.num_iops','1',''),
('100603','47854','1','12','$.stats.num_read_iops','1',''),
('100604','47855','1','12','$.stats.num_write_iops','1',''),
('100605','47856','1','12','$.host_in_maintenance_mode','0',''),
('100606','47856','2','6','','2','2'),
('100607','47856','3','20','1h','0',''),
('100608','47857','1','12','$.memory_capacity_in_bytes','0',''),
('100609','47857','2','20','1h','0',''),
('100610','47858','1','12','$.reboot_pending','0',''),
('100611','47858','2','6','','2','2'),
('100612','47858','3','20','1h','0',''),
('100613','47859','1','12','$.state','0',''),
('100614','47859','2','21','const idx = [
  ''NEW'',
  ''NORMAL'',
  ''MARKED_FOR_REMOVAL_BUT_NOT_DETACHABLE'',
  ''DETACHABLE''
].indexOf(value.toUpperCase());
return idx !== -1 ? idx : 4;','0',''),
('100615','47859','3','20','10m','0',''),
('100616','47860','1','12','$.usage_stats.[''storage.capacity_bytes'']','0',''),
('100617','47860','2','20','1h','0',''),
('100618','47861','1','12','$.usage_stats.[''storage.free_bytes'']','0',''),
('100619','47861','2','20','1h','0',''),
('100620','47862','1','12','$.usage_stats.[''storage.logical_usage_bytes'']','0',''),
('100621','47862','2','20','1h','0',''),
('100622','47863','1','12','$.usage_stats.[''storage.usage_bytes'']','0',''),
('100623','47863','2','20','1h','0',''),
('100624','47864','1','12','$.stats.timespan_usecs','1',''),
('100625','47864','2','1','1.0E-6','0',''),
('100626','47865','1','12','$.stats.total_transformed_usage_bytes','1',''),
('100627','47866','1','12','$.host_type','0',''),
('100628','47866','2','21','const idx = [
  ''HYPER_CONVERGED'',
  ''COMPUTE_ONLY''
].indexOf(value.toUpperCase());
return idx !== -1 ? idx : 2;','0',''),
('100629','47866','3','20','1h','0',''),
('100630','47867','1','12','$.stats.total_untransformed_usage_bytes','1',''),
('100631','47868','1','12','$.num_vms','0',''),
('100632','47868','2','20','1h','0',''),
('100633','47869','1','12','$.num_cpu_cores','0',''),
('100634','47869','2','20','12h','0',''),
('100635','47870','1','12','$.num_cpu_sockets','0',''),
('100636','47870','2','20','12h','0',''),
('100637','47871','1','12','$.num_cpu_threads','0',''),
('100638','47871','2','20','12h','0',''),
('100639','47872','1','12','$.stats.hypervisor_cpu_usage_ppm','1',''),
('100640','47872','2','1','0.0001','0',''),
('100641','47873','1','12','$.stats.hypervisor_num_io','1',''),
('100642','47874','1','12','$.stats.hypervisor_io_bandwidth_kBps','1',''),
('100643','47874','2','1','1024','0',''),
('100644','47875','1','12','$.stats.hypervisor_avg_io_latency_usecs','1',''),
('100645','47875','2','1','1.0E-6','0',''),
('100646','47876','1','12','$.stats.hypervisor_num_read_io','1',''),
('100647','47877','1','12','$.stats.hypervisor_read_io_bandwidth_kBps','1',''),
('100648','47877','2','1','1024','0',''),
('100649','47878','1','12','$.stats.hypervisor_avg_read_io_latency_usecs','1',''),
('100650','47878','2','1','1.0E-6','0',''),
('100651','47879','1','12','$.stats.hypervisor_total_read_io_size_kbytes','1',''),
('100652','47879','2','1','1024','0',''),
('100653','47880','1','12','$.stats.hypervisor_total_read_io_time_usecs','1',''),
('100654','47880','2','1','1.0E-6','0',''),
('100655','47881','1','12','$.stats.hypervisor_total_io_size_kbytes','1',''),
('100656','47881','2','1','1024','0',''),
('100657','47882','1','12','$.stats.hypervisor_total_io_time_usecs','1',''),
('100658','47882','2','1','1.0E-6','0',''),
('100659','47883','1','12','$.stats.hypervisor_num_write_io','1',''),
('100660','47884','1','12','$.stats.hypervisor_write_io_bandwidth_kBps','1',''),
('100661','47884','2','1','1024','0',''),
('100662','47885','1','12','$.stats.hypervisor_avg_write_io_latency_usecs','1',''),
('100663','47885','2','1','1.0E-6','0',''),
('100664','47886','1','12','$.stats.hypervisor_num_iops','1',''),
('100665','47887','1','12','$.stats.hypervisor_num_read_iops','1',''),
('100666','47888','1','12','$.stats.hypervisor_num_write_iops','1',''),
('100667','47889','1','12','$.stats.hypervisor_memory_usage_ppm','1',''),
('100668','47889','2','1','0.0001','0',''),
('100669','47890','1','12','$.hypervisor_full_name','0',''),
('100670','47890','2','20','12h','0',''),
('100671','47891','1','12','$.stats.hypervisor_num_received_bytes','1',''),
('100672','47891','2','20','1h','0',''),
('100673','47892','1','12','$.stats.hypervisor_timespan_usecs','1',''),
('100674','47892','2','1','1.0E-6','0',''),
('100675','47893','1','12','$.stats.hypervisor_num_transmitted_bytes','1',''),
('100676','47893','2','20','1h','0',''),
('100677','47894','1','12','$.error','2',''),
('100678','47894','2','20','3h','0',''),
('100679','47895','1','12','$.stats.controller_num_io','1',''),
('100680','47896','1','12','$.stats.controller_io_bandwidth_kBps','1',''),
('100681','47896','2','1','1024','0',''),
('100682','47897','1','12','$.stats.controller_avg_io_latency_usecs','1',''),
('100683','47897','2','1','1.0E-6','0',''),
('100684','47898','1','12','$.stats.controller_num_read_io','1',''),
('100685','47899','1','12','$.stats.controller_read_io_bandwidth_kBps','1',''),
('100686','47899','2','1','1024','0',''),
('100687','47900','1','12','$.stats.controller_avg_read_io_size_kbytes','1',''),
('100688','47900','2','1','1024','0',''),
('100689','47901','1','12','$.stats.controller_avg_read_io_latency_usecs','1',''),
('100690','47901','2','1','1.0E-6','0',''),
('100691','47902','1','12','$.stats.controller_read_io_ppm','1',''),
('100692','47902','2','1','0.0001','0',''),
('100693','47903','1','12','$.stats.controller_total_read_io_size_kbytes','1',''),
('100694','47903','2','1','1024','0',''),
('100695','47904','1','12','$.stats.controller_total_read_io_time_usecs','1',''),
('100696','47904','2','1','1.0E-6','0',''),
('100697','47905','1','12','$.stats.controller_total_io_size_kbytes','1',''),
('100698','47905','2','1','1024','0',''),
('100699','47906','1','12','$.stats.controller_total_io_time_usecs','1',''),
('100700','47906','2','1','1.0E-6','0',''),
('100701','47907','1','12','$.stats.controller_num_write_io','1',''),
('100702','47908','1','12','$.stats.controller_write_io_bandwidth_kBps','1',''),
('100703','47908','2','1','1024','0',''),
('100704','47909','1','12','$.stats.controller_avg_write_io_size_kbytes','1',''),
('100705','47909','2','1','1024','0',''),
('100706','47910','1','12','$.stats.controller_avg_write_io_latency_usecs','1',''),
('100707','47910','2','1','1.0E-6','0',''),
('100708','47911','1','12','$.stats.controller_write_io_ppm','1',''),
('100709','47911','2','1','0.0001','0',''),
('100710','47912','1','12','$.stats.controller_num_iops','1',''),
('100711','47913','1','12','$.stats.controller_num_read_iops','1',''),
('100712','47914','1','12','$.stats.controller_num_write_iops','1',''),
('100713','47915','1','12','$.usage_stats.[''storage_tier.das-sata.capacity_bytes'']','0',''),
('100714','47915','2','20','1h','0',''),
('100715','47916','1','12','$.usage_stats.[''storage_tier.das-sata.free_bytes'']','0',''),
('100716','47916','2','20','1h','0',''),
('100717','47917','1','12','$.usage_stats.[''storage_tier.das-sata.usage_bytes'']','0',''),
('100718','47917','2','20','1h','0',''),
('100719','47918','1','12','$.usage_stats.[''storage_tier.ssd.capacity_bytes'']','0',''),
('100720','47918','2','20','1h','0',''),
('100721','47919','1','12','$.usage_stats.[''storage_tier.ssd.free_bytes'']','0',''),
('100722','47919','2','20','1h','0',''),
('100723','47920','1','12','$.usage_stats.[''storage_tier.ssd.usage_bytes'']','0',''),
('100724','47920','2','20','1h','0',''),
('100725','47921','1','12','$.stats.controller_timespan_usecs','1',''),
('100726','47921','2','1','1.0E-6','0',''),
('100727','47921','3','20','1h','0',''),
('100728','47922','1','12','$.stats.controller_total_transformed_usage_bytes','1',''),
('100729','47923','1','12','$.error','2',''),
('100730','47923','2','20','3h','0',''),
('100731','47924','1','12','$.error','2',''),
('100732','47924','2','20','3h','0',''),
('100733','47925','1','12','$.error','2',''),
('100734','47925','2','20','3h','0',''),
('100735','47926','1','21','const json_data = JSON.parse(value);
var output_data = [];

for (var entity in json_data) {
	output_data.push({
		"{#ALERT.KEY}": entity,
		"{#ALERT.STATE}": json_data[entity].state,
		"{#ALERT.TITLE}": json_data[entity].title,
		"{#ALERT.SEVERITY}": json_data[entity].severity,
		"{#ALERT.NAME}": json_data[entity].name.length > 50 ? json_data[entity].name.substr(0, 50) + ''...'' : json_data[entity].name
	});
}

return JSON.stringify(output_data);','0',''),
('100736','47926','2','20','1h','0',''),
('100737','47927','1','21','const json_data = JSON.parse(value);
var output_data = [];

for (var entity in json_data) {
	output_data.push({
		"{#ALERT.KEY}": entity,
		"{#ALERT.STATE}": json_data[entity].state,
		"{#ALERT.TITLE}": json_data[entity].title,
		"{#ALERT.SEVERITY}": json_data[entity].severity,
		"{#ALERT.NAME}": json_data[entity].name.length > 50 ? json_data[entity].name.substr(0, 50) + ''...'' : json_data[entity].name
	});
}

return JSON.stringify(output_data);','0',''),
('100738','47927','2','20','1h','0',''),
('100739','47928','1','21','const json_data = JSON.parse(value);
var output_data = [];

for (var entity in json_data) {
	output_data.push({
		"{#DISK.ID}": json_data[entity].id,
		"{#DISK.SERIAL}": json_data[entity].mount_path.split(''/'').pop(),
		"{#DISK.MOUNT.PATH}": json_data[entity].mount_path,
		"{#DISK.LOCATION}": json_data[entity].location
	});
};

return JSON.stringify(output_data);','0',''),
('100740','47928','2','20','1h','0',''),
('100741','47929','1','12','$.entities','0',''),
('100742','47929','2','21','const json_data = JSON.parse(value);

const result = json_data.map(function(entity) {
	return {
		"{#NUTANIX.CLUSTER.NAME}": entity.name ? entity.name : entity.uuid,
		"{#NUTANIX.CLUSTER.UUID}": entity.uuid
	};
});

return JSON.stringify(result);','0',''),
('100743','47929','3','20','1h','0',''),
('100744','47930','1','12','$.entities','0',''),
('100745','47930','2','21','const json_data = JSON.parse(value);

const result = json_data.map(function(entity) {
	return {
		"{#NUTANIX.HOST.NAME}": entity.name ? entity.name : entity.uuid,
		"{#NUTANIX.HOST.UUID}": entity.uuid
	};
});

return JSON.stringify(result);','0',''),
('100746','47930','3','20','1h','0',''),
('100747','47931','1','21','const json_data = JSON.parse(value);
var output_data = [];

for (var entity in json_data) {
	output_data.push({
		"{#STORAGE.CONTAINER.UUID}": json_data[entity].storage_container_uuid,
		"{#STORAGE.CONTAINER.NAME}": json_data[entity].name
	});
}

return JSON.stringify(output_data);','0',''),
('100748','47931','2','20','1h','0',''),
('100749','47932','1','12','$.{#ALERT.KEY}.count','0',''),
('100750','47932','2','20','1h','0',''),
('100751','47933','1','12','$.{#ALERT.KEY}.created','0',''),
('100752','47933','2','1','1.0E-6','0',''),
('100753','47933','3','20','1h','0',''),
('100754','47934','1','12','$.{#ALERT.KEY}.last_id','0',''),
('100755','47934','2','20','12h','0',''),
('100756','47935','1','12','$.{#ALERT.KEY}.message','0',''),
('100757','47935','2','20','12h','0',''),
('100758','47936','1','12','$.{#ALERT.KEY}.severity','0',''),
('100759','47936','2','20','1h','0',''),
('100760','47937','1','12','$.{#ALERT.KEY}.state','0',''),
('100761','47937','2','20','1h','0',''),
('100762','47938','1','12','$.{#ALERT.KEY}.title','0',''),
('100763','47938','2','20','12h','0',''),
('100764','47939','1','12','$.{#ALERT.KEY}.count','0',''),
('100765','47939','2','20','1h','0',''),
('100766','47940','1','12','$.{#ALERT.KEY}.created','0',''),
('100767','47940','2','1','1.0E-6','0',''),
('100768','47940','3','20','1h','0',''),
('100769','47941','1','12','$.{#ALERT.KEY}.last_id','0',''),
('100770','47941','2','20','12h','0',''),
('100771','47942','1','12','$.{#ALERT.KEY}.message','0',''),
('100772','47942','2','20','12h','0',''),
('100773','47943','1','12','$.{#ALERT.KEY}.severity','0',''),
('100774','47943','2','20','1h','0',''),
('100775','47944','1','12','$.{#ALERT.KEY}.state','0',''),
('100776','47944','2','20','1h','0',''),
('100777','47945','1','12','$.{#ALERT.KEY}.title','0',''),
('100778','47945','2','20','12h','0',''),
('100779','47946','1','12','$.[''{#DISK.ID}''].usage_stats.[''storage.capacity_bytes'']','0',''),
('100780','47946','2','20','12h','0',''),
('100781','47947','1','12','$.[''{#DISK.ID}''].usage_stats.[''storage.free_bytes'']','0',''),
('100782','47947','2','20','1h','0',''),
('100783','47948','1','12','$.[''{#DISK.ID}''].stats.avg_io_latency_usecs','0',''),
('100784','47948','2','1','1.0E-6','0',''),
('100785','47949','1','12','$.[''{#DISK.ID}''].stats.io_bandwidth_kBps','0',''),
('100786','47949','2','1','1024','0',''),
('100787','47950','1','12','$.[''{#DISK.ID}''].stats.num_iops','0',''),
('100788','47951','1','12','$.[''{#DISK.ID}''].usage_stats.[''storage.logical_usage_bytes'']','0',''),
('100789','47951','2','20','1h','0',''),
('100790','47952','1','12','$.[''{#DISK.ID}''].online','0',''),
('100791','47952','2','6','','2','2'),
('100792','47952','3','20','1h','0',''),
('100793','47953','1','12','$.[''{#DISK.ID}''].disk_status','0',''),
('100794','47953','2','21','const idx = [
  ''NORMAL'',
  ''DATA_MIGRATION_INITIATED'',
  ''MARKED_FOR_REMOVAL_BUT_NOT_DETACHABLE'',
  ''DETACHABLE''
].indexOf(value.toUpperCase());
return idx !== -1 ? idx : 4;','0',''),
('100795','47953','3','20','1h','0',''),
('100796','47954','1','12','$.[''{#DISK.ID}''].usage_stats.[''storage.usage_bytes'']','0',''),
('100797','47954','2','20','1h','0',''),
('100798','47955','1','12','$.[''{#STORAGE.CONTAINER.UUID}''].usage_stats.[''storage.capacity_bytes'']','0',''),
('100799','47955','2','20','1h','0',''),
('100800','47956','1','12','$.[''{#STORAGE.CONTAINER.UUID}''].usage_stats.[''storage.free_bytes'']','0',''),
('100801','47956','2','20','1h','0',''),
('100802','47957','1','12','$.[''{#STORAGE.CONTAINER.UUID}''].replication_factor','0',''),
('100803','47957','2','20','1h','0',''),
('100804','47958','1','12','$.[''{#STORAGE.CONTAINER.UUID}''].usage_stats.[''storage.usage_bytes'']','0',''),
('100805','47958','2','20','1h','0',''),
('100806','47962','1','5',E'^[.\\s\\S]*({.+})
\\1','0',''),
('100807','47963','1','12','$.[''accepted conn'']','0',''),
('100808','47963','2','10','','0',''),
('100809','47964','1','12','$.[''listen queue'']','0',''),
('100810','47965','1','12','$.[''listen queue len'']','0',''),
('100811','47966','1','12','$.[''max listen queue'']','0',''),
('100812','47967','1','12','$.[''max children reached'']','0',''),
('100813','47967','2','9','','0',''),
('100814','47968','1','12','$.pool','0',''),
('100815','47968','2','20','3h','0',''),
('100816','47969','1','5',E'{$PHP_FPM.PING.REPLY}($|\\r?\\n)
1','2','0'),
('100817','47970','1','12','$.[''active processes'']','0',''),
('100818','47971','1','12','$.[''idle processes'']','0',''),
('100819','47972','1','12','$.[''max active processes'']','0',''),
('100820','47973','1','12','$.[''total processes'']','0',''),
('100821','47974','1','12','$.[''process manager'']','0',''),
('100822','47974','2','20','3h','0',''),
('100823','47975','1','12','$.[''slow requests'']','0',''),
('100824','47975','2','9','','0',''),
('100825','47976','1','12','$.[''start time'']','0',''),
('100826','47977','1','12','$.[''start since'']','0',''),
('100827','47978','1','5',E'^[.\\s\\S]*X-Powered-By: PHP/([.\\d]{1,})
\\1','1',''),
('100828','47978','2','20','3h','0',''),
('100829','47981','1','12','$.[?(@["name"]=="{#PHP_FPM.NAME}")].first()','2','Failed to retrieve process {#PHP_FPM.NAME} data'),
('100830','47982','1','12','$.processes','2','0'),
('100831','47982','2','20','1h','0',''),
('100832','47983','1','12','$.pmem','1',''),
('100833','47984','1','12','$.rss','1',''),
('100834','47985','1','12','$.vsize','1',''),
('100835','47986','1','12','$.data.disk','0',''),
('100836','47986','2','20','10m','0',''),
('100837','47987','1','12','$.data.maxdisk','0',''),
('100838','47987','2','20','1h','0',''),
('100839','47991','1','20','6h','0',''),
('100840','47992','1','20','10m','0',''),
('100841','47993','1','20','6h','0',''),
('100842','47994','1','12','$.Aborted_clients','0',''),
('100843','47994','2','10','','0',''),
('100844','47995','1','12','$.Aborted_connects','0',''),
('100845','47995','2','10','','0',''),
('100846','47996','1','12','$.Binlog_cache_disk_use','0',''),
('100847','47996','2','20','6h','0',''),
('100848','47997','1','12','$.Bytes_received','0',''),
('100849','47997','2','10','','0',''),
('100850','47998','1','12','$.Bytes_sent','0',''),
('100851','47998','2','10','','0',''),
('100852','47999','1','12','$.Com_delete','0',''),
('100853','47999','2','10','','0',''),
('100854','48000','1','12','$.Com_insert','0',''),
('100855','48000','2','10','','0',''),
('100856','48001','1','12','$.Com_select','0',''),
('100857','48001','2','10','','0',''),
('100858','48002','1','12','$.Com_update','0',''),
('100859','48002','2','10','','0',''),
('100860','48003','1','12','$.Connections','0',''),
('100861','48003','2','10','','0',''),
('100862','48004','1','12','$.Connection_errors_accept','0',''),
('100863','48004','2','10','','0',''),
('100864','48005','1','12','$.Connection_errors_internal','0',''),
('100865','48005','2','10','','0',''),
('100866','48006','1','12','$.Connection_errors_max_connections','0',''),
('100867','48006','2','10','','0',''),
('100868','48007','1','12','$.Connection_errors_peer_address','0',''),
('100869','48007','2','10','','0',''),
('100870','48008','1','12','$.Connection_errors_select','0',''),
('100871','48008','2','10','','0',''),
('100872','48009','1','12','$.Connection_errors_tcpwrap','0',''),
('100873','48009','2','10','','0',''),
('100874','48010','1','12','$.Created_tmp_disk_tables','0',''),
('100875','48010','2','10','','0',''),
('100876','48011','1','12','$.Created_tmp_files','0',''),
('100877','48011','2','10','','0',''),
('100878','48012','1','12','$.Created_tmp_tables','0',''),
('100879','48012','2','10','','0',''),
('100880','48013','1','12','$.Innodb_buffer_pool_pages_free','0',''),
('100881','48014','1','12','$.Innodb_buffer_pool_pages_total','0',''),
('100882','48014','2','20','1h','0',''),
('100883','48015','1','12','$.Innodb_buffer_pool_reads','0',''),
('100884','48016','1','12','$.Innodb_buffer_pool_reads','0',''),
('100885','48016','2','10','','0',''),
('100886','48017','1','12','$.Innodb_buffer_pool_read_requests','0',''),
('100887','48018','1','12','$.Innodb_buffer_pool_read_requests','0',''),
('100888','48018','2','10','','0',''),
('100889','48019','1','12','$.Innodb_buffer_pool_wait_free','0',''),
('100890','48019','2','20','6h','0',''),
('100891','48020','1','12','$.Innodb_num_open_files','0',''),
('100892','48020','2','20','6h','0',''),
('100893','48021','1','12','$.Innodb_os_log_written','0',''),
('100894','48021','2','20','6h','0',''),
('100895','48022','1','12','$.Innodb_row_lock_time','0',''),
('100896','48022','2','1','0.001','0',''),
('100897','48022','3','20','1h','0',''),
('100898','48023','1','12','$.Innodb_row_lock_time_max','0',''),
('100899','48023','2','1','0.001','0',''),
('100900','48023','3','20','1h','0',''),
('100901','48024','1','12','$.Innodb_row_lock_waits','0',''),
('100902','48025','1','12','$.Max_used_connections','0',''),
('100903','48025','2','20','1h','0',''),
('100904','48026','1','12','$.Open_tables','0',''),
('100905','48026','2','20','6h','0',''),
('100906','48027','1','12','$.Open_table_definitions','0',''),
('100907','48027','2','20','6h','0',''),
('100908','48028','1','12','$.Queries','0',''),
('100909','48028','2','10','','0',''),
('100910','48029','1','12','$.Questions','0',''),
('100911','48029','2','10','','0',''),
('100912','48030','1','12','$.Slow_queries','0',''),
('100913','48030','2','10','','0',''),
('100914','48031','1','12','$.Threads_cached','0',''),
('100915','48032','1','12','$.Threads_connected','0',''),
('100916','48033','1','12','$.Threads_created','0',''),
('100917','48033','2','10','','0',''),
('100918','48034','1','12','$.Threads_running','0',''),
('100919','48035','1','12','$.Uptime','0',''),
('100920','48036','1','20','1d','0',''),
('100921','48037','1','21','return JSON.stringify(value.search(''MariaDB'')>-1 ? [{''{#SINGLETON}'': ''''}] : []);','0',''),
('100922','48038','1','20','1d','0',''),
('100923','48039','1','20','1h','0',''),
('100924','48041','1','12','$.Binlog_commits','0',''),
('100925','48042','1','12','$.Binlog_group_commits','0',''),
('100926','48043','1','12','$.Master_gtid_wait_count','0',''),
('100927','48043','2','20','6h','0',''),
('100928','48044','1','12','$.Master_gtid_wait_timeouts','0',''),
('100929','48044','2','20','6h','0',''),
('100930','48045','1','12','$.Master_gtid_wait_time','0',''),
('100931','48045','2','20','6h','0',''),
('100932','48046','1','12','$.Seconds_Behind_Master','0',''),
('100933','48046','2','14',E'\\d+','3','Replication is not performed.'),
('100934','48046','3','20','1h','0',''),
('100935','48047','1','12','$.Slave_IO_Running','0',''),
('100936','48047','2','20','1h','0',''),
('100937','48048','1','12','$.Slave_SQL_Running','0',''),
('100938','48048','2','20','1h','0',''),
('100939','48049','1','12','$.Slave_SQL_Running_State','0',''),
('100940','48049','2','20','6h','0',''),
('100941','48053','1','20','6h','0',''),
('100942','48054','1','21','return value.indexOf(''is alive'') !== -1 ? 1 : 0;','0',''),
('100943','48054','2','20','10m','0',''),
('100944','48055','1','5',E'(Server version)\\s+(.+)
\\2','0',''),
('100945','48055','2','20','1d','0',''),
('100946','48056','1','11','/resultset/row[field/text()=''Aborted_clients'']/field[@name=''Value'']/text()','0',''),
('100947','48056','2','10','','0',''),
('100948','48057','1','11','/resultset/row[field/text()=''Aborted_connects'']/field[@name=''Value'']/text()','0',''),
('100949','48057','2','10','','0',''),
('100950','48058','1','11','/resultset/row[field/text()=''Binlog_cache_disk_use'']/field[@name=''Value'']/text()','0',''),
('100951','48058','2','20','6h','0',''),
('100952','48059','1','11','/resultset/row[field/text()=''Bytes_received'']/field[@name=''Value'']/text()','0',''),
('100953','48059','2','10','','0',''),
('100954','48060','1','11','/resultset/row[field/text()=''Bytes_sent'']/field[@name=''Value'']/text()','0',''),
('100955','48060','2','10','','0',''),
('100956','48061','1','11','/resultset/row[field/text()=''Com_delete'']/field[@name=''Value'']/text()','0',''),
('100957','48061','2','10','','0',''),
('100958','48062','1','11','/resultset/row[field/text()=''Com_insert'']/field[@name=''Value'']/text()','0',''),
('100959','48062','2','10','','0',''),
('100960','48063','1','11','/resultset/row[field/text()=''Com_select'']/field[@name=''Value'']/text()','0',''),
('100961','48063','2','10','','0',''),
('100962','48064','1','11','/resultset/row[field/text()=''Com_update'']/field[@name=''Value'']/text()','0',''),
('100963','48064','2','10','','0',''),
('100964','48065','1','11','/resultset/row[field/text()=''Connections'']/field[@name=''Value'']/text()','0',''),
('100965','48065','2','10','','0',''),
('100966','48066','1','11','/resultset/row[field/text()=''Connection_errors_accept'']/field[@name=''Value'']/text()','0',''),
('100967','48066','2','10','','0',''),
('100968','48067','1','11','/resultset/row[field/text()=''Connection_errors_internal'']/field[@name=''Value'']/text()','0',''),
('100969','48067','2','10','','0',''),
('100970','48068','1','11','/resultset/row[field/text()=''Connection_errors_max_connections'']/field[@name=''Value'']/text()','0',''),
('100971','48068','2','10','','0',''),
('100972','48069','1','11','/resultset/row[field/text()=''Connection_errors_peer_address'']/field[@name=''Value'']/text()','0',''),
('100973','48069','2','10','','0',''),
('100974','48070','1','11','/resultset/row[field/text()=''Connection_errors_select'']/field[@name=''Value'']/text()','0',''),
('100975','48070','2','10','','0',''),
('100976','48071','1','11','/resultset/row[field/text()=''Connection_errors_tcpwrap'']/field[@name=''Value'']/text()','0',''),
('100977','48071','2','10','','0',''),
('100978','48072','1','11','/resultset/row[field/text()=''Created_tmp_disk_tables'']/field[@name=''Value'']/text()','0',''),
('100979','48072','2','10','','0',''),
('100980','48073','1','11','/resultset/row[field/text()=''Created_tmp_files'']/field[@name=''Value'']/text()','0',''),
('100981','48073','2','10','','0',''),
('100982','48074','1','11','/resultset/row[field/text()=''Created_tmp_tables'']/field[@name=''Value'']/text()','0',''),
('100983','48074','2','10','','0',''),
('100984','48075','1','11','/resultset/row[field/text()=''Innodb_buffer_pool_pages_free'']/field[@name=''Value'']/text()','0',''),
('100985','48076','1','11','/resultset/row[field/text()=''Innodb_buffer_pool_pages_total'']/field[@name=''Value'']/text()','0',''),
('100986','48076','2','20','1h','0',''),
('100987','48077','1','11','/resultset/row[field/text()=''Innodb_buffer_pool_reads'']/field[@name=''Value'']/text()','0',''),
('100988','48078','1','11','/resultset/row[field/text()=''Innodb_buffer_pool_reads'']/field[@name=''Value'']/text()','0',''),
('100989','48078','2','10','','0',''),
('100990','48079','1','11','/resultset/row[field/text()=''Innodb_buffer_pool_read_requests'']/field[@name=''Value'']/text()','0',''),
('100991','48080','1','11','/resultset/row[field/text()=''Innodb_buffer_pool_read_requests'']/field[@name=''Value'']/text()','0',''),
('100992','48080','2','10','','0',''),
('100993','48081','1','11','/resultset/row[field/text()=''Innodb_buffer_pool_wait_free'']/field[@name=''Value'']/text()','0',''),
('100994','48081','2','20','6h','0',''),
('100995','48082','1','11','/resultset/row[field/text()=''Innodb_num_open_files'']/field[@name=''Value'']/text()','0',''),
('100996','48082','2','20','6h','0',''),
('100997','48083','1','11','/resultset/row[field/text()=''Innodb_os_log_written'']/field[@name=''Value'']/text()','0',''),
('100998','48084','1','11','/resultset/row[field/text()=''Innodb_row_lock_time'']/field[@name=''Value'']/text()','0',''),
('100999','48084','2','1','0.001','0',''),
('101000','48084','3','20','1h','0',''),
('101001','48085','1','11','/resultset/row[field/text()=''Innodb_row_lock_time_max'']/field[@name=''Value'']/text()','0',''),
('101002','48085','2','1','0.001','0',''),
('101003','48085','3','20','1h','0',''),
('101004','48086','1','11','/resultset/row[field/text()=''Innodb_row_lock_waits'']/field[@name=''Value'']/text()','0',''),
('101005','48087','1','11','/resultset/row[field/text()=''Max_used_connections'']/field[@name=''Value'']/text()','0',''),
('101006','48087','2','20','1h','0',''),
('101007','48088','1','11','/resultset/row[field/text()=''Open_tables'']/field[@name=''Value'']/text()','0',''),
('101008','48088','2','20','6h','0',''),
('101009','48089','1','11','/resultset/row[field/text()=''Open_table_definitions'']/field[@name=''Value'']/text()','0',''),
('101010','48089','2','20','6h','0',''),
('101011','48090','1','11','/resultset/row[field/text()=''Queries'']/field[@name=''Value'']/text()','0',''),
('101012','48090','2','10','','0',''),
('101013','48091','1','11','/resultset/row[field/text()=''Questions'']/field[@name=''Value'']/text()','0',''),
('101014','48091','2','10','','0',''),
('101015','48092','1','11','/resultset/row[field/text()=''Slow_queries'']/field[@name=''Value'']/text()','0',''),
('101016','48092','2','10','','0',''),
('101017','48093','1','11','/resultset/row[field/text()=''Threads_cached'']/field[@name=''Value'']/text()','0',''),
('101018','48094','1','11','/resultset/row[field/text()=''Threads_connected'']/field[@name=''Value'']/text()','0',''),
('101019','48095','1','11','/resultset/row[field/text()=''Threads_created'']/field[@name=''Value'']/text()','0',''),
('101020','48095','2','10','','0',''),
('101021','48096','1','11','/resultset/row[field/text()=''Threads_running'']/field[@name=''Value'']/text()','0',''),
('101022','48097','1','11','/resultset/row[field/text()=''Uptime'']/field[@name=''Value'']/text()','0',''),
('101023','48098','1','21',E'return JSON.stringify(value.split("\\n").map(function (name) {
	return ({"{#DBNAME}": name});
}));','0',''),
('101024','48098','2','20','1d','0',''),
('101025','48099','1','21','return JSON.stringify(value.search(''MariaDB'')>-1 ? [{''{#SINGLETON}'': ''''}] : []);','0',''),
('101026','48100','1','21','var matches = value.match(/Master_Host.*>(.*)<.*/);
if (matches) {
	return JSON.stringify([{"{#MASTER_HOST}": matches[1]}]);
}

return ''[]'';','0',''),
('101027','48100','2','20','1d','0',''),
('101028','48101','1','20','1h','0',''),
('101029','48103','1','11','/resultset/row[field/text()=''Binlog_commits'']/field[@name=''Value'']/text()','0',''),
('101030','48104','1','11','/resultset/row[field/text()=''Binlog_group_commits'']/field[@name=''Value'']/text()','0',''),
('101031','48105','1','11','/resultset/row[field/text()=''Master_gtid_wait_count'']/field[@name=''Value'']/text()','0',''),
('101032','48105','2','20','6h','0',''),
('101033','48106','1','11','/resultset/row[field/text()=''Master_gtid_wait_timeouts'']/field[@name=''Value'']/text()','0',''),
('101034','48106','2','20','6h','0',''),
('101035','48107','1','11','/resultset/row[field/text()=''Master_gtid_wait_time'']/field[@name=''Value'']/text()','0',''),
('101036','48107','2','20','6h','0',''),
('101037','48108','1','11','/resultset/row/field[@name=''Seconds_Behind_Master'']/text()','0',''),
('101038','48108','2','20','1h','0',''),
('101039','48108','3','15','null','3','Replication is not performed.'),
('101040','48109','1','11','/resultset/row/field[@name=''Slave_IO_Running'']/text()','0',''),
('101041','48109','2','20','1h','0',''),
('101042','48110','1','11','/resultset/row/field[@name=''Slave_SQL_Running'']/text()','0',''),
('101043','48110','2','20','1h','0',''),
('101044','48111','1','11','/resultset/row[field/text()=''Slave_SQL_Running_State'']/field[@name=''Value'']/text()','0',''),
('101045','48111','2','20','6h','0',''),
('101046','48122','1','20','1h','0',''),
('101047','48131','1','20','1d','0',''),
('101048','48133','1','12','$.archived_count','0',''),
('101049','48134','1','12','$.count_files','0',''),
('101050','48135','1','12','$.failed_count','0',''),
('101051','48136','1','12','$.size_files','0',''),
('101052','48137','1','12','$.buffers_alloc','0',''),
('101053','48137','2','10','','0',''),
('101054','48138','1','12','$.buffers_backend','0',''),
('101055','48138','2','10','','0',''),
('101056','48139','1','12','$.buffers_backend_fsync','0',''),
('101057','48139','2','10','','0',''),
('101058','48140','1','12','$.buffers_checkpoint','0',''),
('101059','48140','2','10','','0',''),
('101060','48141','1','12','$.buffers_clean','0',''),
('101061','48141','2','10','','0',''),
('101062','48142','1','12','$.checkpoints_req','0',''),
('101063','48142','2','10','','0',''),
('101064','48143','1','12','$.checkpoints_timed','0',''),
('101065','48143','2','10','','0',''),
('101066','48144','1','12','$.checkpoint_sync_time','0',''),
('101067','48144','2','1','0.001','0',''),
('101068','48144','3','10','','0',''),
('101069','48145','1','12','$.checkpoint_write_time','0',''),
('101070','48145','2','1','0.001','0',''),
('101071','48145','3','10','','0',''),
('101072','48146','1','12','$.maxwritten_clean','0',''),
('101073','48146','2','10','','0',''),
('101074','48147','1','12','$.active','0',''),
('101075','48148','1','12','$.disabled','0',''),
('101076','48149','1','12','$.fastpath_function_call','0',''),
('101077','48150','1','12','$.idle','0',''),
('101078','48151','1','12','$.idle_in_transaction','0',''),
('101079','48152','1','12','$.idle_in_transaction_aborted','0',''),
('101080','48153','1','12','$.prepared','0',''),
('101081','48154','1','12','$.total','0',''),
('101082','48155','1','12','$.total_pct','0',''),
('101083','48156','1','12','$.waiting','0',''),
('101084','48157','1','12','$.blks_hit','0',''),
('101085','48157','2','10','','0',''),
('101086','48158','1','12','$.blks_read','0',''),
('101087','48158','2','10','','0',''),
('101088','48159','1','12','$.blk_read_time','0',''),
('101089','48159','2','1','0.001','0',''),
('101090','48160','1','12','$.blk_write_time','0',''),
('101091','48160','2','1','0.001','0',''),
('101092','48161','1','12','$.checksum_failures','0',''),
('101093','48161','2','14',E'^\\d*$','2','-2'),
('101094','48161','3','10','','2','-1'),
('101095','48162','1','12','$.conflicts','0',''),
('101096','48162','2','10','','0',''),
('101097','48163','1','12','$.deadlocks','0',''),
('101098','48163','2','10','','0',''),
('101099','48164','1','12','$.numbackends','0',''),
('101100','48165','1','12','$.temp_bytes','0',''),
('101101','48165','2','10','','0',''),
('101102','48166','1','12','$.temp_files','0',''),
('101103','48166','2','10','','0',''),
('101104','48167','1','12','$.tup_deleted','0',''),
('101105','48167','2','10','','0',''),
('101106','48168','1','12','$.tup_fetched','0',''),
('101107','48168','2','10','','0',''),
('101108','48169','1','12','$.tup_inserted','0',''),
('101109','48169','2','10','','0',''),
('101110','48170','1','12','$.tup_returned','0',''),
('101111','48170','2','10','','0',''),
('101112','48171','1','12','$.tup_updated','0',''),
('101113','48171','2','10','','0',''),
('101114','48172','1','12','$.xact_commit','0',''),
('101115','48172','2','10','','0',''),
('101116','48173','1','12','$.xact_rollback','0',''),
('101117','48173','2','10','','0',''),
('101118','48174','1','12','$.count','0',''),
('101119','48175','1','12','$.receive','0',''),
('101120','48175','2','10','','0',''),
('101121','48176','1','12','$.write','0',''),
('101122','48176','2','10','','0',''),
('101123','48182','1','12','$[''{#DBNAME}'']','1',''),
('101124','48183','1','12','$[''{#DBNAME}'']','1',''),
('101125','48184','1','12','$[''{#DBNAME}'']','1',''),
('101126','48185','1','12','$[''{#APPLICATION_NAME}'']','1',''),
('101127','48186','1','12','$.blks_hit','0',''),
('101128','48186','2','10','','0',''),
('101129','48187','1','12','$.blks_read','0',''),
('101130','48187','2','10','','0',''),
('101131','48188','1','12','$.blk_read_time','0',''),
('101132','48188','2','1','0.001','0',''),
('101133','48188','3','10','','0',''),
('101134','48189','1','12','$.blk_write_time','0',''),
('101135','48189','2','1','0.001','0',''),
('101136','48189','3','10','','0',''),
('101137','48190','1','12','$.checksum_failures','0',''),
('101138','48190','2','14',E'^\\d*$','2','-2'),
('101139','48190','3','10','','2','-1'),
('101140','48191','1','12','$.conflicts','0',''),
('101141','48191','2','10','','0',''),
('101142','48192','1','12','$.deadlocks','0',''),
('101143','48192','2','10','','0',''),
('101144','48193','1','12','$.numbackends','0',''),
('101145','48194','1','12','$.temp_bytes','0',''),
('101146','48194','2','10','','0',''),
('101147','48195','1','12','$.temp_files','0',''),
('101148','48195','2','10','','0',''),
('101149','48196','1','12','$.tup_deleted','0',''),
('101150','48196','2','10','','0',''),
('101151','48197','1','12','$.tup_fetched','0',''),
('101152','48197','2','10','','0',''),
('101153','48198','1','12','$.tup_inserted','0',''),
('101154','48198','2','10','','0',''),
('101155','48199','1','12','$.tup_returned','0',''),
('101156','48199','2','10','','0',''),
('101157','48200','1','12','$.tup_updated','0',''),
('101158','48200','2','10','','0',''),
('101159','48201','1','12','$.xact_commit','0',''),
('101160','48201','2','10','','0',''),
('101161','48202','1','12','$.xact_rollback','0',''),
('101162','48202','2','10','','0',''),
('101163','48203','1','12','$.accessexclusive','0',''),
('101164','48204','1','12','$.accessshare','0',''),
('101165','48205','1','12','$.exclusive','0',''),
('101166','48206','1','12','$.rowexclusive','0',''),
('101167','48207','1','12','$.rowshare','1',''),
('101168','48208','1','12','$.sharerowexclusive','0',''),
('101169','48209','1','12','$.shareupdateexclusive','0',''),
('101170','48210','1','12','$.share','0',''),
('101171','48211','1','12','$.total','0',''),
('101172','48212','1','12','$.mro_slow_count','0',''),
('101173','48213','1','12','$.mro_time_max','0',''),
('101174','48214','1','12','$.mro_time_sum','0',''),
('101175','48215','1','12','$.query_slow_count','0',''),
('101176','48216','1','12','$.query_time_max','0',''),
('101177','48217','1','12','$.query_time_sum','0',''),
('101178','48218','1','12','$.tx_slow_count','0',''),
('101179','48219','1','12','$.tx_time_max','0',''),
('101180','48220','1','12','$.tx_time_sum','0',''),
('101181','48221','1','12','$.flush_lag','0',''),
('101182','48222','1','12','$.replay_lag','0',''),
('101183','48223','1','12','$.write_lag','0',''),
('101184','48226','1','20','1h','0',''),
('101185','48230','1','5',E'Time:\\s+(\\d+\\.\\d+)\\s+ms
\\1','0',''),
('101186','48230','2','1','0.001','0',''),
('101187','48231','1','21','return value.search(/accepting connections/)>0 ? 1 : 0','0',''),
('101188','48231','2','20','1h','0',''),
('101189','48239','1','20','1d','0',''),
('101190','48241','1','12','$.buffers_alloc','0',''),
('101191','48241','2','10','','0',''),
('101192','48242','1','12','$.buffers_backend','0',''),
('101193','48242','2','10','','0',''),
('101194','48243','1','12','$.buffers_backend_fsync','0',''),
('101195','48243','2','10','','0',''),
('101196','48244','1','12','$.buffers_checkpoint','0',''),
('101197','48244','2','10','','0',''),
('101198','48245','1','12','$.buffers_clean','0',''),
('101199','48245','2','10','','0',''),
('101200','48246','1','12','$.checkpoints_req','0',''),
('101201','48246','2','10','','0',''),
('101202','48247','1','12','$.checkpoints_timed','0',''),
('101203','48247','2','10','','0',''),
('101204','48248','1','12','$.checkpoint_sync_time','0',''),
('101205','48248','2','1','0.001','0',''),
('101206','48248','3','10','','0',''),
('101207','48249','1','12','$.checkpoint_write_time','0',''),
('101208','48249','2','1','0.001','0',''),
('101209','48249','3','10','','0',''),
('101210','48250','1','12','$.maxwritten_clean','0',''),
('101211','48250','2','10','','0',''),
('101212','48251','1','12','$.active','0',''),
('101213','48252','1','12','$.idle','0',''),
('101214','48253','1','12','$.idle_in_transaction','0',''),
('101215','48254','1','12','$.prepared','0',''),
('101216','48255','1','12','$.total','0',''),
('101217','48256','1','12','$.total_pct','0',''),
('101218','48257','1','12','$.waiting','0',''),
('101219','48258','1','12','$.active','0',''),
('101220','48259','1','12','$.idle','0',''),
('101221','48260','1','12','$.prepared','0',''),
('101222','48261','1','12','$.waiting','0',''),
('101223','48262','1','12','$.count','0',''),
('101224','48263','1','12','$.write','0',''),
('101225','48263','2','10','','0',''),
('101226','48268','1','12','$[''{#DBNAME}'']','1',''),
('101227','48269','1','12','$.prc_before_av','0',''),
('101228','48270','1','12','$.prc_before_stop','0',''),
('101229','48271','1','12','$[''{#DBNAME}''].total','0',''),
('101230','48272','1','12','$[''{#DBNAME}'']','1',''),
('101231','48273','1','12','$.idx','0',''),
('101232','48273','2','10','','0',''),
('101233','48274','1','12','$.seq','0',''),
('101234','48274','2','10','','0',''),
('101235','48275','1','12','$.blks_hit','0',''),
('101236','48275','2','10','','0',''),
('101237','48276','1','12','$.blks_read','0',''),
('101238','48276','2','10','','0',''),
('101239','48277','1','12','$.conflicts','0',''),
('101240','48277','2','10','','0',''),
('101241','48278','1','12','$.deadlocks','0',''),
('101242','48278','2','10','','0',''),
('101243','48279','1','12','$.temp_bytes','0',''),
('101244','48279','2','10','','0',''),
('101245','48280','1','12','$.temp_files','0',''),
('101246','48280','2','10','','0',''),
('101247','48281','1','12','$.tup_deleted','0',''),
('101248','48281','2','10','','0',''),
('101249','48282','1','12','$.tup_fetched','0',''),
('101250','48282','2','10','','0',''),
('101251','48283','1','12','$.tup_inserted','0',''),
('101252','48283','2','10','','0',''),
('101253','48284','1','12','$.tup_returned','0',''),
('101254','48284','2','10','','0',''),
('101255','48285','1','12','$.tup_updated','0',''),
('101256','48285','2','10','','0',''),
('101257','48286','1','12','$.xact_commit','0',''),
('101258','48286','2','10','','0',''),
('101259','48287','1','12','$.xact_rollback','0',''),
('101260','48287','2','10','','0',''),
('101261','48288','1','12','$.mro_slow_count','0',''),
('101262','48289','1','12','$.mro_time_max','0',''),
('101263','48290','1','12','$.mro_time_sum','0',''),
('101264','48291','1','12','$.query_slow_count','0',''),
('101265','48292','1','12','$.query_time_max','0',''),
('101266','48293','1','12','$.query_time_sum','0',''),
('101267','48294','1','12','$.tx_slow_count','0',''),
('101268','48295','1','12','$.tx_time_max','0',''),
('101269','48296','1','12','$.tx_time_sum','0',''),
('101270','48298','1','20','1d','0',''),
('101271','48300','1','20','1d','0',''),
('101272','48301','1','20','1d','0',''),
('101273','48302','1','20','1d','0',''),
('101274','48306','1','1','0.001','0',''),
('101275','48307','1','26','0
The requested operation is not available on target device','3','No ECC on the device or ECC mode is turned off.'),
('101276','48308','1','26','0
The requested operation is not available on target device','3','No ECC on the device or ECC mode is turned off.'),
('101277','48310','1','1','1000000','0',''),
('101278','48313','1','1','1000000','0',''),
('101279','48316','1','1','0.001','0',''),
('101280','48317','1','1','0.001','0',''),
('101281','48318','1','26','0
The requested operation is not available on target device','3','The device does not support operation to retrieve serial number.'),
('101282','48319','1','1','1000000','0',''),
('101283','48322','1','1','1000000','0',''),
('101284','48323','1','12','$.average_fps','0',''),
('101285','48324','1','12','$.average_latency_ms','0',''),
('101286','48324','2','1','0.001','0',''),
('101287','48325','1','12','$.session_count','0',''),
('101288','48326','1','12','$.corrected','0',''),
('101289','48327','1','12','$.uncorrected','0',''),
('101290','48328','1','12','$.corrected','0',''),
('101291','48329','1','12','$.uncorrected','0',''),
('101292','48330','1','12','$.free_memory_bytes','0',''),
('101293','48331','1','12','$.total_memory_bytes','0',''),
('101294','48332','1','12','$.used_memory_bytes','0',''),
('101295','48333','1','12','$.free_memory_bytes','0',''),
('101296','48334','1','12','$.reserved_memory_bytes','3','NVML library too old to support this metric.'),
('101297','48335','1','12','$.total_memory_bytes','0',''),
('101298','48336','1','12','$.used_memory_bytes','0',''),
('101299','48337','1','12','$.rx_rate_kb_s','0',''),
('101300','48337','2','1','1024','0',''),
('101301','48338','1','12','$.tx_rate_kb_s','0',''),
('101302','48338','2','1','1024','0',''),
('101303','48339','1','12','$.device','0',''),
('101304','48340','1','12','$.memory','0',''),
('101305','48341','1','20','1d','0',''),
('101306','48343','1','20','1d','0',''),
('101307','48344','1','20','1d','0',''),
('101308','48345','1','20','1d','0',''),
('101309','48349','1','1','0.001','0',''),
('101310','48350','1','26','0
The requested operation is not available on target device','3','No ECC on the device or ECC mode is turned off.'),
('101311','48351','1','26','0
The requested operation is not available on target device','3','No ECC on the device or ECC mode is turned off.'),
('101312','48353','1','1','1000000','0',''),
('101313','48356','1','1','1000000','0',''),
('101314','48359','1','1','0.001','0',''),
('101315','48360','1','1','0.001','0',''),
('101316','48361','1','26','0
The requested operation is not available on target device','3','The device does not support operation to retrieve serial number.'),
('101317','48362','1','1','1000000','0',''),
('101318','48365','1','1','1000000','0',''),
('101319','48366','1','12','$.average_fps','0',''),
('101320','48367','1','12','$.average_latency_ms','0',''),
('101321','48367','2','1','0.001','0',''),
('101322','48368','1','12','$.session_count','0',''),
('101323','48369','1','12','$.corrected','0',''),
('101324','48370','1','12','$.uncorrected','0',''),
('101325','48371','1','12','$.corrected','0',''),
('101326','48372','1','12','$.uncorrected','0',''),
('101327','48373','1','12','$.free_memory_bytes','0',''),
('101328','48374','1','12','$.total_memory_bytes','0',''),
('101329','48375','1','12','$.used_memory_bytes','0',''),
('101330','48376','1','12','$.free_memory_bytes','0',''),
('101331','48377','1','12','$.reserved_memory_bytes','3','NVML library too old to support this metric.'),
('101332','48378','1','12','$.total_memory_bytes','0',''),
('101333','48379','1','12','$.used_memory_bytes','0',''),
('101334','48380','1','12','$.rx_rate_kb_s','0',''),
('101335','48380','2','1','1024','0',''),
('101336','48381','1','12','$.tx_rate_kb_s','0',''),
('101337','48381','2','1','1024','0',''),
('101338','48382','1','12','$.device','0',''),
('101339','48383','1','12','$.memory','0',''),
('101340','48396','1','20','12h','0',''),
('101341','48397','1','20','12h','0',''),
('101342','48398','1','20','1d','0',''),
('101343','48399','1','20','1d','0',''),
('101344','48400','1','26','-1','2','0'),
('101345','48400','2','1','0.01','0',''),
('101346','48401','1','20','12h','0',''),
('101347','48402','1','20','12h','0',''),
('101348','48403','1','1','0.01','0',''),
('101349','48404','1','20','12h','0',''),
('101350','48405','1','5',E'kernel (JUNOS [0-9a-zA-Z\\.\\-]+)
\\1','0',''),
('101351','48405','2','20','1d','0',''),
('101352','48408','1','29','{#BGPM2_PEER_INDEX}
1.3.6.1.4.1.2636.5.1.1.2.1.1.1.14
0
{#BGPM2_PEER_REMOTE_ADDR}
1.3.6.1.4.1.2636.5.1.1.2.1.1.1.11
0
{#BGPM2_PEER_REMOTE_AS}
1.3.6.1.4.1.2636.5.1.1.2.1.1.1.13
0','3','BGP instance is not running'),
('101353','48408','2','21','var bgp = JSON.parse(value);

bgp.forEach(function (item, index, array) {
	var ip = item["{#BGPM2_PEER_REMOTE_ADDR}"];
	var parts = ip.trim().split('' '');

	if (parts.length === 4) {
		for (var i = 0; i < parts.length; ++i) {
			parts[i] = parseInt(parts[i], 16);
		}
		ip = parts.join(''.'');
	}
	else if (parts.length == 16) {
		var ipSegments = [];
		for (var i = 0; i < parts.length; i += 4) {
			var ipv6 = parts.slice(i, i + 4).join('''');
			ipv6 = parseInt(ipv6, 16).toString(16);
			ipSegments.push(ipv6 || ''0'');
		}
		ip = ipSegments.join('':'').toLowerCase();

		var maxZeros = 0, currZeros = 0, startIdx = -1, maxStartIdx = -1;
		for (i = 0; i < ipSegments.length; i++) {
			if (ipSegments[i] === ''0'') {
				if (currZeros === 0) startIdx = i;
				currZeros++;
			} else {
				if (currZeros > maxZeros) {
					maxZeros = currZeros;
					maxStartIdx = startIdx;
				}
				currZeros = 0;
			}
		}
		if (currZeros > maxZeros) {
			maxZeros = currZeros;
			maxStartIdx = startIdx;
		}
		if (maxZeros > 1) {
			ipSegments.splice(maxStartIdx, maxZeros, '''');
			ip = ipSegments.join('':'').replace(/(^:|:$)/, '''');
		}
	}

	array[index]["{#BGPM2_PEER_REMOTE_ADDR}"] = ip;
});

return JSON.stringify(bgp);','0',''),
('101354','48408','3','20','1h','0',''),
('101355','48409','1','29','{#BGPM2_PREFIX_AFI}
1.3.6.1.4.1.2636.5.1.1.2.6.2.1.1
0
{#BGPM2_PREFIX_SAFI}
1.3.6.1.4.1.2636.5.1.1.2.6.2.1.2
0','3','BGP instance is not running'),
('101356','48409','2','21','var inArray = JSON.parse(value);
var afiSafiMap = {
	''1.1'': ''IPv4 unicast'',
	''1.2'': ''IPv4 multicast'',
	''2.1'': ''IPv6 unicast'',
	''2.2'': ''IPv6 multicast'',
	''25.65'': ''BGP-VPLS/BGP-L2VPN'',
	''1.128'': ''L3VPN IPv4 unicast'',
	''1.129'': ''L3VPN IPv4 multicast'',
	''2.128'': ''L3VPN IPv6 unicast'',
	''2.129'': ''L3VPN IPv6 multicast'',
	''1.132'': ''RT-Constrain'',
	''1.133'': ''Flow-spec'',
	''1.134'': ''Flow-spec'',
	''3.128'': ''CLNS VPN'',
	''1.5'': ''NG-MVPN IPv4'',
	''2.5'': ''NG-MVPN IPv6'',
	''1.66'': ''MDT-SAFI'',
	''1.4'': ''labeled IPv4'',
	''2.4'': ''labeled IPv6 (6PE)''
};

var outArr = [];
inArray.forEach(function (item) {
	item[''{#BGPM2_AFI_SAFI}''] = afiSafiMap[item[''{#SNMPINDEX}''].slice(2)] === undefined ? "" : afiSafiMap[item[''{#SNMPINDEX}''].slice(2)];
	outArr.push(item)
});
return JSON.stringify(outArr);','0',''),
('101357','48409','3','20','1h','0',''),
('101358','48410','1','29','{#SNMPVALUE}
1.3.6.1.4.1.2636.3.1.13.1.5
0','1',''),
('101359','48410','2','20','1h','0',''),
('101360','48411','1','29','{#MODULELANECOUNT}
1.3.6.1.4.1.2636.3.60.1.1.1.1.30
0
{#LASERTEMP}
1.3.6.1.4.1.2636.3.60.1.2.1.1.9
0
{#RXLASER}
1.3.6.1.4.1.2636.3.60.1.2.1.1.6
0
{#IFOPERSTATUS}
1.3.6.1.2.1.2.2.1.8
0
{#IFADMINSTATUS}
1.3.6.1.2.1.2.2.1.7
0
{#IFALIAS}
1.3.6.1.2.1.31.1.1.1.18
0
{#IFNAME}
1.3.6.1.2.1.31.1.1.1.1
0
{#IFDESCR}
1.3.6.1.2.1.2.2.1.2
0
{#IFTYPE}
1.3.6.1.2.1.2.2.1.3
0
{#LANEINDEX}
1.3.6.1.4.1.2636.3.60.1.2.1.1.1
0','1',''),
('101361','48411','2','21','var inputArray = JSON.parse(value);

var transformedArray = inputArray.reduce(function (acc, item) {
	var snmpIndex = item["{#SNMPINDEX}"];
	var mainIndex = snmpIndex.split(''.'')[0];

	if (item["{#LANEINDEX}"] !== undefined) {
		var portData = null;

		for (var i = 0; i < inputArray.length; i++) {
			if (inputArray[i]["{#SNMPINDEX}"] === mainIndex) {
				portData = inputArray[i];
				break;
			}
		}

		if (portData) {
			acc.push(Object.assign(
				{},
				item,
				{ "{#PORTINDEX}": mainIndex },
				portData
			));
		}
	}
	return acc;
}, []);

return JSON.stringify(transformedArray);','0',''),
('101362','48411','3','20','1h','0',''),
('101363','48412','1','29','{#SNMPVALUE}
1.3.6.1.4.1.2636.3.1.13.1.5.4
0','1',''),
('101364','48412','2','20','1h','0',''),
('101365','48413','1','29','{#IFOPERSTATUS}
1.3.6.1.2.1.2.2.1.8
0
{#IFADMINSTATUS}
1.3.6.1.2.1.2.2.1.7
0
{#IFALIAS}
1.3.6.1.2.1.31.1.1.1.18
0
{#IFNAME}
1.3.6.1.2.1.31.1.1.1.1
0
{#IFDESCR}
1.3.6.1.2.1.2.2.1.2
0
{#IFTYPE}
1.3.6.1.2.1.2.2.1.3
0','0',''),
('101366','48413','2','20','1h','0',''),
('101367','48414','1','29','{#SNMPVALUE}
1.3.6.1.2.1.10.7.2.1.19
0
{#IFOPERSTATUS}
1.3.6.1.2.1.2.2.1.8
0
{#IFALIAS}
1.3.6.1.2.1.31.1.1.1.18
0
{#IFNAME}
1.3.6.1.2.1.31.1.1.1.1
0
{#IFDESCR}
1.3.6.1.2.1.2.2.1.2
0','0',''),
('101368','48414','2','20','1h','0',''),
('101369','48415','1','29','{#OSPF_IP_ADDR}
1.3.6.1.2.1.14.10.1.1
0','3','OSPF instance is not running'),
('101370','48415','2','20','1h','0',''),
('101371','48416','1','29','{#OSPFV3_IP_ADDR}
1.3.6.1.4.1.2636.5.4.1.1.9.1.5
0','3','OSPF instance is not running'),
('101372','48416','2','21','var ospf = JSON.parse(value);

ospf.forEach(function (item, index, array) {
	var ip = item["{#OSPFV3_IP_ADDR}"];
	var parts = ip.trim().split('' '');

	if (parts.length === 4) {
		for (var i = 0; i < parts.length; ++i) {
			parts[i] = parseInt(parts[i], 16);
		}
		ip = parts.join(''.'');
	}
	else if (parts.length == 16) {
		var ipSegments = [];
		for (var i = 0; i < parts.length; i += 4) {
			var ipv6 = parts.slice(i, i + 4).join('''');
			ipv6 = parseInt(ipv6, 16).toString(16);
			ipSegments.push(ipv6 || ''0'');
		}
		ip = ipSegments.join('':'').toLowerCase();

		var maxZeros = 0, currZeros = 0, startIdx = -1, maxStartIdx = -1;
		for (i = 0; i < ipSegments.length; i++) {
			if (ipSegments[i] === ''0'') {
				if (currZeros === 0) startIdx = i;
				currZeros++;
			} else {
				if (currZeros > maxZeros) {
					maxZeros = currZeros;
					maxStartIdx = startIdx;
				}
				currZeros = 0;
			}
		}
		if (currZeros > maxZeros) {
			maxZeros = currZeros;
			maxStartIdx = startIdx;
		}
		if (maxZeros > 1) {
			ipSegments.splice(maxStartIdx, maxZeros, '''');
			ip = ipSegments.join('':'').replace(/(^:|:$)/, '''');
		}
	}

	array[index]["{#OSPFV3_IP_ADDR}"] = ip;
});

return JSON.stringify(ospf);','0',''),
('101373','48416','3','20','1h','0',''),
('101374','48417','1','29','{#SNMPVALUE}
1.3.6.1.4.1.2636.3.1.13.1.5.2
0','1',''),
('101375','48417','2','20','1h','0',''),
('101376','48418','1','29','{#SNMPVALUE}
1.3.6.1.4.1.2636.3.1.14.1.5
0
{#CHASSISDESCR}
1.3.6.1.4.1.2636.3.1.14.1.16
0','1',''),
('101377','48418','2','20','1h','0',''),
('101378','48419','1','29','{#SNMPVALUE}
1.3.6.1.4.1.2636.3.1.13.1.7
0
{#SENSOR_INFO}
1.3.6.1.4.1.2636.3.1.13.1.5
0','1',''),
('101379','48419','2','20','1h','0',''),
('101380','48420','1','28','1.3.6.1.4.1.2636.5.1.1.2.4.1.1.1.{#SNMPINDEX}
0','0',''),
('101381','48421','1','28','1.3.6.1.4.1.2636.5.1.1.2.1.1.1.2.{#SNMPINDEX}
0','0',''),
('101382','48422','1','28','1.3.6.1.4.1.2636.5.1.1.2.1.1.1.3.{#SNMPINDEX}
0','0',''),
('101383','48423','1','28','1.3.6.1.4.1.2636.5.1.1.2.6.2.1.8.{#SNMPINDEX}
0','0',''),
('101384','48424','1','28','1.3.6.1.4.1.2636.5.1.1.2.6.2.1.11.{#SNMPINDEX}
0','0',''),
('101385','48425','1','28','1.3.6.1.4.1.2636.5.1.1.2.6.2.1.10.{#SNMPINDEX}
0','0',''),
('101386','48426','1','28','1.3.6.1.4.1.2636.5.1.1.2.6.2.1.7.{#SNMPINDEX}
0','0',''),
('101387','48427','1','28','1.3.6.1.4.1.2636.5.1.1.2.6.2.1.9.{#SNMPINDEX}
0','0',''),
('101388','48428','1','28','1.3.6.1.4.1.2636.3.1.13.1.8.{#SNMPINDEX}
0','0',''),
('101389','48428','2','20','3m','0',''),
('101390','48429','1','28','1.3.6.1.4.1.2636.3.1.13.1.11.{#SNMPINDEX}
0','0',''),
('101391','48429','2','20','3m','0',''),
('101392','48430','1','28','1.3.6.1.4.1.2636.3.60.1.2.1.1.2.{#PORTINDEX}.{#LANEINDEX}
0','0',''),
('101393','48430','2','21','function parseBits(bitString) {
	var bitsArray = bitString.split('' '');
	var bits = '''';
	for (var i = 0; i < bitsArray.length; i++) {
		var binaryString = parseInt(bitsArray[i], 16).toString(2);

		while (binaryString.length < 8) {
			binaryString = ''0'' + binaryString;
		}

		bits += binaryString;
	}

	var bitFlags = {
		domLaneRxLaserPowerHighAlarm: 0,
		domLaneRxLaserPowerLowAlarm: 1,
		domLaneTxLaserBiasCurrentHighAlarm: 2,
		domLaneTxLaserBiasCurrentLowAlarm: 3,
		domLaneTxLaserOutputPowerHighAlarm: 4,
		domLaneTxLaserOutputPowerLowAlarm: 5,
		domLaneLaserTemperatureHighAlarm: 6,
		domLaneLaserTemperatureLowAlarm: 7
	};

	var result = {};

	for (var flag in bitFlags) {
		if (bitFlags.hasOwnProperty(flag)) {
			var index = bitFlags[flag];
			result[flag] = bits[index] === ''1'';
		}
	}

	return result;
}

return JSON.stringify(parseBits(value));','0',''),
('101394','48431','1','28','1.3.6.1.4.1.2636.3.60.1.2.1.1.6.{#PORTINDEX}.{#LANEINDEX}
0','0',''),
('101395','48431','2','1','0.01','0',''),
('101396','48432','1','28','1.3.6.1.4.1.2636.3.60.1.2.1.1.8.{#PORTINDEX}.{#LANEINDEX}
0','0',''),
('101397','48432','2','1','0.01','0',''),
('101398','48433','1','28','1.3.6.1.4.1.2636.3.1.13.1.6.4.{#SNMPINDEX}
0','0',''),
('101399','48433','2','20','3m','0',''),
('101400','48434','1','28','1.3.6.1.2.1.2.2.1.13.{#SNMPINDEX}
0','0',''),
('101401','48434','2','10','','0',''),
('101402','48434','3','20','3m','0',''),
('101403','48435','1','28','1.3.6.1.2.1.2.2.1.14.{#SNMPINDEX}
0','0',''),
('101404','48435','2','10','','0',''),
('101405','48435','3','20','3m','0',''),
('101406','48436','1','28','1.3.6.1.2.1.31.1.1.1.6.{#SNMPINDEX}
0','0',''),
('101407','48436','2','10','','0',''),
('101408','48436','3','1','8','0',''),
('101409','48437','1','28','1.3.6.1.2.1.2.2.1.19.{#SNMPINDEX}
0','0',''),
('101410','48437','2','10','','0',''),
('101411','48437','3','20','3m','0',''),
('101412','48438','1','28','1.3.6.1.2.1.2.2.1.20.{#SNMPINDEX}
0','0',''),
('101413','48438','2','10','','0',''),
('101414','48438','3','20','3m','0',''),
('101415','48439','1','28','1.3.6.1.2.1.31.1.1.1.10.{#SNMPINDEX}
0','0',''),
('101416','48439','2','10','','0',''),
('101417','48439','3','1','8','0',''),
('101418','48440','1','28','1.3.6.1.2.1.31.1.1.1.15.{#SNMPINDEX}
0','0',''),
('101419','48440','2','1','1000000','0',''),
('101420','48440','3','20','1h','0',''),
('101421','48441','1','28','1.3.6.1.2.1.2.2.1.8.{#SNMPINDEX}
0','0',''),
('101422','48442','1','28','1.3.6.1.2.1.2.2.1.3.{#SNMPINDEX}
0','0',''),
('101423','48442','2','20','1d','0',''),
('101424','48443','1','28','1.3.6.1.2.1.10.7.2.1.19.{#SNMPINDEX}
0','0',''),
('101425','48444','1','28','1.3.6.1.2.1.14.10.1.7.{#SNMPINDEX}
0','0',''),
('101426','48445','1','28','1.3.6.1.2.1.14.10.1.11.{#SNMPINDEX}
0','0',''),
('101427','48446','1','28','1.3.6.1.2.1.14.10.1.3.{#SNMPINDEX}
0','0',''),
('101428','48447','1','28','1.3.6.1.2.1.14.10.1.6.{#SNMPINDEX}
0','0',''),
('101429','48448','1','28','1.3.6.1.4.1.2636.5.4.1.1.9.1.9.{#SNMPINDEX}
0','0',''),
('101430','48449','1','28','1.3.6.1.4.1.2636.5.4.1.1.9.1.11.{#SNMPINDEX}
0','0',''),
('101431','48450','1','28','1.3.6.1.4.1.2636.5.4.1.1.9.1.7.{#SNMPINDEX}
0','0',''),
('101432','48451','1','28','1.3.6.1.4.1.2636.5.4.1.1.9.1.8.{#SNMPINDEX}
0','0',''),
('101433','48452','1','28','1.3.6.1.4.1.2636.3.1.13.1.6.2.{#SNMPINDEX}
0','0',''),
('101434','48452','2','20','3m','0',''),
('101435','48453','1','28','1.3.6.1.4.1.2636.3.1.14.1.7.{#SNMPINDEX}
0','0',''),
('101436','48453','2','20','3m','0',''),
('101437','48454','1','28','1.3.6.1.4.1.2636.3.1.14.1.10.{#SNMPINDEX}
0','0',''),
('101438','48454','2','20','3m','0',''),
('101439','48455','1','28','1.3.6.1.4.1.2636.3.1.13.1.7.{#SNMPINDEX}
0','0',''),
('101440','48455','2','20','3m','0','');
INSERT INTO sysmap_shape (sysmap_shapeid,sysmapid,type,x,y,width,height,text,font,font_size,font_color,text_halign,text_valign,border_type,border_width,border_color,background_color,zindex) VALUES ('1','1','0','0','0','680','15','{MAP.NAME}','9','11','000000','0','0','0','0','000000','','0');
INSERT INTO lld_macro_path (lld_macro_pathid,itemid,lld_macro,path) VALUES ('1','29429','{#IFNAME}','$.labels.device'),
('2','29429','{#HELP}','$.help'),
('3','29429','{#IFALIAS}','$.labels.ifalias'),
('4','29429','{#IFOPERSTATUS}','$.labels.operstate'),
('5','29430','{#FSTYPE}','$.fstype'),
('6','29430','{#FSNAME}','$.mountpoint'),
('7','29430','{#FSDEVICE}','$.device'),
('9','29431','{#DEVNAME}','$.labels.device'),
('10','29431','{#HELP}','$.help'),
('38','29703','{#QUEUE}','$.name'),
('39','29703','{#VHOST}','$.vhost'),
('40','29703','{#NODE}','$.node'),
('41','29785','{#EXCHANGE}','$.name'),
('42','29785','{#TYPE}','$.type'),
('43','29785','{#VHOST}','$.vhost'),
('44','29786','{#QUEUE}','$.name'),
('45','29786','{#VHOST}','$.vhost'),
('46','29786','{#NODE}','$.node'),
('47','30026','{#EXCHANGE}','$.name'),
('48','30026','{#TYPE}','$.type'),
('49','30026','{#VHOST}','$.vhost'),
('50','30193','{#PXNAME}','$.pxname'),
('51','30193','{#SVNAME}','$.svname'),
('52','30194','{#PXNAME}','$.pxname'),
('53','30194','{#SVNAME}','$.svname'),
('54','30195','{#PXNAME}','$.pxname'),
('55','30195','{#SVNAME}','$.svname'),
('56','30236','{#PXNAME}','$.pxname'),
('57','30236','{#SVNAME}','$.svname'),
('58','30237','{#PXNAME}','$.pxname'),
('59','30237','{#SVNAME}','$.svname'),
('60','30238','{#PXNAME}','$.pxname'),
('61','30238','{#SVNAME}','$.svname'),
('62','30678','{#DATABASE}','$.Database'),
('63','30679','{#MASTER_HOST}','$.Master_Host'),
('64','30686','{#SENSOR_ID}','$.id'),
('65','30686','{#SENSOR_READING_TYPE}','$.reading.text'),
('66','30686','{#SENSOR_TYPE}','$.sensor.text'),
('67','30686','{#SENSOR_UNIT}','$.units'),
('68','30687','{#SENSOR_ID}','$.id'),
('69','30687','{#SENSOR_READING_TYPE}','$.reading.text'),
('70','30687','{#SENSOR_TYPE}','$.sensor.text'),
('71','30687','{#SENSOR_UNIT}','$.units'),
('72','30687','{#SENSOR_LO_WARN}','$.threshold.lower.non_crit'),
('73','30687','{#SENSOR_LO_CRIT}','$.threshold.lower.crit'),
('74','30687','{#SENSOR_LO_DISAST}','$.threshold.lower.non_recover'),
('75','30687','{#SENSOR_HI_WARN}','$.threshold.upper.non_crit'),
('76','30687','{#SENSOR_HI_CRIT}','$.threshold.upper.crit'),
('77','30687','{#SENSOR_HI_DISAST}','$.threshold.upper.non_recover'),
('78','30713','{#ES.NODE}','$..name.first()'),
('88','30193','{#MODE}','$.mode'),
('89','30194','{#MODE}','$.mode'),
('90','30195','{#MODE}','$.mode'),
('100','30236','{#MODE}','$.mode'),
('101','30237','{#MODE}','$.mode'),
('102','30238','{#MODE}','$.mode'),
('103','30874','{#NAME}','$.name'),
('104','30875','{#DB}','$.database'),
('105','30875','{#TABLE}','$.table'),
('106','30876','{#DB}','$.database'),
('107','30876','{#TABLE}','$.table'),
('108','30962','{#ETCD.PEER}','$.labels.To'),
('109','31005','{#APPPOOL}','$.Name'),
('110','31047','{#APPPOOL}','$.Name'),
('111','31803','{#OBJECTNAME}','$.ObjectName'),
('112','31804','{#OBJECTNAME}','$.ObjectName'),
('113','31805','{#QUEUE}','$.Queue'),
('114','31806','{#OBJECTNAME}','$.ObjectName'),
('115','32869','{#ACCESSOR}','$.accessor'),
('116','32869','{#TOKEN_NAME}','$.token_name'),
('117','33465','{#DESCRIPTION}','$.description'),
('118','33465','{#DISPLAY_NAME}','$.displayName'),
('119','33466','{#DESCRIPTION}','$.description'),
('120','33466','{#NAME}','$.name'),
('121','33466','{#URL}','$.url'),
('122','34942','{#DEPLOYMENT}','$.properties.deployment'),
('123','34942','{#JMXOBJ}','$.object'),
('124','34942','{#SERVER_GROUP}','$.properties.["server-group"]'),
('125','34943','{#JMXOBJ}','$.object'),
('126','34943','{#SERVER}','$.properties.["server-config"]'),
('127','34966','{#DEPLOYMENT}','$.properties.deployment'),
('128','34966','{#JMXOBJ}','$.object'),
('129','34967','{#JMXOBJ}','$.object'),
('130','34967','{#JMX_DATA_SOURCE}','$.properties.["data-source"]'),
('131','34968','{#JMXOBJ}','$.object'),
('132','34968','{#JMX_DATA_SOURCE}','$.properties.["data-source"]'),
('133','34969','{#HTTP_LISTENER}','$.properties.["http-listener"]'),
('134','34969','{#JMXOBJ}','$.object'),
('135','34969','{#SERVER}','$.properties.["server"]'),
('136','39749','{#CITY}','$.site.city'),
('137','39749','{#ID}','$.id'),
('138','39749','{#NAME}','$.name'),
('139','39749','{#STATE}','$.site.state'),
('140','39750','{#CITY}','$.site.city'),
('141','39750','{#ID}','$.id'),
('142','39750','{#NAME}','$.name'),
('143','39750','{#STATE}','$.site.state'),
('144','39751','{#EDGE}','$.link.edgeName'),
('145','39751','{#ENTERPRISE}','$.link.enterpriseName'),
('146','39751','{#ID}','$.link.linkId'),
('147','39751','{#IF}','$.link.interface'),
('148','39751','{#IP}','$.link.linkIpAddress'),
('149','39751','{#NAME}','$.link.displayName'),
('150','39752','{#DESTINATION}','$.destination.deviceName'),
('151','39752','{#NAME}','$.source.linkName'),
('152','39752','{#SOURCE}','$.source.deviceName'),
('153','39753','{#EDGE.ID}','$.edgeId'),
('154','39753','{#EDGE}','$.edgeName'),
('155','39753','{#ID}','$.deviceLogicalId'),
('156','39753','{#NAME}','$.peerName'),
('157','39753','{#TYPE}','$.peerType'),
('158','39806','{#NODE.ID}','$.id'),
('159','39806','{#NODE.NAME}','$.name'),
('160','39807','{#NODE.ID}','$.id'),
('161','39807','{#NODE.NAME}','$.name'),
('162','39816','{#NODE.ID}','$.id'),
('163','39816','{#NODE.NAME}','$.name'),
('164','42726','{#COUNTRY}','$.sys.country'),
('165','42726','{#ID}','$.id'),
('166','42726','{#LOCATION}','$.name'),
('167','42726','{#TEMP.UNIT}','$.temp_unit'),
('168','42726','{#WIND.UNIT}','$.wind_unit'),
('169','42741','{#RESOURCE.TYPE}','$.type'),
('170','42741','{#RESOURCE.NAME}','$.name'),
('171','42742','{#RESOURCE.TYPE}','$.type'),
('172','42742','{#NODE.NAME}','$.node'),
('173','42742','{#LXC.NAME}','$.name'),
('174','42742','{#LXC.ID}','$.id'),
('175','42743','{#RESOURCE.TYPE}','$.type'),
('176','42743','{#NODE.NAME}','$.node'),
('177','42744','{#RESOURCE.TYPE}','$.type'),
('178','42744','{#NODE.NAME}','$.node'),
('179','42744','{#QEMU.NAME}','$.name'),
('180','42744','{#QEMU.ID}','$.id'),
('181','42745','{#RESOURCE.TYPE}','$.type'),
('182','42745','{#NODE.NAME}','$.node'),
('183','42745','{#STORAGE.NAME}','$.storage'),
('184','42986','{#STORE}','$.labels.store'),
('185','43184','{#CONTROLLER.ID}','$.[''controller-id'']'),
('186','43184','{#DURABLE.ID}','$.[''durable-id'']'),
('187','43185','{#DURABLE.ID}','$.[''durable-id'']'),
('188','43185','{#TYPE}','$.[''description-numeric'']'),
('189','43186','{#NAME}','$.[''name'']'),
('190','43187','{#DURABLE.ID}','$.[''durable-id'']'),
('191','43188','{#DURABLE.ID}','$.[''durable-id'']'),
('193','43189','{#DESCRIPTION}','$.[''description'']'),
('194','43189','{#ENCLOSURE.ID}','$.[''enclosure-id'']'),
('195','43189','{#LOCATION}','$.[''fru-location'']'),
('196','43189','{#TYPE}','$.[''name'']'),
('197','43190','{#NAME}','$.[''name'']'),
('198','43191','{#NAME}','$.[''port'']'),
('199','43192','{#DURABLE.ID}','$.[''durable-id'']'),
('200','43193','{#NAME}','$.[''volume-name'']'),
('201','43291','{#CONTROLLER.ID}','$.[''controller-id'']'),
('202','43291','{#DURABLE.ID}','$.[''durable-id'']'),
('203','43292','{#DURABLE.ID}','$.[''durable-id'']'),
('204','43292','{#TYPE}','$.[''description-numeric'']'),
('205','43293','{#NAME}','$.[''name'']'),
('206','43294','{#DURABLE.ID}','$.[''durable-id'']'),
('207','43295','{#DURABLE.ID}','$.[''durable-id'']'),
('208','43296','{#DESCRIPTION}','$.[''description'']'),
('209','43296','{#ENCLOSURE.ID}','$.[''enclosure-id'']'),
('210','43296','{#LOCATION}','$.[''fru-location'']'),
('211','43296','{#TYPE}','$.[''name'']'),
('212','43297','{#NAME}','$.[''name'']'),
('213','43298','{#NAME}','$.[''port'']'),
('214','43299','{#DURABLE.ID}','$.[''durable-id'']'),
('215','43300','{#NAME}','$.[''volume-name'']'),
('216','43415','{#ID}','$.id'),
('217','43415','{#NAME}','$.name'),
('218','43416','{#ID}','$.id'),
('219','43416','{#POSITION}','$.position'),
('220','43417','{#ID}','$.id'),
('221','43417','{#NAME}','$.name'),
('222','43418','{#CARD.PORT}','$.portPos.cardPort'),
('223','43418','{#NODE}','$.portPos.node'),
('224','43418','{#SLOT}','$.portPos.slot'),
('225','43418','{#TYPE}','$.type'),
('226','43419','{#ID}','$.id'),
('227','43419','{#NAME}','$.name'),
('228','43419','{#TYPE}','$.type'),
('229','43420','{#ID}','$.id'),
('230','43420','{#NAME}','$.name'),
('231','43768','{#GROUP}','$.resourceGroup'),
('232','43768','{#ID}','$.id'),
('233','43768','{#LOCATION}','$.location'),
('234','43768','{#NAME}','$.name'),
('235','43768','{#OS}','$.properties.storageProfile.osDisk.osType'),
('236','43768','{#SIZE}','$.properties.hardwareProfile.vmSize'),
('237','43768','{#TYPE}','$.type'),
('238','43905','{#BAY_NUMBER}','$.bayNumber'),
('239','43905','{#ENCLOSURE_NAME}','$.enclosureName'),
('240','43906','{#BAY_NUMBER}','$.bayNumber'),
('241','43906','{#ENCLOSURE_NAME}','$.enclosureName'),
('242','43907','{#NAME}','$.name'),
('243','43908','{#BAY_NUMBER}','$.bayNumber'),
('244','43908','{#ENCLOSURE_NAME}','$.enclosureName'),
('245','43909','{#NAME}','$.name'),
('246','43910','{#NAME}','$.name'),
('247','43911','{#NAME}','$.name'),
('248','43912','{#BAY_NUMBER}','$.bayNumber'),
('249','43912','{#ENCLOSURE_NAME}','$.enclosureName'),
('250','43913','{#NAME}','$.name'),
('251','43914','{#BAY_NUMBER}','$.bayNumber'),
('252','43914','{#ENCLOSURE_NAME}','$.enclosureName'),
('253','43915','{#NAME}','$.displayName'),
('254','43916','{#ENCLOSURE_NAME}','$.enclosureName'),
('255','43916','{#NAME}','$.name'),
('256','43917','{#NAME}','$.name'),
('257','43918','{#ENCLOSURE_NAME}','$.enclosureName'),
('258','43918','{#PARTITION_ID}','$.partitionID'),
('259','43919','{#BAY_NUMBER}','$.bayNumber'),
('260','43919','{#ENCLOSURE_NAME}','$.enclosureName'),
('261','43920','{#NAME}','$.name'),
('262','43921','{#LOCATION}','$.name'),
('263','43921','{#SERVER_NAME}','$.serverName'),
('264','43922','{#NAME}','$.name'),
('265','43923','{#NAME}','$.name'),
('266','43924','{#NAME}','$.name'),
('267','43925','{#NAME}','$.name'),
('268','44052','{#AWS.EC2.INSTANCE.ID}','$.instanceId'),
('269','44052','{#AWS.EC2.INSTANCE.NAME}','$.instanceName'),
('270','44053','{#AWS.RDS.INSTANCE.ID}','$.DBInstanceIdentifier'),
('271','44054','{#AWS.S3.NAME}','$.Name'),
('273','44057','{#PROXY.NAME}','$.name'),
('274','44058','{#PROXY.NAME}','$.name'),
('275','44082','{#PROXY.NAME}','$.name'),
('276','44200','{#GROUP}','$.resourceGroup'),
('277','44200','{#ID}','$.id'),
('278','44200','{#LOCATION}','$.location'),
('279','44200','{#NAME}','$.name'),
('280','44200','{#SIZE}','$.sku.name'),
('281','44200','{#TYPE}','$.type'),
('282','44200','{#VERSION}','$.properties.version'),
('285','44293','{#GROUP}','$.resourceGroup'),
('286','44293','{#ID}','$.id'),
('287','44293','{#LOCATION}','$.location'),
('288','44293','{#NAME}','$.name'),
('289','44293','{#SIZE}','$.sku.name'),
('290','44293','{#TYPE}','$.type'),
('291','44293','{#VERSION}','$.properties.version'),
('292','44314','{#MAC}','$.mac'),
('293','44314','{#MODEL}','$.model'),
('294','44314','{#NAME}','$.name'),
('295','44314','{#NETWORK.ID}','$.networkId'),
('296','44314','{#ORGANIZATION_ID}','$.organizationId'),
('297','44314','{#PRODUCT_TYPE}','$.productType'),
('298','44314','{#SERIAL}','$.serial'),
('299','44315','{#ID}','$.id'),
('300','44315','{#NAME}','$.name'),
('301','44315','{#REGION}','$.cloud.region.name'),
('302','44315','{#URL}','$.url'),
('303','44316','{#IP}','$.ip'),
('304','44316','{#NETWORK.ID}','$.networkId'),
('305','44316','{#SERIAL}','$.serial'),
('306','44316','{#UPLINK}','$.uplink'),
('307','44317','{#INTERFACE}','$.interface'),
('308','44317','{#NETWORK.NAME}','$.networkName'),
('309','44317','{#PRIVATE.IP}','$.ip'),
('310','44317','{#PUBLIC.IP}','$.publicIp'),
('311','44317','{#UPLINK.DEVICE.SERIAL}','$.serial'),
('312','44317','{#UPLINK.ROLE}','$.role'),
('313','44318','{#NETWORK.ID}','$.networkId'),
('314','44318','{#NETWORK.NAME}','$.networkName'),
('315','44318','{#PEER.NETWORK.ID}','$.peerNetworkId'),
('316','44318','{#PEER.NETWORK.NAME}','$.peerNetworkName'),
('317','44318','{#RECEIVER.UPLINK}','$.receiverUplink'),
('318','44318','{#SENDER.UPLINK}','$.senderUplink'),
('333','22947','{#FSNAME}','$.fsname'),
('334','22947','{#FSTYPE}','$.fstype'),
('335','22907','{#FSNAME}','$.fsname'),
('336','22907','{#FSTYPE}','$.fstype'),
('337','22987','{#FSNAME}','$.fsname'),
('338','22987','{#FSTYPE}','$.fstype'),
('339','42273','{#FSNAME}','$.fsname'),
('340','42273','{#FSTYPE}','$.fstype'),
('341','42276','{#FSNAME}','$.fsname'),
('342','42276','{#FSTYPE}','$.fstype'),
('343','42362','{#FSNAME}','$.fsname'),
('344','42362','{#FSTYPE}','$.fstype'),
('345','23067','{#FSNAME}','$.fsname'),
('346','23067','{#FSOPTIONS}','$.fsoptions'),
('347','23067','{#FSTYPE}','$.fstype'),
('348','22867','{#FSNAME}','$.fsname'),
('349','22867','{#FSTYPE}','$.fstype'),
('350','23027','{#FSNAME}','$.fsname'),
('351','23027','{#FSTYPE}','$.fstype'),
('352','42490','{#FSNAME}','$.fsname'),
('353','42490','{#FSTYPE}','$.fstype'),
('354','42490','{#FSDRIVETYPE}','$.fsdrivetype'),
('355','42546','{#FSNAME}','$.fsname'),
('356','42546','{#FSTYPE}','$.fstype'),
('357','42546','{#FSDRIVETYPE}','$.fsdrivetype'),
('358','44468','{#SERVER.NAME}','$.name'),
('359','44469','{#SERVICE.JOB}','$.serviceJob'),
('360','44469','{#SERVICE.NAME}','$.serviceName'),
('361','44470','{#AGENT.NAME}','$.nodeid'),
('362','44471','{#JOB.ID}','$.jobId'),
('363','44496','{#ID}','$.id'),
('364','44496','{#JOB.STATUS}','$.status'),
('365','44496','{#NAME}','$.name'),
('366','44496','{#REPOSITORY.NAME}','$.repositoryName'),
('367','44496','{#TYPE}','$.type'),
('368','44496','{#WORKLOAD}','$.workload'),
('369','44497','{#DESCRIPTION}','$.description'),
('370','44497','{#HOSTID}','$.server.hostId'),
('371','44497','{#ID}','$.id'),
('372','44497','{#NAME}','$.name'),
('373','44497','{#TYPE}','$.type'),
('374','44498','{#DESCRIPTION}','$.description'),
('375','44498','{#HOSTID}','$.server.hostId'),
('376','44498','{#HOSTNAME}','$.hostName'),
('377','44498','{#ID}','$.id'),
('378','44498','{#NAME}','$.name'),
('379','44498','{#PATH}','$.path'),
('380','44498','{#TYPE}','$.type'),
('381','44499','{#CREATION.TIME}','$.creationTime'),
('382','44499','{#END.TIME}','$.endTime'),
('383','44499','{#ID}','$.id'),
('384','44499','{#NAME}','$.name'),
('385','44499','{#STATE}','$.state'),
('386','44499','{#TYPE}','$.sessionType'),
('387','44525','{#NAME}','$.Name'),
('388','44525','{#TYPE}','$.Type'),
('389','44525','{#UID}','$.UID'),
('390','44525','{#URL}','$.Href'),
('391','44585','{#GROUP}','$.resourceGroup'),
('392','44585','{#ID}','$.id'),
('393','44585','{#LOCATION}','$.location'),
('394','44585','{#NAME}','$.name'),
('395','44585','{#SIZE}','$.sku.name'),
('396','44585','{#TYPE}','$.type'),
('397','44585','{#VERSION}','$.kind'),
('398','44643','{#NAME}','$.name'),
('399','44643','{#VMEM}','$.vsize'),
('400','44336','{#APACHE.NAME}','$.name'),
('401','44733','{#ARCH}','$.metadata.labels[''kubernetes.io/arch'']'),
('402','44733','{#CLUSTER_HOSTNAME}','$.clusterhostname'),
('403','44733','{#ENDPOINT}','$.status.agent'),
('404','44733','{#IP}','$.internalIP'),
('405','44733','{#NAME}','$.metadata.name'),
('406','44733','{#OS}','$.metadata.labels[''kubernetes.io/os'']'),
('407','44733','{#ROLES}','$.status.roles'),
('408','39942','{#NAMESPACE}','$.namespace'),
('409','39942','{#NODE}','$.hostname'),
('410','39942','{#POD}','$.name'),
('411','40025','{#NAME}','$.labels.deployment'),
('412','40025','{#NAMESPACE}','$.labels.namespace'),
('413','40032','{#NAME}','$.labels.replicaset'),
('414','40032','{#NAMESPACE}','$.labels.namespace'),
('415','40034','{#NAME}','$.labels.statefulset'),
('416','40034','{#NAMESPACE}','$.labels.namespace'),
('417','44344','{#NGINX.NAME}','$.name'),
('418','44352','{#PHP_FPM.NAME}','$.name'),
('419','44360','{#RABBITMQ.NAME}','$.name'),
('420','44818','{#GROUP}','$.resourceGroup'),
('421','44818','{#ID}','$.id'),
('422','44818','{#LOCATION}','$.location'),
('423','44818','{#NAME}','$.name'),
('424','44818','{#TYPE}','$.type'),
('425','44818','{#VERSION}','$.kind'),
('426','44819','{#GROUP}','$.resourceGroup'),
('427','44819','{#ID}','$.id'),
('428','44819','{#LOCATION}','$.location'),
('429','44819','{#NAME}','$.name'),
('430','44819','{#TOKEN}','$.token'),
('431','45034','{#CLOUD_SQL.INSTANCE.DB.TYPE}','$.db_type'),
('432','45034','{#CLOUD_SQL.INSTANCE.HIGH.AVAIL}','$.high_availability'),
('433','45034','{#CLOUD_SQL.INSTANCE.IP}','$.ip'),
('434','45034','{#CLOUD_SQL.INSTANCE.NAME}','$.name'),
('435','45034','{#CLOUD_SQL.INSTANCE.TIER}','$.tier'),
('436','45034','{#CLOUD_SQL.INSTANCE.TYPE}','$.inst_type'),
('437','45034','{#CLOUD_SQL.INSTANCE.ZONE}','$.zone'),
('438','45034','{#CLOUD_SQL.MASTER}','$.master'),
('439','45034','{#GCP.AUTH.TOKEN}','$.token'),
('440','45034','{#GCP.PROJECT.ID}','$.project_id'),
('441','45034','{#MSSQL.AUDITED}','$.audited'),
('442','45035','{#CLOUD_SQL.INSTANCE.DB.TYPE}','$.db_type'),
('443','45035','{#CLOUD_SQL.INSTANCE.HIGH.AVAIL}','$.high_availability'),
('444','45035','{#CLOUD_SQL.INSTANCE.IP}','$.ip'),
('445','45035','{#CLOUD_SQL.INSTANCE.NAME}','$.name'),
('446','45035','{#CLOUD_SQL.INSTANCE.TIER}','$.tier'),
('447','45035','{#CLOUD_SQL.INSTANCE.TYPE}','$.inst_type'),
('448','45035','{#CLOUD_SQL.INSTANCE.ZONE}','$.zone'),
('449','45035','{#CLOUD_SQL.MASTER}','$.master'),
('450','45035','{#GCP.AUTH.TOKEN}','$.token'),
('451','45035','{#GCP.PROJECT.ID}','$.project_id'),
('452','45036','{#CLOUD_SQL.INSTANCE.DB.TYPE}','$.db_type'),
('453','45036','{#CLOUD_SQL.INSTANCE.HIGH.AVAIL}','$.high_availability'),
('454','45036','{#CLOUD_SQL.INSTANCE.IP}','$.ip'),
('455','45036','{#CLOUD_SQL.INSTANCE.NAME}','$.name'),
('456','45036','{#CLOUD_SQL.INSTANCE.TIER}','$.tier'),
('457','45036','{#CLOUD_SQL.INSTANCE.TYPE}','$.inst_type'),
('458','45036','{#CLOUD_SQL.INSTANCE.ZONE}','$.zone'),
('459','45036','{#CLOUD_SQL.MASTER}','$.master'),
('460','45036','{#GCP.AUTH.TOKEN}','$.token'),
('461','45036','{#GCP.PROJECT.ID}','$.project_id'),
('462','45037','{#GCE.INSTANCE.EXT.IP}','$.ext_ip'),
('463','45037','{#GCE.INSTANCE.ID}','$.id'),
('464','45037','{#GCE.INSTANCE.IP}','$.ip'),
('465','45037','{#GCE.INSTANCE.NAME}','$.name'),
('466','45037','{#GCE.INSTANCE.TYPE}','$.i_type'),
('467','45037','{#GCE.INSTANCE.ZONE}','$.zone'),
('468','45037','{#GCE.INTEGRITY.STATE}','$.integrity'),
('469','45037','{#GCE.MACHINE.TYPE}','$.m_type'),
('470','45037','{#GCP.AUTH.TOKEN}','$.token'),
('471','45037','{#GCP.PROJECT.ID}','$.project_id'),
('472','45038','{#GCE.QUOTA.LIMIT}','$.limit'),
('473','45038','{#GCE.QUOTA.NAME}','$.metric'),
('474','45038','{#GCE.QUOTA.USAGE}','$.usage'),
('475','45039','{#DB.NAME}','$.database'),
('476','45040','{#RESOURCE.NAME}','$.resource'),
('477','45041','{#SCHEDULER.ID}','$.scheduler'),
('478','45042','{#PGSQL.DB.NAME}','$.name'),
('479','45043','{#GCE.DISK.DEV_TYPE}','$.device_type'),
('480','45043','{#GCE.DISK.NAME}','$.disk_name'),
('481','45043','{#GCE.DISK.STOR_TYPE}','$.storage_type'),
('482','45081','{#DB}','$.database'),
('483','39918','{#NAME}','$.metadata.name'),
('484','39918','{#NAMESPACE}','$.metadata.namespace'),
('485','40022','{#NAME}','$.metadata.name'),
('486','40024','{#NAME}','$.labels.daemonset'),
('487','40024','{#NAMESPACE}','$.labels.namespace'),
('488','40026','{#NAME}','$.labels.endpoint'),
('489','40026','{#NAMESPACE}','$.labels.namespace'),
('490','40027','{#NAME}','$.name'),
('491','40028','{#NAME}','$.labels.node'),
('492','40029','{#NAME}','$.labels.pod'),
('493','40029','{#NAMESPACE}','$.labels.namespace'),
('494','40031','{#NAME}','$.name'),
('495','42703','{#NAME}','$.labels.cronjob'),
('496','42703','{#NAMESPACE}','$.labels.namespace'),
('497','42704','{#NAME}','$.labels.job_name'),
('498','42704','{#NAMESPACE}','$.labels.namespace'),
('499','42705','{#NAME}','$.labels.poddisruptionbudget'),
('500','42705','{#NAMESPACE}','$.labels.namespace'),
('501','45523','{#AWS.BILLING.MONTH}','$..month.first()'),
('502','45523','{#AWS.BILLING.SERVICE.NAME}','$..Keys.first().first()'),
('503','45523','{#AWS.BILLING.UNIT}','$..Metrics.BlendedCost.Unit.first()'),
('504','45524','{#AWS.BILLING.SERVICE.NAME}','$..Keys.first().first()'),
('505','45524','{#AWS.BILLING.UNIT}','$..Metrics.BlendedCost.Unit.first()'),
('506','45525','{#AWS.BILLING.MONTH}','$..month.first()'),
('507','45525','{#AWS.BILLING.UNIT}','$..unit.first()'),
('508','45543','{#AWS.ECS.SERVICE.NAME}','$.service_name'),
('509','45575','{#AWS.ECS.SERVICE.NAME}','$.service_name'),
('510','45595','{#AWS.ECS.CLUSTER.NAME}','$.clusterName'),
('511','45595','{#AWS.ECS.CLUSTER.STATUS}','$.status'),
('512','45595','{#AWS.ECS.CLUSTER.INFRASTRUCTURE}','$.infrastructure'),
('513','45034','{#CLOUD_SQL.INSTANCE.EXT.IP}','$.ext_ip'),
('514','45035','{#CLOUD_SQL.INSTANCE.EXT.IP}','$.ext_ip'),
('515','45036','{#CLOUD_SQL.INSTANCE.EXT.IP}','$.ext_ip'),
('516','45612','{#SERVICE_NAME}','$.service_name'),
('517','45612','{#SERVICE_URL}','$.service_url'),
('518','45612','{#TOKEN}','$.token'),
('519','45613','{#ZONE_NAME}','$.zoneName'),
('520','45614','{#HOSTNAME}','$.hypervisor_hostname'),
('521','45614','{#HOST_IP}','$.host_ip'),
('522','45614','{#ID}','$.id'),
('523','45614','{#TYPE}','$.hypervisor_type'),
('524','45615','{#SERVER_ID}','$.id'),
('525','45615','{#SERVER_NAME}','$.name'),
('526','45616','{#BINARY}','$.binary'),
('527','45616','{#HOST}','$.host'),
('528','45616','{#ID}','$.id'),
('529','45617','{#TENANT_ID}','$.tenant_id'),
('530','45787','{#COOKIE}','$.cookie'),
('531','45787','{#ID}','$.id'),
('532','45787','{#INT.IP}','$.int_ip'),
('533','45787','{#IP}','$.ip'),
('534','45787','{#MODEL}','$.model'),
('535','45787','{#NAME}','$.name'),
('536','45787','{#TOKEN}','$.token'),
('537','45787','{#TYPE}','$.type'),
('538','45787','{#UUID}','$.uuid'),
('539','45788','{#FSKEY}','$.key'),
('540','45788','{#FSNAME}','$.mount'),
('541','45789','{#IFDESC}','$.description'),
('542','45789','{#IFINDEX}','$.ifindex'),
('543','45789','{#IFKEY}','$.key'),
('544','45789','{#IFNAME}','$.name'),
('545','45790','{#LOCAL}','$.local_color'),
('546','45790','{#REMOTE}','$.remote_color'),
('547','45819','{#ENABLED}','$.enabled'),
('548','45819','{#ID}','$.id'),
('549','45819','{#NAME}','$.name'),
('550','46022','{#CLIENT.CLASS}','$.NodeClass'),
('551','46022','{#CLIENT.DC}','$.Datacenter'),
('552','46022','{#CLIENT.DRAIN.STATE}','$.Drain'),
('553','46022','{#CLIENT.ID}','$.ID'),
('554','46022','{#CLIENT.IP}','$.Address'),
('555','46022','{#CLIENT.NAME}','$.Name'),
('556','46022','{#CLIENT.OS}','$.Attributes[''os.name'']'),
('557','46022','{#CLIENT.SCHEDULE.ELIGIBILITY}','$.SchedulingEligibility'),
('558','46022','{#CLIENT.VERSION}','$.Version'),
('559','46023','{#SERVER.DC}','$.Tags.dc'),
('560','46023','{#SERVER.ID}','$.Tags.id'),
('561','46023','{#SERVER.IP}','$.Addr'),
('562','46023','{#SERVER.NAME}','$.Name'),
('563','46023','{#SERVER.REGION}','$.Tags.region'),
('564','46023','{#SERVER.ROLE}','$.Tags.role'),
('565','46023','{#SERVER.VERSION}','$.Tags.build'),
('566','46024','{#JOB.NAMESPACE}','$.Namespace'),
('567','46024','{#JOB.NAME}','$.JobID'),
('568','46024','{#JOB.TASK.GROUP}','$.TaskGroup'),
('569','46024','{#JOB.TYPE}','$.JobType'),
('570','46025','{#DEV.NAME}','$.labels.disk'),
('571','46060','{#ACCESS_TOKEN}','$.access_token'),
('572','46060','{#SCOPE}','$.scope'),
('573','46061','{#ALERT_ID}','$.id'),
('574','46061','{#CATEGORY}','$.category'),
('575','46061','{#RESOURCE_NAME}','$.details.resourceName'),
('576','46061','{#SEVERITY}','$.severity'),
('577','46061','{#TYPE}','$.type'),
('578','46062','{#KIND}','$.kind'),
('579','46062','{#NAME}','$.name'),
('580','46063','{#ID}','$.id'),
('581','46063','{#NAME}','$.name'),
('582','46063','{#TENANT_NAME}','$.tenant_name'),
('583','44314','{#STATUS}','$.status'),
('584','46116','{#NEXTCLOUD.USER}','$.user_name'),
('585','44052','{#AWS.EC2.INSTANCE.REGION}','$.instanceRegion'),
('586','44053','{#AWS.RDS.REGION}','$.instanceRegion'),
('587','45595','{#AWS.ECS.CLUSTER.REGION}','$.region'),
('588','46163','{#FWACTION}','$.action'),
('589','46163','{#FWINDEX}','$.policyid'),
('590','46163','{#FWLABEL}','$.label'),
('591','46163','{#FWNAME}','$.name'),
('592','46163','{#FWTYPE}','$["ip-version-type"]'),
('593','46163','{#FWUUID}','$.uuid'),
('594','46164','{#IFALIAS}','$.alias'),
('595','46164','{#IFDESCR}','$.description'),
('596','46164','{#IFKEY}','$.id'),
('597','46164','{#IFNAME}','$.name'),
('598','46164','{#IFSTATUS}','$.link'),
('599','46164','{#IFTYPE}','$.type'),
('600','46165','{#HID}','$.health_id'),
('601','46165','{#IFNAME}','$.interface'),
('602','46165','{#MID}','$.member_id'),
('603','46165','{#NAME}','$.health_name'),
('604','46165','{#STATUS}','$.status'),
('605','46166','{#ID}','$.q_origin_key'),
('606','46166','{#NAME}','$.interface'),
('607','46166','{#STATUS}','$.status'),
('608','46166','{#ZONE}','$.zone'),
('609','46167','{#KEY}','$.key'),
('610','46167','{#NAME}','$.name'),
('611','46167','{#STATUS}','$.status'),
('612','46167','{#TYPE}','$.type'),
('613','46262','{#ADMIN.ID}','$.id'),
('614','46262','{#ADMIN.NAME}','$.name'),
('615','46262','{#ADMIN.ORG.ACCESS}','$.orgAccess'),
('616','46263','{#LICENSE.DEVICE.NAME}','$.deviceName'),
('617','46263','{#LICENSE.ID}','$.id'),
('618','46263','{#LICENSE.STATE}','$.state'),
('619','46263','{#LICENSE.TYPE}','$.licenseType'),
('620','46264','{#NETWORK.ID}','$.id'),
('621','46264','{#NETWORK.NAME}','$.name'),
('622','46265','{#SAML.ID}','$.id'),
('623','46265','{#SAML.ORG.ACCESS}','$.orgAccess'),
('624','46265','{#SAML.ROLE}','$.role'),
('625','46266','{#NETWORK.ID}','$.networkId'),
('626','46266','{#NETWORK.NAME}','$.networkName'),
('627','42490','{#FSLABEL}','$.fslabel'),
('628','42546','{#FSLABEL}','$.fslabel'),
('629','46295','{#NAMESPACE}','$.labels.namespace'),
('630','46295','{#NAME}','$.labels.build'),
('631','46296','{#NAMESPACE}','$.labels.namespace'),
('632','46296','{#NAME}','$.labels.buildconfig'),
('633','46297','{#NAME}','$.labels.name'),
('634','46297','{#RESOURCE}','$.labels.resource'),
('635','46297','{#TYPE}','$.labels.type'),
('636','46298','{#HOST}','$.labels.host'),
('637','46298','{#NAMESPACE}','$.labels.namespace'),
('638','46298','{#NAME}','$.labels.route'),
('639','46321','{#SYSTEM_HOSTNAME}','$.hostname'),
('640','46321','{#SYSTEM_ID}','$.system_id'),
('641','46321','{#SYSTEM_TYPE}','$.system_type'),
('642','46322','{#CONTROLLER_ID}','$.id'),
('643','46322','{#CONTROLLER_LOCATION}','$.location'),
('644','46322','{#STORAGE_ID}','$.storage_id'),
('645','46322','{#SYSTEM_HOSTNAME}','$.system_hostname'),
('646','46322','{#SYSTEM_ID}','$.system_id'),
('647','46322','{#SYSTEM_TYPE}','$.system_type'),
('648','46323','{#DRIVE_ID}','$.id'),
('649','46323','{#DRIVE_LOCATION}','$.location'),
('650','46323','{#DRIVE_TYPE}','$.media_type'),
('651','46323','{#STORAGE_ID}','$.storage_id'),
('652','46323','{#SYSTEM_HOSTNAME}','$.system_hostname'),
('653','46323','{#SYSTEM_ID}','$.system_id'),
('654','46323','{#SYSTEM_TYPE}','$.system_type'),
('655','46324','{#CHASSIS_ID}','$.chassis_id'),
('656','46324','{#FAN_ID}','$.id'),
('657','46324','{#FAN_NAME}','$.name'),
('658','46324','{#FAN_STATE}','$.state'),
('659','46325','{#MANAGER_ID}','$.manager_id'),
('660','46326','{#CHASSIS_ID}','$.chassis_id'),
('661','46326','{#PSU_ID}','$.id'),
('662','46326','{#PSU_STATE}','$.state'),
('663','46327','{#CHASSIS_ID}','$.chassis_id'),
('664','46327','{#SENSOR_CONTEXT}','$.context'),
('665','46327','{#SENSOR_ID}','$.id'),
('666','46327','{#SENSOR_NAME}','$.name'),
('667','46327','{#SENSOR_STATE}','$.state'),
('668','46328','{#STORAGE_ID}','$.id'),
('669','46328','{#STORAGE_NAME}','$.name'),
('670','46328','{#SYSTEM_HOSTNAME}','$.system_hostname'),
('671','46328','{#SYSTEM_ID}','$.system_id'),
('672','46328','{#SYSTEM_TYPE}','$.system_type'),
('673','46329','{#STORAGE_ID}','$.storage_id'),
('674','46329','{#SYSTEM_HOSTNAME}','$.system_hostname'),
('675','46329','{#SYSTEM_ID}','$.system_id'),
('676','46329','{#SYSTEM_TYPE}','$.system_type'),
('677','46329','{#VOLUME_ID}','$.id'),
('678','46329','{#VOLUME_NAME}','$.name'),
('679','46373','{#AWS.S3.FILTER.ID.NAME}','$.Id'),
('680','46373','{#AWS.S3.REGION}','$.region'),
('681','46398','{#AZURE.BILLING.METER.SUBCATEGORY}','$.MeterSubcategory'),
('682','46398','{#AZURE.BILLING.METER}','$.Meter'),
('683','46398','{#AZURE.BILLING.UNIT}','$.Currency'),
('684','46398','{#AZURE.RESOURCE.GROUP}','$.ResourceGroup'),
('685','46398','{#AZURE.RESOURCE.LOCATION}','$.ResourceLocation'),
('686','46398','{#AZURE.SERVICE.NAME}','$.ServiceName'),
('687','46399','{#AZURE.BILLING.MONTH}','$.BillingMonth'),
('688','46399','{#AZURE.BILLING.UNIT}','$.Currency'),
('689','46400','{#AZURE.BILLING.MONTH}','$.BillingMonth'),
('690','46400','{#AZURE.BILLING.UNIT}','$.Currency'),
('691','46400','{#AZURE.RESOURCE.LOCATION}','$.ResourceLocation'),
('692','46401','{#AZURE.BILLING.MONTH}','$.BillingMonth'),
('693','46401','{#AZURE.BILLING.UNIT}','$.Currency'),
('694','46401','{#AZURE.RESOURCE.GROUP}','$.ResourceGroup'),
('695','46402','{#AZURE.BILLING.MONTH}','$.BillingMonth'),
('696','46402','{#AZURE.BILLING.UNIT}','$.Currency'),
('697','46402','{#AZURE.SERVICE.NAME}','$.ServiceName'),
('698','46416','{#GROUP_NAME}','$.group_name'),
('699','46417','{#DBNAME}','$.dbname'),
('700','46417','{#GROUP_NAME}','$.group_name'),
('701','46418','{#DBNAME}','$.dbname'),
('702','46419','{#DBNAME}','$.dbname'),
('703','46419','{#GROUP_NAME}','$.group_name'),
('704','46419','{#REPLICA_NAME}','$.replica_name'),
('705','46420','{#CLUSTER_NAME}','$.cluster_name'),
('706','46421','{#MEMBER_NAME}','$.member_name'),
('707','46422','{#GROUP_NAME}','$.group_name'),
('708','46422','{#REPLICA_NAME}','$.replica_name'),
('709','31123','{#DBNAME}','$.dbname'),
('710','31123','{#RECOVERY_MODEL}','$.recovery_model'),
('711','34324','{#JOBNAME}','$.job_name'),
('712','46484','{#AWS.ELB.TARGET.GROUP.ARN}','$.target_arn'),
('713','46484','{#AWS.ELB.TARGET.GROUP.NAME}','$.target_name'),
('714','46484','{#AWS.ELB.TARGET.GROUP.PROTOCOL}','$.protocol'),
('715','46484','{#AWS.ELB.TARGET.GROUP.TYPE}','$.type'),
('716','46503','{#AWS.ELB.ARN}','$.arn'),
('717','46503','{#AWS.ELB.DNS.NAME}','$.dns_name'),
('718','46503','{#AWS.ELB.NAME}','$.name'),
('719','46503','{#AWS.ELB.REGION}','$.region'),
('720','46503','{#AWS.ELB.STATE}','$.state'),
('721','46503','{#AWS.ELB.TYPE}','$.type'),
('722','46594','{#GROUP_NAME}','$.group_name'),
('723','46595','{#DBNAME}','$.dbname'),
('724','46595','{#RECOVERY_MODEL}','$.recovery_model'),
('725','46596','{#JOBNAME}','$.job_name'),
('726','46597','{#DBNAME}','$.dbname'),
('727','46597','{#GROUP_NAME}','$.group_name'),
('728','46598','{#DBNAME}','$.dbname'),
('729','46599','{#DBNAME}','$.dbname'),
('730','46599','{#GROUP_NAME}','$.group_name'),
('731','46599','{#REPLICA_NAME}','$.replica_name'),
('732','46600','{#CLUSTER_NAME}','$.cluster_name'),
('733','46601','{#MEMBER_NAME}','$.member_name'),
('734','46602','{#GROUP_NAME}','$.group_name'),
('735','46602','{#REPLICA_NAME}','$.replica_name'),
('736','46723','{#CLUSTER.ID}','$.cluster_id'),
('737','46723','{#CLUSTER.NAME}','$.cluster_name'),
('738','46724','{#KEYSPACE.NAME}','$.keyspace_name'),
('739','46725','{#NODE.NAME}','$.node_name'),
('740','46933','{#ID}','$.id'),
('741','46933','{#NAME}','$.name'),
('742','46933','{#STATE}','$.state'),
('743','46934','{#ID}','$.id'),
('744','46934','{#NAME}','$.name'),
('745','46934','{#STATE}','$.state'),
('746','46935','{#DOMAIN}','$.domain'),
('747','46935','{#ID}','$.id'),
('748','46935','{#NAME}','$.name'),
('749','46935','{#STATE}','$.state'),
('750','46936','{#ID}','$.id'),
('751','46936','{#NAME}','$.name'),
('752','46936','{#STATE}','$.state'),
('753','46937','{#NAME}','$.name'),
('754','46938','{#ID}','$.id'),
('755','46938','{#NAME}','$.name'),
('756','46938','{#STATE}','$.state'),
('757','46939','{#ID}','$.id'),
('758','46939','{#NAME}','$.name'),
('759','46939','{#STATE}','$.state'),
('760','46940','{#ID}','$.id'),
('761','46940','{#NAME}','$.name'),
('762','46940','{#STATE}','$.state'),
('763','30520','{#DATABASE}','$.Database'),
('764','30521','{#MASTER_HOST}','$.Master_Host'),
('765','31253','{#DEST_NAME}','$.DEST_NAME'),
('766','31254','{#DGNAME}','$.DGNAME'),
('767','31255','{#DBNAME}','$.DBNAME'),
('768','31255','{#TYPE}','$.TYPE'),
('769','31256','{#DBNAME}','$.DBNAME'),
('770','31257','{#CONTENTS}','$.CONTENTS'),
('771','31257','{#CON_NAME}','$.CON_NAME'),
('772','31257','{#TABLESPACE}','$.TABLESPACE'),
('773','47106','{#AWS.ELB.TARGET.GROUP.ARN}','$.target_arn'),
('774','47106','{#AWS.ELB.TARGET.GROUP.NAME}','$.target_name'),
('775','47106','{#AWS.ELB.TARGET.GROUP.PROTOCOL}','$.protocol'),
('776','47106','{#AWS.ELB.TARGET.GROUP.TYPE}','$.type'),
('777','42414','{#FSDEVICE}','$.dskDevice'),
('778','42414','{#FSNAME}','$.dskPath'),
('779','42414','{#SNMPINDEX}','$.index'),
('780','42581','{#ALLOC_UNITS}','$.hrStorageAllocationUnits'),
('781','42581','{#FSNAME}','$.hrStorageDescr'),
('782','42581','{#FSTYPE}','$.hrStorageType'),
('783','42581','{#SNMPINDEX}','$.index'),
('784','42582','{#ALLOC_UNITS}','$.hrStorageAllocationUnits'),
('785','42582','{#MEMNAME}','$.hrStorageDescr'),
('786','42582','{#MEMTYPE}','$.hrStorageType'),
('787','42582','{#SNMPINDEX}','$.index'),
('788','47181','{#BRANCH_NAME}','$.name'),
('789','47183','{#RUNNER_ID}','$.id'),
('790','47183','{#RUNNER_NAME}','$.name'),
('791','47183','{#RUNNER_OS}','$.os'),
('792','47184','{#WORKFLOW_ID}','$.id'),
('793','47184','{#WORKFLOW_NAME}','$.name'),
('794','47184','{#WORKFLOW_STATE}','$.state'),
('795','47228','{#LICENSE.PROPERTIES}','$.properties'),
('796','47228','{#LICENSE.TYPE}','$.license'),
('797','47412','{#NAME}','$.service'),
('798','47433','{#VMWARE.ALARMS.DESC}','$.description'),
('799','47433','{#VMWARE.ALARMS.KEY}','$.key'),
('800','47433','{#VMWARE.ALARMS.NAME}','$.name'),
('801','47433','{#VMWARE.ALARMS.STATUS}','$.overall_status'),
('802','47447','{#VMWARE.ALARMS.DESC}','$.description'),
('803','47447','{#VMWARE.ALARMS.KEY}','$.key'),
('804','47447','{#VMWARE.ALARMS.NAME}','$.name'),
('805','47447','{#VMWARE.ALARMS.STATUS}','$.overall_status'),
('806','47465','{#PROXY.GROUP.NAME}','$.name'),
('807','47466','{#PROXY.GROUP.NAME}','$.name'),
('808','44057','{#PROXY.GROUP}','$.proxy_group'),
('809','44058','{#PROXY.GROUP}','$.proxy_group'),
('810','44082','{#PROXY.GROUP}','$.proxy_group'),
('811','47499','{#AWS.LAMBDA.ARN}','$.arn'),
('812','47499','{#AWS.LAMBDA.NAME}','$.name'),
('813','47499','{#AWS.LAMBDA.REGION}','$.region'),
('814','47499','{#AWS.LAMBDA.RUNTIME}','$.runtime'),
('815','47499','{#AWS.LAMBDA.VERSION}','$.version'),
('816','47567','{#GROUP}','$.resourceGroup'),
('817','47567','{#ID}','$.id'),
('818','47567','{#LOCATION}','$.location'),
('819','47567','{#NAME}','$.name'),
('820','47567','{#ORCHESTRATION}','$.properties.orchestrationMode'),
('821','47567','{#OS}','$.properties.virtualMachineProfile.storageProfile.osDisk.osType'),
('822','47567','{#TYPE}','$.type'),
('823','43768','{#SCALESET}','$.properties.virtualMachineScaleSet'),
('824','46933','{#COMPARTMENT}','$.compartment'),
('825','46934','{#COMPARTMENT}','$.compartment'),
('826','46935','{#COMPARTMENT}','$.compartment'),
('827','46936','{#COMPARTMENT}','$.compartment'),
('828','46937','{#COMPARTMENT}','$.compartment'),
('829','46938','{#COMPARTMENT}','$.compartment'),
('830','47663','{#APACHE.NAME}','$.name'),
('831','47703','{#NGINX.NAME}','$.name'),
('832','47979','{#PHP_FPM.NAME}','$.name'),
('833','48036','{#DATABASE}','$.Database'),
('834','48038','{#MASTER_HOST}','$.Master_Host'),
('835','48302','{#NAME}','$.device_name'),
('836','48302','{#UUID}','$.device_uuid'),
('837','48345','{#NAME}','$.device_name'),
('838','48345','{#UUID}','$.device_uuid');
INSERT INTO host_tag (hosttagid,hostid,tag,value,automatic) VALUES ('1','10504','class','software','0'),
('3','10505','class','software','0'),
('5','10506','class','software','0'),
('7','10507','class','software','0'),
('13','10509','class','software','0'),
('15','10510','class','software','0'),
('17','10511','addr','{#IP}','0'),
('18','10512','addr','{#IP}','0'),
('19','10513','addr','{#IP}','0'),
('20','10514','addr','{#IP}','0'),
('21','10358','class','application','0'),
('22','10358','target','apache-activemq','0'),
('23','10264','class','software','0'),
('24','10264','target','apache','0'),
('25','10265','class','software','0'),
('26','10265','target','apache','0'),
('27','10359','class','service','0'),
('28','10359','target','aranet','0'),
('29','10353','class','application','0'),
('30','10353','target','ceph','0'),
('31','10413','class','software','0'),
('32','10413','target','certificate','0'),
('33','10414','class','service','0'),
('35','10318','class','software','0'),
('36','10318','target','docker','0'),
('37','10322','class','software','0'),
('38','10322','target','elasticsearch','0'),
('39','10324','class','application','0'),
('40','10324','target','etcd','0'),
('41','10360','class','application','0'),
('42','10360','target','ms-exchange','0'),
('43','10361','class','application','0'),
('44','10361','target','ms-exchange','0'),
('45','10169','class','software','0'),
('46','10169','target','java','0'),
('47','10362','class','application','0'),
('48','10362','target','gitlab','0'),
('49','10363','class','application','0'),
('50','10363','target','hadoop','0'),
('51','10308','class','software','0'),
('52','10308','target','haproxy','0'),
('53','10309','class','software','0'),
('54','10309','target','haproxy','0'),
('55','10325','class','application','0'),
('56','10325','target','iis','0'),
('57','10326','class','application','0'),
('58','10326','target','iis','0'),
('59','10379','class','application','0'),
('60','10379','target','jenkins','0'),
('61','10364','class','application','0'),
('62','10364','target','apache-kafka','0'),
('65','10319','class','application','0'),
('66','10319','target','memcached','0'),
('67','10266','class','software','0'),
('68','10266','target','nginx','0'),
('69','10267','class','software','0'),
('70','10267','target','nginx','0'),
('71','10415','class','software','0'),
('72','10415','target','nginx','0'),
('73','10515','class','software','0'),
('74','10515','target','pfsense','0'),
('75','10330','class','application','0'),
('76','10330','target','php-fpm','0'),
('77','10331','class','application','0'),
('78','10331','target','php-fpm','0'),
('79','10300','class','software','0'),
('80','10300','target','rabbitmq','0'),
('81','10301','class','software','0'),
('82','10301','target','rabbitmq','0'),
('83','10302','class','software','0'),
('84','10302','target','rabbitmq','0'),
('85','10303','class','software','0'),
('86','10303','target','rabbitmq','0'),
('87','10382','class','software','0'),
('88','10382','target','microsoft','0'),
('89','10382','target','sharepoint','0'),
('90','10355','class','application','0'),
('91','10355','target','squid','0'),
('92','10416','class','software','0'),
('93','10416','target','systemd','0'),
('94','10260','class','software','0'),
('95','10260','target','tomcat','0'),
('96','10447','class','service','0'),
('97','10447','target','travis','0'),
('98','10365','class','software','0'),
('99','10365','target','vault','0'),
('100','10173','class','software','0'),
('101','10173','target','vmware','0'),
('102','10174','class','software','0'),
('103','10174','target','vmware','0'),
('104','10174','target','vmware-guest','0'),
('105','10175','class','software','0'),
('106','10175','target','vmware','0'),
('107','10175','target','vmware-hypervisor','0'),
('108','10366','class','software','0'),
('109','10366','target','vmware','0'),
('110','10366','target','vmware-fqdn','0'),
('111','10410','class','application','0'),
('112','10410','target','wildfly-domain','0'),
('113','10411','class','application','0'),
('114','10411','target','wildfly-server','0'),
('115','10048','class','software','0'),
('116','10048','target','proxy','0'),
('117','10048','target','zabbix','0'),
('121','10047','class','software','0'),
('122','10047','target','server','0'),
('123','10047','target','zabbix','0'),
('124','10261','class','software','0'),
('125','10261','target','server','0'),
('126','10261','target','zabbix','0'),
('127','10369','class','application','0'),
('129','10380','class','device','0'),
('130','10380','target','cctv','0'),
('131','10380','target','hikvision','0'),
('132','10370','class','database','0'),
('133','10370','target','apache-cassandra','0'),
('134','10323','class','database','0'),
('135','10323','target','clickhouse','0'),
('136','10417','class','software','0'),
('137','10417','target','gridgain','0'),
('138','10381','class','database','0'),
('139','10381','target','ignite','0'),
('140','10448','class','database','0'),
('141','10448','target','influxdb','0'),
('142','10386','class','database','0'),
('143','10386','target','mongodb-node','0'),
('144','10387','class','database','0'),
('145','10387','target','mongodb-cluster','0'),
('146','10327','class','database','0'),
('147','10327','target','mssql','0'),
('148','10316','class','database','0'),
('149','10316','target','mysql','0'),
('150','10320','class','database','0'),
('151','10320','target','mysql','0'),
('152','10317','class','database','0'),
('153','10317','target','mysql','0'),
('154','10335','class','database','0'),
('155','10335','target','oracle','0'),
('156','10328','class','database','0'),
('157','10328','target','oracle','0'),
('158','10357','class','database','0'),
('159','10357','target','postgresql','0'),
('160','10329','class','database','0'),
('161','10329','target','postgresql','0'),
('162','10310','class','database','0'),
('163','10310','target','redis','0'),
('164','10397','class','database','0'),
('165','10397','target','pd','0'),
('166','10397','target','tidb','0'),
('167','10398','class','database','0'),
('168','10398','target','tidb','0'),
('169','10399','class','database','0'),
('170','10399','target','tidb','0'),
('171','10399','target','tikv','0'),
('176','10207','class','network','0'),
('177','10207','target','alcatel','0'),
('178','10207','target','alcatel-timetra','0'),
('179','10254','class','network','0'),
('180','10254','target','arista','0'),
('181','10208','class','network','0'),
('182','10208','target','brocade','0'),
('183','10208','target','brocade-fc','0'),
('184','10210','class','network','0'),
('185','10210','target','brocade','0'),
('186','10210','target','brocade-foundry','0'),
('187','10211','class','network','0'),
('188','10211','target','brocade','0'),
('189','10211','target','brocade-foundry','0'),
('190','10418','class','application','0'),
('191','10418','target','cisco','0'),
('192','10418','target','cisco-asav','0'),
('193','10390','class','network','0'),
('194','10390','target','cisco','0'),
('195','10390','target','cisco-catalyst','0'),
('196','10390','target','cisco-catalyst-3750v2-24fs','0'),
('197','10391','class','network','0'),
('198','10391','target','cisco','0'),
('199','10391','target','cisco-catalyst','0'),
('200','10391','target','cisco-catalyst-3750v2-24ps','0'),
('201','10392','class','network','0'),
('202','10392','target','cisco','0'),
('203','10392','target','cisco-catalyst','0'),
('204','10392','target','cisco-catalyst-3750v2-24ts','0'),
('205','10393','class','network','0'),
('206','10393','target','cisco','0'),
('207','10393','target','cisco-catalyst','0'),
('208','10393','target','cisco-catalyst-3750v2-48ps','0'),
('209','10394','class','network','0'),
('210','10394','target','cisco','0'),
('211','10394','target','cisco-catalyst','0'),
('212','10394','target','cisco-catalyst-3750v2-48ts','0'),
('213','10220','class','network','0'),
('214','10220','target','cisco','0'),
('215','10220','target','cisco-prior','0'),
('216','10220','target','cisco-prior-12.0-3-t','0'),
('217','10218','class','network','0'),
('218','10218','target','cisco','0'),
('219','10218','target','cisco-ios','0'),
('220','10253','class','network','0'),
('221','10253','target','cisco','0'),
('222','10253','target','cisco-ios','0'),
('223','10253','target','cisco-ios-12.0-12.2','0'),
('224','10221','class','network','0'),
('225','10221','target','dell','0'),
('226','10221','target','force-s-series','0'),
('227','10222','class','network','0'),
('228','10222','target','des7200','0'),
('229','10222','target','dlink','0'),
('230','10223','class','network','0'),
('231','10223','target','des-dgs','0'),
('232','10223','target','dlink','0'),
('233','10224','class','network','0'),
('234','10224','target','exos','0'),
('235','10224','target','extreme','0'),
('236','10419','class','network','0'),
('237','10419','target','big-ip','0'),
('238','10419','target','f5','0'),
('239','10226','class','network','0'),
('240','10226','target','generic','0'),
('241','10227','class','network','0'),
('242','10227','target','hp','0'),
('243','10227','target','hp-comware','0'),
('244','10250','class','network','0'),
('245','10250','target','hp','0'),
('246','10250','target','hp-enterprise','0'),
('247','10229','class','network','0'),
('248','10229','target','huawei','0'),
('249','10229','target','huawei-vrp','0'),
('250','10230','class','network','0'),
('251','10230','target','intel','0'),
('252','10230','target','qlogic-infiniband','0'),
('253','10231','class','network','0'),
('254','10231','target','juniper','0'),
('255','10251','class','network','0'),
('256','10251','target','mellanox','0'),
('257','10449','class','network','0'),
('258','10449','target','ccr1009-7g-1c-1spluspc','0'),
('259','10449','target','mikrotik','0'),
('260','10450','class','network','0'),
('261','10450','target','ccr1009-7g-1c-1splus','0'),
('262','10450','target','mikrotik','0'),
('263','10451','class','network','0'),
('264','10451','target','ccr1009-7g-1c-pc','0'),
('265','10451','target','mikrotik','0'),
('266','10452','class','network','0'),
('267','10452','target','ccr1016-12g','0'),
('268','10452','target','mikrotik','0'),
('269','10453','class','network','0'),
('270','10453','target','ccr1016-12s-1splus','0'),
('271','10453','target','mikrotik','0'),
('272','10454','class','network','0'),
('273','10454','target','ccr1036-12g-4s-em','0'),
('274','10454','target','mikrotik','0'),
('275','10455','class','network','0'),
('276','10455','target','ccr1036-12g-4s','0'),
('277','10455','target','mikrotik','0'),
('278','10456','class','network','0'),
('279','10456','target','ccr1036-8g-2splusem','0'),
('280','10456','target','mikrotik','0'),
('281','10457','class','network','0'),
('282','10457','target','ccr1036-8g-2splus','0'),
('283','10457','target','mikrotik','0'),
('284','10458','class','network','0'),
('285','10458','target','ccr1072-1g-8splus','0'),
('286','10458','target','mikrotik','0'),
('287','10459','class','network','0'),
('288','10459','target','ccr2004-16g-2splus','0'),
('289','10459','target','mikrotik','0'),
('290','10460','class','network','0'),
('291','10460','target','ccr2004-1g-12splus2xs','0'),
('292','10460','target','mikrotik','0'),
('293','10461','class','network','0'),
('294','10461','target','crs106-1c-5s','0'),
('295','10461','target','mikrotik','0'),
('296','10462','class','network','0'),
('297','10462','target','crs109-8g-1s-2hnd-in','0'),
('298','10462','target','mikrotik','0'),
('299','10463','class','network','0'),
('300','10463','target','crs112-8g-4s-in','0'),
('301','10463','target','mikrotik','0'),
('302','10464','class','network','0'),
('303','10464','target','crs112-8p-4s-in','0'),
('304','10464','target','mikrotik','0'),
('305','10465','class','network','0'),
('306','10465','target','crs125-24g-1s-2hnd-in','0'),
('307','10465','target','mikrotik','0'),
('308','10466','class','network','0'),
('309','10466','target','crs212-1g-10s-1splusin','0'),
('310','10466','target','mikrotik','0'),
('311','10467','class','network','0'),
('312','10467','target','crs305-1g-4splusin','0'),
('313','10467','target','mikrotik','0'),
('314','10468','class','network','0'),
('315','10468','target','crs309-1g-8splusin','0'),
('316','10468','target','mikrotik','0'),
('317','10469','class','network','0'),
('318','10469','target','crs312-4cplus8xg-rm','0'),
('319','10469','target','mikrotik','0'),
('320','10470','class','network','0'),
('321','10470','target','crs317-1g-16splusrm','0'),
('322','10470','target','mikrotik','0'),
('323','10471','class','network','0'),
('324','10471','target','crs326-24g-2splusin','0'),
('325','10471','target','mikrotik','0'),
('326','10472','class','network','0'),
('327','10472','target','crs326-24g-2splusrm','0'),
('328','10472','target','mikrotik','0'),
('329','10473','class','network','0'),
('330','10473','target','crs326-24splus2qplusrm','0'),
('331','10473','target','mikrotik','0'),
('332','10474','class','network','0'),
('333','10474','target','crs328-24p-4splusrm','0'),
('334','10474','target','mikrotik','0'),
('335','10475','class','network','0'),
('336','10475','target','crs328-4c-20s-4splusrm','0'),
('337','10475','target','mikrotik','0'),
('338','10476','class','network','0'),
('339','10476','target','crs354-48g-4splus2qplusrm','0'),
('340','10476','target','mikrotik','0'),
('341','10477','class','network','0'),
('342','10477','target','crs354-48p-4splus2qplusrm','0'),
('343','10477','target','mikrotik','0'),
('344','10478','class','network','0'),
('345','10478','target','css326-24g-2splusrm','0'),
('346','10478','target','mikrotik','0'),
('347','10479','class','network','0'),
('348','10479','target','css610-8g-2splusin','0'),
('349','10479','target','mikrotik','0'),
('350','10480','class','network','0'),
('351','10480','target','fiberbox','0'),
('352','10480','target','mikrotik','0'),
('353','10481','class','network','0'),
('354','10481','target','mikrotik','0'),
('355','10481','target','powerbox-pro','0'),
('356','10482','class','network','0'),
('357','10482','target','mikrotik','0'),
('358','10482','target','powerbox','0'),
('359','10483','class','network','0'),
('360','10483','target','mikrotik','0'),
('361','10483','target','rb1100ahx4-dude-edition','0'),
('362','10484','class','network','0'),
('363','10484','target','mikrotik','0'),
('364','10484','target','rb1100ahx4','0'),
('365','10485','class','network','0'),
('366','10485','target','mikrotik','0'),
('367','10485','target','rb2011uias-in','0'),
('368','10486','class','network','0'),
('369','10486','target','mikrotik','0'),
('370','10486','target','rb2011uias-rm','0'),
('371','10487','class','network','0'),
('372','10487','target','mikrotik','0'),
('373','10487','target','rb2011il-in','0'),
('374','10488','class','network','0'),
('375','10488','target','mikrotik','0'),
('376','10488','target','rb2011il-rm','0'),
('377','10489','class','network','0'),
('378','10489','target','mikrotik','0'),
('379','10489','target','rb2011ils-in','0'),
('380','10490','class','network','0'),
('381','10490','target','mikrotik','0'),
('382','10490','target','rb260gsp','0'),
('383','10491','class','network','0'),
('384','10491','target','mikrotik','0'),
('385','10491','target','rb260gs','0'),
('386','10492','class','network','0'),
('387','10492','target','mikrotik','0'),
('388','10492','target','rb3011uias-rm','0'),
('389','10493','class','network','0'),
('390','10493','target','mikrotik','0'),
('391','10493','target','rb4011igsplusrm','0'),
('392','10494','class','network','0'),
('393','10494','target','mikrotik','0'),
('394','10494','target','rb5009ugplussplusin','0'),
('395','10495','class','network','0'),
('396','10495','target','hex-poe-lite','0'),
('397','10495','target','mikrotik','0'),
('398','10496','class','network','0'),
('399','10496','target','hex-poe','0'),
('400','10496','target','mikrotik','0'),
('401','10497','class','network','0'),
('402','10497','target','hex-s','0'),
('403','10497','target','mikrotik','0'),
('404','10498','class','network','0'),
('405','10498','target','hex-lite','0'),
('406','10498','target','mikrotik','0'),
('407','10499','class','network','0'),
('408','10499','target','hex','0'),
('409','10499','target','mikrotik','0'),
('410','10500','class','network','0'),
('411','10500','target','mikrotik','0'),
('412','10500','target','netpower-15fr','0'),
('413','10501','class','network','0'),
('414','10501','target','mikrotik','0'),
('415','10501','target','netpower-16p','0'),
('416','10502','class','network','0'),
('417','10502','target','mikrotik','0'),
('418','10502','target','netpower-lite-7r','0'),
('419','10233','class','network','0'),
('420','10233','target','mikrotik','0'),
('421','10371','class','power','0'),
('422','10371','target','morningstar','0'),
('423','10372','class','power','0'),
('424','10372','target','morningstar','0'),
('425','10373','class','power','0'),
('426','10373','target','morningstar','0'),
('427','10374','class','power','0'),
('428','10374','target','morningstar','0'),
('429','10375','class','power','0'),
('430','10375','target','morningstar','0'),
('431','10376','class','power','0'),
('432','10376','target','morningstar','0'),
('433','10377','class','power','0'),
('434','10377','target','morningstar','0'),
('435','10234','class','network','0'),
('436','10234','target','fastpath','0'),
('437','10234','target','netgear','0'),
('438','10235','class','network','0'),
('439','10235','target','qsw','0'),
('440','10235','target','qtech','0'),
('441','10236','class','network','0'),
('442','10236','target','tp-link','0'),
('443','10237','class','network','0'),
('444','10237','target','airos','0'),
('445','10237','target','ubiquiti','0'),
('446','10503','class','network','0'),
('447','10503','target','vmware-sd-wan-velocloud','0'),
('448','10420','class','network','0'),
('449','10420','target','aam1212-51','0'),
('450','10420','target','dslam','0'),
('451','10420','target','zyxel','0'),
('452','10421','class','network','0'),
('453','10421','target','es3500-8pd','0'),
('454','10421','target','switch','0'),
('455','10421','target','zyxel','0'),
('456','10422','class','network','0'),
('457','10422','target','gs-4012f','0'),
('458','10422','target','switch','0'),
('459','10422','target','zyxel','0'),
('460','10423','class','network','0'),
('461','10423','target','dslam','0'),
('462','10423','target','ies-5000','0'),
('463','10423','target','ies-5005','0'),
('464','10423','target','zyxel','0'),
('465','10424','class','network','0'),
('466','10424','target','dslam','0'),
('467','10424','target','ies-6000','0'),
('468','10424','target','zyxel','0'),
('469','10425','class','network','0'),
('470','10425','target','aam1248-51','0'),
('471','10425','target','dslam','0'),
('472','10425','target','zyxel','0'),
('473','10426','class','network','0'),
('474','10426','target','mes-3528','0'),
('475','10426','target','switch','0'),
('476','10426','target','zyxel','0'),
('477','10427','class','network','0'),
('478','10427','target','mes3500-10','0'),
('479','10427','target','switch','0'),
('480','10427','target','zyxel','0'),
('481','10428','class','network','0'),
('482','10428','target','mes3500-24','0'),
('483','10428','target','switch','0'),
('484','10428','target','zyxel','0'),
('485','10429','class','network','0'),
('486','10429','target','mgs-3712','0'),
('487','10429','target','switch','0'),
('488','10429','target','zyxel','0'),
('489','10430','class','network','0'),
('490','10430','target','mgs-3712f','0'),
('491','10430','target','switch','0'),
('492','10430','target','zyxel','0'),
('493','10431','class','network','0'),
('494','10431','target','mes3500-24s','0'),
('495','10431','target','switch','0'),
('496','10431','target','zyxel','0'),
('497','10432','class','network','0'),
('498','10432','target','mgs3520-28','0'),
('499','10432','target','mgs3520-28f','0'),
('500','10432','target','switch','0'),
('501','10432','target','zyxel','0'),
('502','10433','class','network','0'),
('503','10433','target','switch','0'),
('504','10433','target','xgs-4728f','0'),
('505','10433','target','zyxel','0'),
('506','10076','class','os','0'),
('507','10076','target','aix','0'),
('508','10075','class','os','0'),
('509','10075','target','freebsd','0'),
('510','10077','class','os','0'),
('511','10077','target','hp-ux','0'),
('512','10001','class','os','0'),
('513','10001','target','linux','0'),
('514','10343','class','os','0'),
('515','10343','target','linux','0'),
('516','10285','class','os','0'),
('517','10285','target','linux','0'),
('518','10248','class','os','0'),
('519','10248','target','linux','0'),
('520','10079','class','os','0'),
('521','10079','target','macos','0'),
('522','10074','class','os','0'),
('523','10074','target','openbsd','0'),
('524','10078','class','os','0'),
('525','10078','target','solaris','0'),
('526','10081','class','os','0'),
('527','10081','target','windows','0'),
('528','10351','class','os','0'),
('529','10351','target','windows','0'),
('530','10249','class','os','0'),
('531','10249','target','windows','0'),
('532','10400','class','power','0'),
('533','10400','target','apc','0'),
('534','10400','target','apc-ups-galaxy-3500','0'),
('535','10401','class','power','0'),
('536','10401','target','apc','0'),
('537','10401','target','apc-smart-ups-2200-rm','0'),
('538','10402','class','power','0'),
('539','10402','target','apc','0'),
('540','10402','target','apc-smart-ups-3000-xlm','0'),
('541','10403','class','power','0'),
('542','10403','target','apc','0'),
('543','10403','target','apc-smart-ups-rt-1000-rm-xl','0'),
('544','10404','class','power','0'),
('545','10404','target','apc','0'),
('546','10404','target','apc-smart-ups-rt-1000-xl','0'),
('547','10412','class','power','0'),
('548','10412','target','apc','0'),
('549','10412','target','apc-smart-ups-srt-5000','0'),
('550','10406','class','power','0'),
('551','10406','target','apc','0'),
('552','10406','target','apc-smart-ups-srt-8000','0'),
('553','10395','class','power','0'),
('554','10395','target','apc','0'),
('555','10407','class','power','0'),
('556','10407','target','apc','0'),
('557','10407','target','apc-ups-symmetra-lx','0'),
('558','10408','class','power','0'),
('559','10408','target','apc','0'),
('560','10408','target','apc-ups-symmetra-rm','0'),
('561','10409','class','power','0'),
('562','10409','target','apc','0'),
('563','10409','target','apc-ups-symmetra-rx','0'),
('564','10385','class','hardware','0'),
('565','10385','class','storage','0'),
('566','10385','target','huawei','0'),
('567','10385','target','huawei-oceanstor-5300-v5','0'),
('568','10396','class','network','0'),
('569','10396','target','netapp','0'),
('570','10396','target','netapp-aff-a700','0'),
('571','10378','class','hardware','0'),
('572','10378','target','netapp','0'),
('573','10378','target','netapp-fas3220','0'),
('574','10321','class','hardware','0'),
('575','10321','target','server','0'),
('576','10434','class','hardware','0'),
('577','10434','target','cisco','0'),
('578','10434','target','cisco-ucs-manager','0'),
('579','10304','class','hardware','0'),
('580','10304','target','cisco','0'),
('581','10304','target','cisco-ucs','0'),
('582','10435','class','hardware','0'),
('583','10435','target','dell','0'),
('584','10435','target','dell poweredge','0'),
('585','10436','class','hardware','0'),
('586','10436','target','dell','0'),
('587','10436','target','dell poweredge','0'),
('588','10437','class','hardware','0'),
('589','10437','target','dell','0'),
('590','10437','target','dell poweredge','0'),
('591','10438','class','hardware','0'),
('592','10438','target','dell','0'),
('593','10438','target','dell poweredge','0'),
('594','10439','class','hardware','0'),
('595','10439','target','dell','0'),
('596','10439','target','dell poweredge','0'),
('597','10440','class','hardware','0'),
('598','10440','target','dell','0'),
('599','10440','target','dell poweredge','0'),
('600','10441','class','hardware','0'),
('601','10441','target','dell','0'),
('602','10441','target','dell poweredge','0'),
('603','10442','class','hardware','0'),
('604','10442','target','dell','0'),
('605','10442','target','dell poweredge','0'),
('606','10255','class','hardware','0'),
('607','10255','target','dell','0'),
('608','10255','target','idrac','0'),
('609','10443','class','hardware','0'),
('610','10443','target','hp','0'),
('612','10444','class','hardware','0'),
('613','10444','target','hp','0'),
('615','10445','class','hardware','0'),
('616','10445','target','hp','0'),
('618','10446','class','hardware','0'),
('619','10446','target','hp','0'),
('621','10256','class','hardware','0'),
('622','10256','target','hp','0'),
('623','10256','target','ilo','0'),
('624','10258','class','hardware','0'),
('625','10258','target','ibm','0'),
('626','10258','target','imm','0'),
('627','10171','class','hardware','0'),
('628','10171','target','intel','0'),
('629','10171','target','intel-sr1530','0'),
('630','10172','class','hardware','0'),
('631','10172','target','intel','0'),
('632','10172','target','intel-sr1630','0'),
('633','10259','class','hardware','0'),
('634','10259','target','aten','0'),
('635','10259','target','supermicro','0'),
('636','10336','class','voip','0'),
('637','10336','target','asterisk','0'),
('638','10262','class','software','0'),
('639','10262','target','proxy','0'),
('640','10262','target','zabbix','0'),
('641','10414','target','cloudflare','0'),
('642','10516','class','service','0'),
('643','10516','target','openweathermap','0'),
('644','10517','class','software','0'),
('645','10517','target','proxmox','0'),
('646','10518','class','hardware','0'),
('648','10519','class','database','0'),
('649','10519','target','cockroachdb','0'),
('650','10520','class','software','0'),
('651','10520','target','envoy-proxy','0'),
('652','10521','class','software','0'),
('653','10521','target','consul','0'),
('654','10522','class','software','0'),
('655','10522','target','consul','0'),
('656','10523','address','{#NODE_ADDRESS}','0'),
('657','10523','datacenter','{#NODE_DATACENTER}','0'),
('658','10524','class','storage','0'),
('659','10524','target','hpe','0'),
('660','10524','target','msa-2040','0'),
('661','10525','class','storage','0'),
('662','10525','target','hpe','0'),
('663','10525','target','msa-2060','0'),
('664','10526','class','storage','0'),
('665','10526','target','hpe','0'),
('666','10526','target','primera','0'),
('667','10527','class','software','0'),
('668','10527','target','aws','0'),
('669','10527','target','ec2','0'),
('670','10528','class','software','0'),
('671','10528','target','opnsense','0'),
('672','10369','target','zookeeper','0'),
('673','10529','class','software','0'),
('674','10529','target','aws','0'),
('675','10529','target','rds','0'),
('676','10530','class','software','0'),
('677','10530','target','aws','0'),
('678','10530','target','s3','0'),
('679','10531','class','software','0'),
('680','10531','target','azure','0'),
('681','10532','class','software','0'),
('682','10532','target','azure','0'),
('683','10533','location','{#LOCATION}','0'),
('684','10533','os','{#OS}','0'),
('685','10533','resource-group','{#GROUP}','0'),
('686','10533','size','{#SIZE}','0'),
('687','10534','class','hardware','0'),
('688','10534','target','hpe','0'),
('689','10534','target','synergy','0'),
('690','10535','class','software','0'),
('691','10535','target','aws','0'),
('692','10539','class','software','0'),
('693','10539','target','azure','0'),
('694','10540','class','software','0'),
('695','10540','target','azure','0'),
('696','10541','location','{#LOCATION}','0'),
('697','10541','resource-group','{#GROUP}','0'),
('698','10541','size','{#SIZE}','0'),
('699','10541','version','{#VERSION}','0'),
('700','10543','class','software','0'),
('701','10543','target','azure','0'),
('702','10544','class','software','0'),
('703','10544','target','azure','0'),
('704','10545','location','{#LOCATION}','0'),
('705','10545','resource-group','{#GROUP}','0'),
('706','10545','size','{#SIZE}','0'),
('707','10545','version','{#VERSION}','0'),
('708','10546','class','network','0'),
('709','10546','target','cisco-meraki-dashboard','0'),
('710','10547','class','network','0'),
('711','10547','target','cisco-meraki-dashboard','0'),
('712','10548','class','network','0'),
('713','10548','target','cisco-meraki-dashboard','0'),
('714','10549','model','{#MODEL}','0'),
('715','10549','serial-number','{#SERIAL}','0'),
('716','10551','class','network','0'),
('717','10551','target','cisco','0'),
('718','10551','target','cisco-nexus','0'),
('719','10551','target','n9000','0'),
('720','10552','class','software','0'),
('721','10552','target','controlm','0'),
('722','10553','class','software','0'),
('723','10553','target','controlm','0'),
('724','10555','class','software','0'),
('725','10555','target','veeam','0'),
('726','10556','class','software','0'),
('727','10556','target','veeam','0'),
('728','10539','target','mysql','0'),
('729','10540','target','mysql','0'),
('730','10543','target','postgresql','0'),
('731','10544','target','postgresql','0'),
('732','10557','class','software','0'),
('733','10557','target','azure','0'),
('734','10557','target','mssql','0'),
('735','10558','class','software','0'),
('736','10558','target','azure','0'),
('737','10558','target','mssql','0'),
('738','10559','location','{#LOCATION}','0'),
('739','10559','resource-group','{#GROUP}','0'),
('740','10559','size','{#SIZE}','0'),
('741','10559','version','{#VERSION}','0'),
('742','10560','class','software','0'),
('743','10560','target','process','0'),
('744','10561','class','software','0'),
('745','10561','target','zabbix-agent','0'),
('746','10562','class','software','0'),
('747','10562','target','zabbix-agent','0'),
('748','10563','class','network','0'),
('749','10563','target','snmp','0'),
('750','10564','class','network','0'),
('751','10564','target','icmp','0'),
('752','10565','class','storage','0'),
('753','10565','target','hdd','0'),
('754','10565','target','ssd','0'),
('755','10566','class','storage','0'),
('756','10566','target','hdd','0'),
('757','10566','target','ssd','0'),
('758','10504','target','api-server','0'),
('759','10504','target','kubernetes','0'),
('760','10505','target','controller-manager','0'),
('761','10505','target','kubernetes','0'),
('762','10506','target','kubelet','0'),
('763','10506','target','kubernetes','0'),
('764','10507','target','kubernetes','0'),
('765','10507','target','nodes','0'),
('766','10567','addr','{#IP}','0'),
('767','10567','arch','{#ARCH}','0'),
('768','10567','os','{#OS}','0'),
('769','10567','roles','{#ROLES}','0'),
('770','10509','target','kubernetes','0'),
('771','10509','target','scheduler','0'),
('772','10510','target','cluster-state','0'),
('773','10510','target','kubernetes','0'),
('774','10568','class','software','0'),
('775','10568','target','azure','0'),
('776','10568','target','cosmosdb','0'),
('777','10568','target','mongodb','0'),
('778','10569','location','{#LOCATION}','0'),
('779','10569','resource-group','{#GROUP}','0'),
('780','10569','version','{#VERSION}','0'),
('781','10570','class','cloud','0'),
('782','10570','target','gcp','0'),
('783','10570','target','google-cloud-platform','0'),
('784','10571','class','cloud','0'),
('785','10571','target','cloudsql','0'),
('786','10571','target','gcp','0'),
('787','10571','target','google-cloud-platform','0'),
('788','10571','target','mssql','0'),
('789','10572','class','cloud','0'),
('790','10572','target','cloudsql','0'),
('791','10572','target','gcp','0'),
('792','10572','target','google-cloud-platform','0'),
('793','10572','target','mssql','0'),
('794','10572','target','replica','0'),
('795','10573','class','cloud','0'),
('796','10573','target','cloudsql','0'),
('797','10573','target','gcp','0'),
('798','10573','target','google-cloud-platform','0'),
('799','10573','target','mysql','0'),
('800','10574','class','cloud','0'),
('801','10574','target','cloudsql','0'),
('802','10574','target','gcp','0'),
('803','10574','target','google-cloud-platform','0'),
('804','10574','target','mysql','0'),
('805','10574','target','replica','0'),
('806','10575','class','cloud','0'),
('807','10575','target','cloudsql','0'),
('808','10575','target','gcp','0'),
('809','10575','target','google-cloud-platform','0'),
('810','10575','target','postgresql','0'),
('811','10576','class','cloud','0'),
('812','10576','target','cloudsql','0'),
('813','10576','target','gcp','0'),
('814','10576','target','google-cloud-platform','0'),
('815','10576','target','postgresql','0'),
('816','10576','target','replica','0'),
('817','10577','class','cloud','0'),
('818','10577','target','compute-engine','0'),
('819','10577','target','gce','0'),
('820','10577','target','gcp','0'),
('821','10577','target','google-cloud-platform','0'),
('822','10578','audit','{#MSSQL.AUDITED}','0'),
('823','10578','db-version','{#CLOUD_SQL.INSTANCE.DB.TYPE}','0'),
('824','10578','high-availability','{#CLOUD_SQL.INSTANCE.HIGH.AVAIL}','0'),
('825','10578','instance-type','{#CLOUD_SQL.INSTANCE.TYPE}','0'),
('826','10578','project','{#GCP.PROJECT.ID}','0'),
('827','10578','service','cloudsql','0'),
('828','10578','service','gcp','0'),
('829','10578','service','mssql','0'),
('830','10578','tier','{#CLOUD_SQL.INSTANCE.TIER}','0'),
('831','10578','zone','{#CLOUD_SQL.INSTANCE.ZONE}','0'),
('832','10579','db-version','{#CLOUD_SQL.INSTANCE.DB.TYPE}','0'),
('833','10579','high-availability','{#CLOUD_SQL.INSTANCE.HIGH.AVAIL}','0'),
('834','10579','instance-type','{#CLOUD_SQL.INSTANCE.TYPE}','0'),
('835','10579','project','{#GCP.PROJECT.ID}','0'),
('836','10579','service','cloudsql','0'),
('837','10579','service','gcp','0'),
('838','10579','service','mysql','0'),
('839','10579','tier','{#CLOUD_SQL.INSTANCE.TIER}','0'),
('840','10579','zone','{#CLOUD_SQL.INSTANCE.ZONE}','0'),
('841','10580','db-version','{#CLOUD_SQL.INSTANCE.DB.TYPE}','0'),
('842','10580','high-availability','{#CLOUD_SQL.INSTANCE.HIGH.AVAIL}','0'),
('843','10580','instance-type','{#CLOUD_SQL.INSTANCE.TYPE}','0'),
('844','10580','project','{#GCP.PROJECT.ID}','0'),
('845','10580','service','cloudsql','0'),
('846','10580','service','gcp','0'),
('847','10580','service','pgsql','0'),
('848','10580','tier','{#CLOUD_SQL.INSTANCE.TIER}','0'),
('849','10580','zone','{#CLOUD_SQL.INSTANCE.ZONE}','0'),
('850','10581','instance-type','{#GCE.INSTANCE.TYPE}','0'),
('851','10581','machine-type','{#GCE.MACHINE.TYPE}','0'),
('852','10581','project','{#GCP.PROJECT.ID}','0'),
('853','10581','service','gce','0'),
('854','10581','service','gcp','0'),
('855','10581','zone','{#GCE.INSTANCE.ZONE}','0'),
('856','10443','target','hp-bl460','0'),
('857','10444','target','hp-bl920','0'),
('858','10445','target','hp-dl360','0'),
('859','10446','target','hp-dl380','0'),
('860','10582','class','software','0'),
('861','10582','target','aws','0'),
('862','10582','target','cost','0'),
('863','10583','class','software','0'),
('864','10583','target','aws','0'),
('865','10583','target','ecs','0'),
('866','10584','class','software','0'),
('867','10584','target','aws','0'),
('868','10584','target','ecs','0'),
('869','10586','class','cloud','0'),
('870','10586','target','openstack','0'),
('871','10587','class','cloud','0'),
('872','10587','target','nova','0'),
('873','10587','target','openstack','0'),
('874','10589','class','database','0'),
('875','10589','target','postgresql','0'),
('876','10590','class','network','0'),
('877','10590','target','cisco-sdwan-monitor','0'),
('878','10591','class','network','0'),
('879','10591','target','cisco-sdwan-device','0'),
('880','10592','model','{#MODEL}','0'),
('881','10593','class','application','0'),
('882','10593','target','mantis-bt','0'),
('883','10594','class','software','0'),
('884','10594','target','nomad','0'),
('885','10595','class','software','0'),
('886','10595','target','nomad-client','0'),
('887','10596','class','software','0'),
('888','10596','target','nomad-server','0'),
('889','10597','class','{#CLIENT.CLASS}','0'),
('890','10597','dc','{#CLIENT.DC}','0'),
('891','10597','drained','{#CLIENT.DRAIN.STATE}','0'),
('892','10597','os','{#CLIENT.OS}','0'),
('893','10597','scheduling','{#CLIENT.SCHEDULE.ELIGIBILITY}','0'),
('894','10597','service','nomad-client','0'),
('895','10597','version','{#CLIENT.VERSION}','0'),
('896','10598','dc','{#SERVER.DC}','0'),
('897','10598','region','{#SERVER.REGION}','0'),
('898','10598','role','{#SERVER.ROLE}','0'),
('899','10598','service','nomad-server','0'),
('900','10598','version','{#SERVER.VERSION}','0'),
('901','10599','class','application','0'),
('902','10599','target','acronis','0'),
('903','10599','target','cyber-protect-cloud','0'),
('904','10600','class','application','0'),
('905','10600','target','acronis','0'),
('906','10600','target','cyber-protect-cloud','0'),
('907','10602','class','application','0'),
('908','10602','target','nextcloud','0'),
('909','10536','name','{#AWS.EC2.INSTANCE.NAME}','0'),
('910','10536','region','{#AWS.EC2.INSTANCE.REGION}','0'),
('911','10536','service','ec2','0'),
('912','10585','name','{#AWS.ECS.CLUSTER.NAME}','0'),
('913','10585','region','{#AWS.ECS.CLUSTER.REGION}','0'),
('914','10585','service','ecs','0'),
('915','10537','name','{#AWS.RDS.INSTANCE.ID}','0'),
('916','10537','region','{#AWS.RDS.REGION}','0'),
('917','10537','service','rds','0'),
('918','10538','name','{#AWS.S3.NAME}','0'),
('920','10538','service','s3','0'),
('921','10603','class','network','0'),
('922','10603','target','fortigate','0'),
('923','10603','target','fortinet','0'),
('924','10604','class','network','0'),
('925','10604','target','fortigate','0'),
('926','10604','target','fortinet','0'),
('927','10605','class','hardware','0'),
('928','10605','target','hpe','0'),
('929','10605','target','ilo','0'),
('930','10606','class','software','0'),
('931','10606','target','azure','0'),
('932','10606','target','cost','0'),
('933','10518','target','truenas-core','0'),
('934','10607','class','software','0'),
('935','10607','target','alb','0'),
('936','10607','target','aws','0'),
('937','10607','target','elb','0'),
('938','10608','dns-name','{#AWS.ELB.DNS.NAME}','0'),
('939','10608','name','{#AWS.ELB.NAME}','0'),
('940','10608','region','{#AWS.ELB.REGION}','0'),
('941','10608','service','elb','0'),
('942','10608','type','{#AWS.ELB.TYPE}','0'),
('943','10609','class','database','0'),
('944','10609','target','mssql','0'),
('945','10610','class','database','0'),
('946','10610','target','yugabytedb','0'),
('947','10611','class','database','0'),
('948','10611','target','yugabytedb','0'),
('949','10612','cluster','{#CLUSTER.NAME}','0'),
('950','10613','class','network','0'),
('951','10613','target','checkpoint','0'),
('952','10613','target','firewall','0'),
('953','10613','target','ngfw','0'),
('954','10614','class','cloud','0'),
('955','10614','target','oci','0'),
('956','10614','target','oracle-cloud-infrastructure','0'),
('957','10615','class','cloud','0'),
('958','10615','target','oci','0'),
('959','10615','target','oracle-cloud-infrastructure','0'),
('960','10616','class','cloud','0'),
('961','10616','target','oci','0'),
('962','10616','target','oracle-cloud-infrastructure','0'),
('963','10617','class','cloud','0'),
('964','10617','target','oci','0'),
('965','10617','target','oracle-cloud-infrastructure','0'),
('966','10618','class','cloud','0'),
('967','10618','target','oci','0'),
('968','10618','target','oracle-cloud-infrastructure','0'),
('969','10619','class','cloud','0'),
('970','10619','target','oci','0'),
('971','10619','target','oracle-cloud-infrastructure','0'),
('972','10620','class','cloud','0'),
('973','10620','target','oci','0'),
('974','10620','target','oracle-cloud-infrastructure','0'),
('975','10621','oci-block-vol-name','{#NAME}','0'),
('976','10622','oci-boot-vol-name','{#NAME}','0'),
('977','10623','oci-compute-name','{#NAME}','0'),
('978','10624','oci-aut-db-name','{#NAME}','0'),
('979','10625','oci-obj-store-name','{#NAME}','0'),
('980','10626','oci-vcn-name','{#NAME}','0'),
('981','10627','class','software','0'),
('982','10627','target','aws','0'),
('983','10627','target','elb','0'),
('984','10627','target','nlb','0'),
('985','10628','class','application','0'),
('986','10628','target','browser','0'),
('987','10629','class','application','0'),
('988','10629','target','github','0'),
('989','10629','target','repository','0'),
('990','10630','class','software','0'),
('991','10630','target','jira-datacenter','0'),
('992','10631','class','application','0'),
('993','10631','target','ms365','0'),
('994','10632','class','software','0'),
('995','10632','target','aws','0'),
('996','10632','target','lambda','0'),
('997','10633','name','{#AWS.LAMBDA.NAME}','0'),
('998','10633','region','{#AWS.LAMBDA.REGION}','0'),
('999','10633','runtime','{#AWS.LAMBDA.RUNTIME}','0'),
('1000','10633','service','lambda','0'),
('1001','10634','class','software','0'),
('1002','10634','target','azure','0'),
('1003','10635','location','{#LOCATION}','0'),
('1004','10635','orchestration','{#ORCHESTRATION}','0'),
('1005','10635','os','{#OS}','0'),
('1006','10635','resource-group','{#GROUP}','0'),
('1007','10621','oci-compartment-id','{#COMPARTMENT}','0'),
('1008','10622','oci-compartment-id','{#COMPARTMENT}','0'),
('1009','10623','oci-compartment-id','{#COMPARTMENT}','0'),
('1010','10624','oci-compartment-id','{#COMPARTMENT}','0'),
('1011','10625','oci-compartment-id','{#COMPARTMENT}','0'),
('1012','10626','oci-compartment-id','{#COMPARTMENT}','0'),
('1013','10636','class','hardware','0'),
('1014','10636','class','storage','0'),
('1015','10636','target','huawei','0'),
('1016','10636','target','huawei-oceanstor-v6','0'),
('1017','10637','class','software','0'),
('1018','10637','target','apache','0'),
('1019','10638','class','software','0'),
('1020','10638','target','certificate','0'),
('1021','10639','class','software','0'),
('1022','10639','target','nginx','0'),
('1023','10640','class','software','0'),
('1024','10640','target','cluster','0'),
('1025','10640','target','nutanix','0'),
('1026','10640','target','prism-element','0'),
('1027','10641','class','software','0'),
('1028','10641','target','host','0'),
('1029','10641','target','nutanix','0'),
('1030','10641','target','prism-element','0'),
('1031','10642','class','software','0'),
('1032','10642','target','nutanix','0'),
('1033','10642','target','prism-element','0'),
('1034','10645','class','application','0'),
('1035','10645','target','php-fpm','0'),
('1036','10646','class','database','0'),
('1037','10646','target','mysql','0'),
('1038','10647','class','database','0'),
('1039','10647','target','mysql','0'),
('1040','10648','class','database','0'),
('1041','10648','target','postgresql','0'),
('1042','10649','class','database','0'),
('1043','10649','target','postgresql','0'),
('1044','10650','class','hardware','0'),
('1045','10650','target','nvidia','0'),
('1046','10651','class','hardware','0'),
('1047','10651','target','nvidia','0'),
('1048','10652','class','network','0'),
('1049','10652','target','juniper','0'),
('1050','10652','target','mx','0');
