Default service impact management event collector
The service model requires only the MC_SMC_Events
collector node. This collector tree is used by the Services View to retrieve the events of a specific component, based on its type and its logical ID, stored in the mc_udid
slot.
MC_SMC_EVENTS collector definition
collector MC_SMC_Events:
{
r['Full Access', 'Service Administrators']
w['Full Access', 'Service Administrators']
x['Full Access', 'Service Administrators']
}
END
collector MC_SMC_Events.*:
EVENT
where [$THIS.mc_smc_id != ""]
create cond($THIS.mc_smc_type == '', "Unknown", $THIS.mc_smc_type)
END
collector MC_SMC_Events.*.Impacts:
EVENT
where [$THIS.mc_smc_impact within [ATTACHED,IMPACTING]]
END
collector MC_SMC_Events.*.History:
SMC_STATE_CHANGE
END
An example query issued by the collector is shown in the following example:
select open events from collector MC_SMC_EVENTS._component_type_
where [$THIS.mc_smc_id equals _component_mc_udid_]
This query varies depending on the menu command selected in the Services view:
Menu command | Query type |
---|---|
All Events | Any open or acknowledged event associated with the component |
Impact Events | Any open or acknowledged event associated with the component and elected |
History Events | Any open or closed event of class |
Was this page helpful? Yes No
Submitting...
Thank you
Comments
Log in or register to comment.