Oracle® Enterprise Manager HP Operations Manager Connector Installation and Configuration Guide Release 12 (12.1.0.2.0) Part Number E28302-03 |
|
|
PDF · Mobi · ePub |
This appendix contains examples that show the XML format of events from Enterprise Manager that conform to the schemas defined in Appendix C. You can use these examples to help identify the fields to map when customizing the event templates. You can also use them to test your customizations after they have been built.
The following examples are presented:
The following example shows the XML format Enterprise Manager generates for OMU create operations.
<EMEvent xmlns="http://xmlns.oracle.com/sysman/connector"> <ConnectorGUID>E0BAAB42C7634A448DD0FE5C6FE996E8</ConnectorGUID> <NotificationRuleOwner>SYSMAN</NotificationRuleOwner> <NotificationRuleName>HP OMU Rule</NotificationRuleName> <Property> <Name>Notification_Method_Name</Name> <Value>OMU</Value> </Property> <Property> <Name>AuthenticationType</Name> <Value>HTTPBasicAuthentication</Value> </Property> <Property> <Name>IsNewTargetType</Name> <Value>yes</Value> </Property> <SystemAttributes> <EventClass>metric_alert</EventClass> <EventID>B609743F17830220E040020A78012524</EventID> <SequenceID>B609743F17840220E040020A78012524</SequenceID> <ReportedDate>2012-01-13T14:24: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&targetName=orcsvr1.iwavesoftware.com&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 83.62%, crossed warning (50) or critical (70) threshold.</Message> <EventURL>https://orcsvr1.iwavesoftware.com:7801/em/redirect?pageType=sdk-core-event-console-detailEvent&issueID=B609743F17840220E040020A78012524</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>B609743F17800220E040020A78012524</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>83.62</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>B609743F17800220E040020A78012524</Value> </StringAttribute> </EventClassSpecificAttributes> </EMEvent>
The following example shows the XML format Enterprise Manager generates for OMU update operations.
<EMEvent xmlns="http://xmlns.oracle.com/sysman/connector"> <ConnectorGUID>E0BAAB42C7634A448DD0FE5C6FE996E8</ConnectorGUID> <ExternalEventID>77c93b64-3e26-71e1-15cd-0a0201460000</ExternalEventID> <NotificationRuleOwner>SYSMAN</NotificationRuleOwner> <NotificationRuleName>HP OMU Rule</NotificationRuleName> <Property> <Name>Notification_Method_Name</Name> <Value>OMU</Value> </Property> <Property> <Name>AuthenticationType</Name> <Value>HTTPBasicAuthentication</Value> </Property> <Property> <Name>IsNewTargetType</Name> <Value>yes</Value> </Property> <SystemAttributes> <EventClass>metric_alert</EventClass> <EventID>B609743F17890220E040020A78012524</EventID> <SequenceID>B609743F17840220E040020A78012524</SequenceID> <ReportedDate>2012-01-13T16:08:45.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&targetName=orcsvr1.iwavesoftware.com&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 84.236%, crossed warning (50) or critical (99) threshold.</Message> <EventURL>https://orcsvr1.iwavesoftware.com:7801/em/redirect?pageType=sdk-core-event-console-detailEvent&issueID=B609743F17840220E040020A78012524</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>B609743F17800220E040020A78012524</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>84.236</Value> </StringAttribute> <StringAttribute> <Name>is_long_running</Name> <Value>0</Value> </StringAttribute> <StringAttribute> <StringAttribute> <Name>unit_resbundle</Name> <Value>oracle.sysman.eml.rsc.gen.hostMsg</Value> </StringAttribute> <StringAttribute> <Name>cycle_guid</Name> <Value>B609743F17800220E040020A78012524</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>84.236</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>B609743F17860220E040020A78012524</Value> </StringAttribute> </EventClassSpecificAttributes> </EMEvent>
The following example shows the XML format Enterprise Manager generates for OMU clear operations.
<EMEvent xmlns="http://xmlns.oracle.com/sysman/connector"> <ConnectorGUID>E0BAAB42C7634A448DD0FE5C6FE996E8</ConnectorGUID> <ExternalEventID>77c93b64-3e26-71e1-15cd-0a0201460000</ExternalEventID> <NotificationRuleOwner>SYSMAN</NotificationRuleOwner> <NotificationRuleName>HP OMU Rule</NotificationRuleName> <Property> <Name>Notification_Method_Name</Name> <Value>OMU</Value> </Property> <Property> <Name>AuthenticationType</Name> <Value>HTTPBasicAuthentication</Value> </Property> <Property> <Name>IsNewTargetType</Name> <Value>yes</Value> </Property> <SystemAttributes> <EventClass>metric_alert</EventClass> <EventID>B60974257C002B09E040020A7801251A</EventID> <SequenceID>B609743F17840220E040020A78012524</SequenceID> <ReportedDate>2012-01-13T16:10:58.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&targetName=orcsvr1.iwavesoftware.com&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 84.737%, fallen below warning (98) and critical (99)thresholds.</Message> <EventURL>https://orcsvr1.iwavesoftware.com:7801/em/redirect?pageType=sdk-core-event-console-detailEvent&issueID=B609743F17840220E040020A78012524</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>B609743F17800220E040020A78012524</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>84.737</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>B60974257BFE2B09E040020A7801251A</Value> </StringAttribute> </EventClassSpecificAttributes> </EMEvent>