HP Operations Manager

Automation Wrapper: opcmack

The automation interfaces for the HPOM command line tools have the same functionality as the tools themselves. The automation interface is basically a wrapper around the HPOM Interface API, which is part of the HPOM Application Integration Guide (AIG).

The object OVOAutomations.Opcmack offers the following parameters and functions:

Parameter Access Type
MessageId* In
Functions Description
Acknowledge Acknowledges the specified message. All mandatory parameters have to be set before calling this function.

Example

Dim ackObj
Set ackObj = CreateObject("OVOAutomation.Opcmack")
ackObj.MessageId = "MY_MESSAGE_ID"
ackObj.Acknowledge() 

Restrictions

This function can be run by any user. The message group (msg_grp), the object, and the application parameter must not be longer than 32 bytes; this is the maximum size HP Operations can handle with these parameters.

Examples

The examples are available on the management server in the following directory:

%OvInstallDir%\examples\OvOW\DevelopmentKit\Agent\VBScript