B Enterprise Manager Event Samples

This appendix contains samples that show the XML format of events from Enterprise Manager that conform to the schemas defined in Appendix C, "Enterprise Manager Event Format". These samples can be used to help identify the fields to map when customizing the event templates. They can also be used to test your customizations once they have been built.

B.1 Create Sample

Listed below is a sample of the XML format generated by Enterprise Manager for TEC create operations.

<EMEvent xmlns="http://xmlns.oracle.com/sysman/connector">
    <ConnectorGUID>00C89B1A8CAB4C6B8D4377369524A2F4</ConnectorGUID>
    <NotificationRuleOwner>SYSMAN</NotificationRuleOwner>
    <NotificationRuleName>TEC Rule</NotificationRuleName>
    <Property>
        <Name>Notification_Method_Name</Name>
        <Value>TEC</Value>
    </Property>
    <Property>
        <Name>AuthenticationType</Name>
        <Value>HTTPBasicAuthentication</Value>
    </Property>
    <Property>
        <Name>IsNewTargetType</Name>
        <Value>yes</Value>
    </Property>
    <SystemAttributes>
        <EventClass>metric_alert</EventClass>
        <EventID>B6A5393A929432A0E040020A7801445B</EventID>
        <SequenceID>B6A5393A929532A0E040020A7801445B</SequenceID>
        <ReportedDate>2012-01-19T17:32:16.000-06:00</ReportedDate>
        <DisplayTZ>America/Chicago</DisplayTZ>
        <EventName>Load:memUsedPct</EventName>
        <Severity>Critical</Severity>
        <SeverityCode>CRITICAL</SeverityCode>
        <SourceInfo>
            <SourceObjInfo>
                <ObjID>D93A2E4E1622013D74D9534ECB090944</ObjID>
                <ObjName>orcsvr1.iwavesoftware.com</ObjName>
                <ObjOwner>SYSMAN</ObjOwner>
                <SourceObjType>TARGET</SourceObjType>
                <SourceObjSubType>host</SourceObjSubType>
            </SourceObjInfo>
            <TargetInfo>
                <TargetGUID>D93A2E4E1622013D74D9534ECB090944</TargetGUID>
                <TargetName>orcsvr1.iwavesoftware.com</TargetName>
                <TargetType>host</TargetType>
                <TargetTypeLabel>Host</TargetTypeLabel>
                <TargetURL>https://orcsvr1.iwavesoftware.com:7801/em/redirect?pageType=TARGET_HOMEPAGE&amp;targetName=orcsvr1.iwavesoftware.com&amp;targetType=host</TargetURL>
                <TargetProperty>
                    <Name>Target_Host</Name>
                    <Value>orcsvr1.iwavesoftware.com</Value>
                </TargetProperty>
                <TargetProperty>
                    <Name>Target Version</Name>
                    <Value>5.5.0.0.0</Value>
                </TargetProperty>
                <TargetProperty>
                    <Name>Line of Business</Name>
                    <Value>Software</Value>
                </TargetProperty>
                <TargetProperty>
                    <Name>Location</Name>
                    <Value>Frisco, TX</Value>
                </TargetProperty>
                <TargetProperty>
                    <Name>Comment</Name>
                    <Value>Testing target properties</Value>
                </TargetProperty>
            </TargetInfo>
        </SourceInfo>
        <Message>Memory Utilization is 82.362%, crossed warning (50) or critical (70) threshold.</Message>
        <EventURL>https://orcsvr1.iwavesoftware.com:7801/em/redirect?pageType=sdk-core-event-console-detailEvent&amp;issueID=B6A5393A929532A0E040020A7801445B</EventURL>
        <AutoClose>true</AutoClose>
        <EventCategory>Capacity</EventCategory>
    </SystemAttributes>
    <EventClassSpecificAttributes>
        <StringAttribute>
            <Name>is_thresholdable</Name>
            <Value>1</Value>
        </StringAttribute>
        <StringAttribute>
            <Name>coll_name</Name>
            <Value>LoadLinux</Value>
        </StringAttribute>
        <StringAttribute>
            <Name>is_metric_extension</Name>
            <Value>0</Value>
        </StringAttribute>
        <StringAttribute>
            <Name>metric_column_resbundle</Name>
            <Value>oracle.sysman.eml.rsc.gen.hostMsg</Value>
        </StringAttribute>
        <StringAttribute>
            <Name>metric_description_resbundle</Name>
            <Value>oracle.sysman.eml.rsc.gen.hostMsg</Value>
        </StringAttribute>
        <StringAttribute>
            <Name>unit_resbundle</Name>
            <Value>oracle.sysman.eml.rsc.gen.hostMsg</Value>
        </StringAttribute>
        <StringAttribute>
            <Name>cycle_guid</Name>
            <Value>B6A5393A929132A0E040020A7801445B</Value>
        </StringAttribute>
        <StringAttribute>
            <Name>is_remote</Name>
            <Value>0</Value>
        </StringAttribute>
        <StringAttribute>
            <Name>metric_type</Name>
            <Value>0</Value>
        </StringAttribute>
        <StringAttribute>
            <Name>metric_guid</Name>
            <Value>86821B5F0CE858D6E4A7F7390E88B73C</Value>
        </StringAttribute>
        <StringAttribute>
            <Name>num_keys</Name>
            <Value>0</Value>
        </StringAttribute>
        <StringAttribute>
            <Name>key_value</Name>
            <Value> </Value>
        </StringAttribute>
        <StringAttribute>
            <Name>metric_description_nlsid</Name>
        </StringAttribute>
        <StringAttribute>
            <Name>value</Name>
            <Value>82.362</Value>
        </StringAttribute>
        <StringAttribute>
            <Name>is_long_running</Name>
            <Value>0</Value>
        </StringAttribute>
        <StringAttribute>
            <Name>metric_group</Name>
            <Value>Load</Value>
        </StringAttribute>
        <StringAttribute>
            <Name>is_udm</Name>
            <Value>0</Value>
        </StringAttribute>
        <StringAttribute>
            <Name>metric_description</Name>
        </StringAttribute>
        <StringAttribute>
            <Name>metric_column_nlsid</Name>
            <Value>host_load_memUsedPct</Value>
        </StringAttribute>
        <StringAttribute>
            <Name>metric_column</Name>
            <Value>memUsedPct</Value>
        </StringAttribute>
        <StringAttribute>
            <Name>unit_nlsid</Name>
            <Value>em__sys__standard_percent</Value>
        </StringAttribute>
        <StringAttribute>
            <Name>unit</Name>
            <Value>%</Value>
        </StringAttribute>
        <StringAttribute>
            <Name>metric_group_nlsid</Name>
            <Value>host_load</Value>
        </StringAttribute>
        <StringAttribute>
            <Name>metric_group_resbundle</Name>
            <Value>oracle.sysman.eml.rsc.gen.hostMsg</Value>
        </StringAttribute>
        <StringAttribute>
            <Name>severity_guid</Name>
            <Value>B6A5393A929132A0E040020A7801445B</Value>
        </StringAttribute>
    </EventClassSpecificAttributes>
