Service Operations Insight

 View Only
  • 1.  Acknowledge equal true, Connector Universal

    Posted Apr 05, 2016 07:10 AM

    Hi Experts,

    It is possible to use, knowledge equals true in alerts imported by universal connector?



  • 2.  Re: Acknowledge equal true, Connector Universal
    Best Answer

    Posted Apr 05, 2016 08:05 AM

    Hi,

     

    UC do not import any alerts from MDR, it is used to send alerts to SOI using command prompt/batch file etc..

     

    If you are using xml to send alerts then you can add following line in xml and alerts send to SOI will be seen as already acknowledge.

     

    property tag="IsAcknowledged" value="True"/

     

    Thanks,

    Ashay



  • 3.  Re: Acknowledge equal true, Connector Universal

    Posted Apr 05, 2016 08:13 AM

    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



  • 4.  Re: Acknowledge equal true, Connector Universal

    Posted Apr 05, 2016 08:34 AM

    Thanks :-)