Chapter 6. Event management products and best practices 339
third-party management applications, NetView extends its management
capabilities to layer 2 devices. It enhances its automation functionality with the
commands supplied by third-party software.
NetView is an ideal tool to use to perform automation on networking devices by
using SNMP commands and those supplied by integrated management
applications. It can also be used to trigger the automated actions in response to
an event or trap.
At this point, we must differentiate between executing automated actions and
Executing automated actions implies running a command or
series of commands.
Triggering automated actions responds to an event and
sets off a course of actions that culminates in the execution of the automated
action. The machine that triggers the action may not be the one to execute it. For
example, NetView may send a trap to the Tivoli Enterprise Console as an event.
IBM Tivoli Enterprise Console may perform some correlation and determine an
action that is required for the event. IBM Tivoli Enterprise Console may run a
Tivoli Framework task against the NetView machine, causing it to perform an
SNMP set command on a networking device. In this case, IBM Tivoli Enterprise
Console triggers the automated action in response to the event, but the NetView
machine actually performs it.
In general, you execute the required commands as close as possible to the
device requiring action. Keeping the path between the management station and
the device short minimizes the likelihood that the command, or its response, will
be lost or that the communications path will be unavailable. For most networking
devices, the NetView management server is the point closest to the device at
which automated actions may be executed.
Also, trigger the action from the closest point at which all necessary events are
available for correlation. This ensures that an accurate decision can be made
concerning the need to take action for the events. If the determination to
automate can be made at NetView, trigger the actions from NetView. Otherwise,
initiate them from IBM Tivoli Enterprise Console or another event processor at
which all relevant events are received.
There are several ways to use NetView to execute and trigger automation. These
are covered in the following section.
Executing commands from trapd.conf
If an action is desired every time a trap is received, NetView can be configured to
respond by placing the command in the /usr/OV/conf/C/trapd.conf file. This
approach is often used to execute commands that run quickly and scripts that
issue user defined SNMP traps. For example, sometimes business impact
managers rely on additional information that is not present in the original traps