Hi,
For example you can use following XML to create CI
----------------------------------------------------------------
universalAdd_ComputerSystem.xml
----------------------------------------------------------------
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<Events>
<Event>
<property tag="eventType" value="AddCIEvent" />
<property tag="MdrElementID" value="MyMachine21" />
<property tag="className" value="ComputerSystem" />
<property tag="Label" value="MyMachine21" />
<property tag="Description" value="Description of an Universal Connector Entity" />
<property tag="AdministrativeStatus" value="Managed" />
<property tag="Vendor" value="Dell" />
<property tag="PrimaryDnsName" value="MyMachine21.ca.com" />
<property tag="ComputerName" value="MyMachine21" />
<property tag="SysName" value="MyMachine21" />
<property tag="MemoryInGB" value="1024" />
<property tag="usm-core2:NumberOfPhysicalDrives" value="2" />
</Event>
</Events>
----------------------------------------------------------------
Command to create CI in SOI is: GCEventAddCmd.bat -hlocalhost:7090 -funiversalAdd_ComputerSystem.xml
And then Send alert using following xml
-------------------------------------------------------------
universalAdd_Alerts.xml
-------------------------------------------------------------
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<Events>
<Event>
<property tag="eventType" value="StatusEvent"/>
<property tag="MdrElementID" value="A00002"/>
<property tag="className" value="Alert"/>
<property tag="AlertedMdrElementID" value="MyMachine21"/>
<property tag="IsAcknowledged" value="True"/>
<property tag="AlertType" value="Risk"/>
<property tag="Severity" value="Minor"/>
<property tag="Summary" value="MyMachine21 has a infrastructure alarm.." />
<property tag="Message" value="The Detailed message associated with this alert.." />
</Event>
</Events>
----------------------------------------------------------------
Command to send alert is: GCEventAddCmd.bat -hlocalhost:7090 -funiversalAdd_Alerts.xml
Thanks,
Ashay