HP (Hewlett-Packard) HP OpenView Vantagepoint – Operation Manual for UNIX Printer User Manual


 
Using the Integration Capabilities of the VPO Motif-based GUI
Event Integration Through Messages
Chapter 3 103
Using Threshold Monitoring to Generate Messages
You can configure VPO to monitor managed nodes at regular time
intervals, during which the monitored value is calculated and compared
against a threshold value. If the threshold is exceeded, whether a
message is generated depends on the type of monitor selected and on the
“history” of values relative to the reset value.
If a message is generated, you can set message attributes and custom
message attributes, and provide instructions, annotations, and actions,
in the same way as for any other message generated by matching a
message condition. When a message is generated and all message
attributes are set, it is sent to the management server. If a local
automatic action has been defined, this is also started in parallel. Note
that only when the threshold is exceeded does VPO monitoring cause
network traffic.
The threshold monitoring scripts, provided by the user, are invoked by
the monitoring agent in the configured time interval, except for values
monitored externally. The monitor agent checks the success of the
scripts by interpreting the exit value. If the exit value is not equal to 0,
indicating script failure, the monitor agent sends an appropriate
message to the Message Agent that forwards the message to the
management server.
The script collects one or more current values of the objects to be
monitored and sends them to the monitor agent through a C library
routine or a command interface provided by VPO, with a call to
opcmon(1|3). See the man pages opcmon(1) and opcmon(3) for more
information.
The check of externally monitored objects is not invoked by the monitor
agent, however, it checks whether a value from an object has arrived
through a call to opcmon(1|3) at least every 15 seconds.