80 likes | 329 Views
Message Source Configuration: opcmsg Message Interceptor. Section Overview. Message Interception on Administered Systems Applications with additional monitoring code New scripts performing complex preprocessing Using the Message Interceptor The opcmsg command Process flow
E N D
Section Overview • Message Interception on Administered Systems • Applications with additional monitoring code • New scripts performing complex preprocessing • Using the Message Interceptor • The opcmsg command • Process flow • Configuration GUI for Message Interceptor Templates • Template creation • Message conditions Message Source Configuration: opcmsg Message Interceptor
Message Interceptor Application or script opcmsg Create message command call • Parameter: • Severity • Application • Message Group • Object • Message Text • Node • Service ID • -option Message Interceptor Message Agent Queue Message Source Configuration: opcmsg Message Interceptor
Launching a Message Command Syntax to launch a message: opcmsg <parameterlist> Parameter Value Required severity= normal/warning/minor/major/critical no application= name of application that has detected yesor was affected by the problem msg_grp= message group the message belongs to no object= component which caused/detected yesor was affected by the problem msg_text= string describing the event/problem yes node= message related system no service_id= name of affected service no -option var=value Set $OPTION(var) to value for use in no message Message Source Configuration: opcmsg Message Interceptor
Match Steps for Message Interception Interceptor template Message Message Interceptor • Message defaults • Match criteria • Set attributes • Actions • Advanced options Filter conditions If Message matches: Severity AND Node AND Application AND Message Group AND Object AND Text Pattern match ? YES NO Suppress unmatched ForwardUnmatched ON Logging &Attributes message condition suppress condition Local logging Local action Redefine attributes Message Agent Message Source Configuration: opcmsg Message Interceptor
Message Template Configuration Use Add Message or double-click existing template VPO Interfaces Window opens • Note: Multiple Message Interceptor Templates can exist Message Source Configuration: opcmsg Message Interceptor
Message Condition Window Add a new condition or modify/copy an existing one “Traditional” Condition Window Opens Message Source Configuration: opcmsg Message Interceptor
Using opcmsg with -option Reformat of originaltext and add$OPTION $OPTION variableappears in browser Message Source Configuration: opcmsg Message Interceptor