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;
}