</EMEvent>

B.2 Update Sample

Listed below is a sample of the XML format generated by Enterprise Manager for TEC update operations.

<EMEvent xmlns="http://xmlns.oracle.com/sysman/connector">
    <ConnectorGUID>00C89B1A8CAB4C6B8D4377369524A2F4</ConnectorGUID>
    <ExternalEventID>1:1:1326996954</ExternalEventID>
    <NotificationRuleOwner>SYSMAN</NotificationRuleOwner>
    <NotificationRuleName>TEC Rule</NotificationRuleName>
    <Property>
        <Name>Notification_Method_Name</Name>
        <Value>TEC</Value>
    </Property>
    <Property>
        <Name>AuthenticationType</Name>
        <Value>HTTPBasicAuthentication</Value>
    </Property>
    <Property>
        <Name>IsNewTargetType</Name>
        <Value>yes</Value>
    </Property>
    <SystemAttributes>
        <EventClass>metric_alert</EventClass>
        <EventID>B69EDA076CE88256E040020A780165F6</EventID>
        <SequenceID>B6A5393A929532A0E040020A7801445B</SequenceID>
        <ReportedDate>2012-01-19T17:33:03.000-06:00</ReportedDate>
        <DisplayTZ>America/Chicago</DisplayTZ>
        <EventName>Load:memUsedPct</EventName>
        <Severity>Warning</Severity>
        <SeverityCode>WARNING</SeverityCode>
        <SourceInfo>
            <SourceObjInfo>
                <ObjID>D93A2E4E1622013D74D9534ECB090944</ObjID>
                <ObjName>orcsvr1.iwavesoftware.com</ObjName>
                <ObjOwner>SYSMAN</ObjOwner>
                <SourceObjType>TARGET</SourceObjType>
                <SourceObjSubType>host</SourceObjSubType>
            </SourceObjInfo>
            <TargetInfo>
                <TargetGUID>D93A2E4E1622013D74D9534ECB090944</TargetGUID>
                <TargetName>orcsvr1.iwavesoftware.com</TargetName>
                <TargetType>host</TargetType>
                <TargetTypeLabel>Host</TargetTypeLabel>
                <TargetURL>https://orcsvr1.iwavesoftware.com:7801/em/redirect?pageType=TARGET_HOMEPAGE&amp;targetName=orcsvr1.iwavesoftware.com&amp;targetType=host</TargetURL>
                <TargetProperty>
                    <Name>Target_Host</Name>
                    <Value>orcsvr1.iwavesoftware.com</Value>
                </TargetProperty>
                <TargetProperty>
                    <Name>Target Version</Name>
                    <Value>5.5.0.0.0</Value>
                </TargetProperty>
                <TargetProperty>
                    <Name>Line of Business</Name>
                    <Value>Software</Value>
                </TargetProperty>
                <TargetProperty>
                    <Name>Location</Name>
                    <Value>Frisco, TX</Value>
                </TargetProperty>
                <TargetProperty>
                    <Name>Comment</Name>
                    <Value>Testing target properties</Value>
                </TargetProperty>
            </TargetInfo>
        </SourceInfo>
        <Message>Memory Utilization is 82.406%, crossed warning (50) or critical (99) threshold.</Message>
        <EventURL>https://orcsvr1.iwavesoftware.com:7801/em/redirect?pageType=sdk-core-event-console-detailEvent&amp;issueID=B6A5393A929532A0E040020A7801445B</EventURL>
        <AutoClose>true</AutoClose>
        <EventCategory>Capacity</EventCategory>
    </SystemAttributes>
    <EventClassSpecificAttributes>
        <StringAttribute>
            <Name>is_thresholdable</Name>
            <Value>1</Value>
        </StringAttribute>
        <StringAttribute>
            <Name>coll_name</Name>
            <Value>LoadLinux</Value>
        </StringAttribute>
        <StringAttribute>
            <Name>is_metric_extension</Name>
            <Value>0</Value>
        </StringAttribute>
        <StringAttribute>
            <Name>metric_column_resbundle</Name>
            <Value>oracle.sysman.eml.rsc.gen.hostMsg</Value>
        </StringAttribute>
        <StringAttribute>
            <Name>metric_description_resbundle</Name>
            <Value>oracle.sysman.eml.rsc.gen.hostMsg</Value>
        </StringAttribute>
        <StringAttribute>
            <Name>unit_resbundle</Name>
            <Value>oracle.sysman.eml.rsc.gen.hostMsg</Value>
        </StringAttribute>
        <StringAttribute>
            <Name>cycle_guid</Name>
            <Value>B6A5393A929132A0E040020A7801445B</Value>
        </StringAttribute>
        <StringAttribute>
            <Name>is_remote</Name>
            <Value>0</Value>
        </StringAttribute>
        <StringAttribute>
            <Name>metric_type</Name>
            <Value>0</Value>
        </StringAttribute>
        <StringAttribute>
            <Name>metric_guid</Name>
            <Value>86821B5F0CE858D6E4A7F7390E88B73C</Value>
        </StringAttribute>
        <StringAttribute>
            <Name>num_keys</Name>
            <Value>0</Value>
        </StringAttribute>
        <StringAttribute>
            <Name>key_value</Name>
            <Value> </Value>
        </StringAttribute>
        <StringAttribute>
            <Name>metric_description_nlsid</Name>
        </StringAttribute>
        <StringAttribute>
            <Name>value</Name>
            <Value>82.406</Value>
        </StringAttribute>
        <StringAttribute>
            <Name>is_long_running</Name>
            <Value>0</Value>
        </StringAttribute>
        <StringAttribute>
            <Name>metric_group</Name>
            <Value>Load</Value>
        </StringAttribute>
        <StringAttribute>
            <Name>is_udm</Name>
            <Value>0</Value>
        </StringAttribute>
        <StringAttribute>
            <Name>metric_description</Name>
        </StringAttribute>
        <StringAttribute>
            <Name>metric_column_nlsid</Name>
            <Value>host_load_memUsedPct</Value>
        </StringAttribute>
        <StringAttribute>
            <Name>metric_column</Name>
            <Value>memUsedPct</Value>
        </StringAttribute>
        <StringAttribute>
            <Name>unit_nlsid</Name>
            <Value>em__sys__standard_percent</Value>
        </StringAttribute>
        <StringAttribute>
            <Name>unit</Name>
            <Value>%</Value>
        </StringAttribute>
        <StringAttribute>
            <Name>metric_group_nlsid</Name>
            <Value>host_load</Value>
        </StringAttribute>
        <StringAttribute>
            <Name>metric_group_resbundle</Name>
            <Value>oracle.sysman.eml.rsc.gen.hostMsg</Value>
        </StringAttribute>
        <StringAttribute>
            <Name>severity_guid</Name>
            <Value>B69EDA076CE58256E040020A780165F6</Value>
        </StringAttribute>
    </EventClassSpecificAttributes>
