Designing and Managing Behavior Models
-
Using Other Data Sources - HP OpenView IT/Operations - Defining an OpC Mask -
This section outlines the procedure for creating an OpC mask.
Admin
menu, choose OpC Mask List
.NerveCenter displays the OpC Mask List window.
Click the thumbnail above to view full-sized image.
New
button.The OpC Mask Definition window appears.
Click the thumbnail above to view full-sized image.
All of the window's input areas are enabled.
For example, if a message concerns an unsuccessful attempt to switch users, the associated application is su.
If you're not sure what to enter in the Application field, send the message you're interested in to IT/Operations, and look at it in the Message Details window. The value you use in your mask should correspond to the contents of the Application field in this window. (You can use the same technique to obtain the values for the Group, Type, Object, and Severity fields.)
Message groups are a mechanism used to classify messages. For example, the default message group Backup can be used to identify messages generated by applications that are used for backing up data or by devices that are part of a backup system. Operators are assigned groups of messages to deal with.
The default message groups are Backup, Database, ITO, OS, Output, Performance, Security, Job, Network, SNMP, and Misc.
Message types, like message groups, are used to classify messages. However, whereas message groups are used to group messages that a single operator should work with, message types are used to label messages so that they can be easily identified by an event-correlation engine.
For example, an object can be an operator, an application, or a node.
The possible severities are Unknown, Normal, Warning, Minor, Major, and Critical.
OpC Simple Trigger
-- your OpC mask can determine what trigger it wants to fire solely by reading a message's application, message-group, message-type, object, and severity fields. When the OpC mask sees a message that meets its requirements, it will fire a trigger with the name specified in the Simple Trigger field.
OpC Trigger Function
-- your OpC mask must test the contents of one or more fields before determining which trigger to fire.
If you select the OpC Simple Trigger radio button, the Simple Trigger list box is enabled.
OpC Simple Trigger
-- enter in the Simple Trigger text field the name of the trigger you want the OpC mask to fire if it finds a message that matches its requirements. You can either type in the name of a new trigger or choose a trigger from the list of existing triggers.
OpC Trigger Function
-- select the OpC Trigger Function tab, and enter a trigger function on the OpC Trigger Function
page.
This trigger function is a Perl subroutine that you can use to check the information in the message and to fire appropriate triggers. For complete information on writing trigger functions, see the section Writing an OpC Trigger Function.
Save
button at the bottom of the OpC Mask Definition window to save your mask.Previous: Listing OpC Masks | Next: Writing an OpC Trigger Function |
Please send comments or corrections to Information Development | This file was last updated on 10 October 2000 |