vCO Workflow Script to Create a vCenter SNMP Device

The following is the vCO Workflow Script to Create a vCenter SNMP Device

 

var strAddress;
	strAddress = "vCenterServer.vCOFlow.co.uk";

var strName;
	strName = "vCenter Server";

var intPort;
	intPort = 4000;

var strCommunity;
	strCommunity = "public";

var strVersion;
	strVersion = "V2C";

var objSNMPSnmpDevice;
	objSNMPSnmpDevice = SnmpService.createSnmpDeviceV1V2c(strAddress, strName, intPort, strCommunity, strVersion);

Leave a Reply