</EMEvent>

B.3 Clear Sample

Listed below is a sample of the XML format generated by Enterprise Manager for TEC clear operations.

<EMEvent xmlns="http://xmlns.oracle.com/sysman/connector">
    <ConnectorGUID>00C89B1A8CAB4C6B8D4377369524A2F4</ConnectorGUID>
    <ExternalEventID>1:1:1326996954</ExternalEventID>
    <NotificationRuleOwner>SYSMAN</NotificationRuleOwner>
    <NotificationRuleName>TEC Rule</NotificationRuleName>
    <Property>
        <Name>Notification_Method_Name</Name>
        <Value>TEC</Value>
    </Property>
    <Property>
        <Name>AuthenticationType</Name>
        <Value>HTTPBasicAuthentication</Value>
    </Property>
    <Property>
        <Name>IsNewTargetType</Name>
        <Value>yes</Value>
    </Property>
    <SystemAttributes>
        <EventClass>metric_alert</EventClass>
        <EventID>B69EC6D3F960A48EE040020A78016095</EventID>
        <SequenceID>B6A5393A929532A0E040020A7801445B</SequenceID>
        <ReportedDate>2012-01-19T17:33:27.000-06:00</ReportedDate>
        <DisplayTZ>America/Chicago</DisplayTZ>
        <EventName>Load:memUsedPct</EventName>
        <Severity>Clear</Severity>
        <SeverityCode>CLEAR</SeverityCode>
        <SourceInfo>
            <SourceObjInfo>
                <ObjID>D93A2E4E1622013D74D9534ECB090944</ObjID>
                <ObjName>orcsvr1.iwavesoftware.com</ObjName>
                <ObjOwner>SYSMAN</ObjOwner>
                <SourceObjType>TARGET</SourceObjType>
                <SourceObjSubType>host</SourceObjSubType>
            </SourceObjInfo>
            <TargetInfo>
                <TargetGUID>D93A2E4E1622013D74D9534ECB090944</TargetGUID>
                <TargetName>orcsvr1.iwavesoftware.com</TargetName>
                <TargetType>host</TargetType>
                <TargetTypeLabel>Host</TargetTypeLabel>
                <TargetURL>https://orcsvr1.iwavesoftware.com:7801/em/redirect?pageType=TARGET_HOMEPAGE&amp;targetName=orcsvr1.iwavesoftware.com&amp;targetType=host</TargetURL>
                <TargetProperty>
                    <Name>Target_Host</Name>
                    <Value>orcsvr1.iwavesoftware.com</Value>
                </TargetProperty>
                <TargetProperty>
                    <Name>Target Version</Name>
                    <Value>5.5.0.0.0</Value>
                </TargetProperty>
                <TargetProperty>
                    <Name>Line of Business</Name>
                    <Value>Software</Value>
                </TargetProperty>
                <TargetProperty>
                    <Name>Location</Name>
                    <Value>Frisco, TX</Value>
                </TargetProperty>
                <TargetProperty>
                    <Name>Comment</Name>
                    <Value>Testing target properties</Value>
                </TargetProperty>
            </TargetInfo>
        </SourceInfo>
        <Message>Memory Utilization is 82.526%, fallen below warning (98) and critical (99)
            thresholds.</Message>
        <EventURL>https://orcsvr1.iwavesoftware.com:7801/em/redirect?pageType=sdk-core-event-console-detailEvent&amp;issueID=B6A5393A929532A0E040020A7801445B</EventURL>
        <AutoClose>true</AutoClose>
        <EventCategory>Capacity</EventCategory>
    </SystemAttributes>
    <EventClassSpecificAttributes>
        <StringAttribute>
            <Name>is_thresholdable</Name>
            <Value>1</Value>
        </StringAttribute>
        <StringAttribute>
            <Name>coll_name</Name>
            <Value>LoadLinux</Value>
        </StringAttribute>
        <StringAttribute>
            <Name>is_metric_extension</Name>
            <Value>0</Value>
        </StringAttribute>
        <StringAttribute>
            <Name>metric_column_resbundle</Name>
            <Value>oracle.sysman.eml.rsc.gen.hostMsg</Value>
        </StringAttribute>
        <StringAttribute>
            <Name>metric_description_resbundle</Name>
            <Value>oracle.sysman.eml.rsc.gen.hostMsg</Value>
        </StringAttribute>
        <StringAttribute>
            <Name>unit_resbundle</Name>
            <Value>oracle.sysman.eml.rsc.gen.hostMsg</Value>
        </StringAttribute>
        <StringAttribute>
            <Name>cycle_guid</Name>
            <Value>B6A5393A929132A0E040020A7801445B</Value>
        </StringAttribute>
        <StringAttribute>
            <Name>is_remote</Name>
            <Value>0</Value>
        </StringAttribute>
        <StringAttribute>
            <Name>metric_type</Name>
            <Value>0</Value>
        </StringAttribute>
        <StringAttribute>
            <Name>metric_guid</Name>
            <Value>86821B5F0CE858D6E4A7F7390E88B73C</Value>
        </StringAttribute>
        <StringAttribute>
            <Name>num_keys</Name>
            <Value>0</Value>
        </StringAttribute>
        <StringAttribute>
            <Name>key_value</Name>
            <Value> </Value>
        </StringAttribute>
        <StringAttribute>
            <Name>metric_description_nlsid</Name>
        </StringAttribute>
        <StringAttribute>
            <Name>value</Name>
            <Value>82.526</Value>
        </StringAttribute>
        <StringAttribute>
            <Name>is_long_running</Name>
            <Value>0</Value>
        </StringAttribute>
        <StringAttribute>
            <Name>metric_group</Name>
            <Value>Load</Value>
        </StringAttribute>
        <StringAttribute>
            <Name>is_udm</Name>
            <Value>0</Value>
        </StringAttribute>
        <StringAttribute>
            <Name>metric_description</Name>
        </StringAttribute>
        <StringAttribute>
            <Name>metric_column_nlsid</Name>
            <Value>host_load_memUsedPct</Value>
        </StringAttribute>
        <StringAttribute>
            <Name>metric_column</Name>
            <Value>memUsedPct</Value>
        </StringAttribute>
        <StringAttribute>
            <Name>unit_nlsid</Name>
            <Value>em__sys__standard_percent</Value>
        </StringAttribute>
        <StringAttribute>
            <Name>unit</Name>
            <Value>%</Value>
        </StringAttribute>
        <StringAttribute>
            <Name>metric_group_nlsid</Name>
            <Value>host_load</Value>
        </StringAttribute>
        <StringAttribute>
            <Name>metric_group_resbundle</Name>
            <Value>oracle.sysman.eml.rsc.gen.hostMsg</Value>
        </StringAttribute>
        <StringAttribute>
            <Name>severity_guid</Name>
            <Value>B69EC6D3F95EA48EE040020A78016095</Value>
        </StringAttribute>
    </EventClassSpecificAttributes>
</EMEvent>