HP Operations Manager for Windows

opcmon()


   #include opcapi.h

   int opcmon (
            const char     *objname,     /* in */
            const double   monval        /* in */
             );

Parameters

objname
Name of the monitored object.

monval
Actual value of the monitored object.

Description

Use the function opcmon() to send a monitor value, created on the managed node, to its responsible management server.

Return Values

OPC_ERR_OK:
OK

OPC_ERR_OBJNAME_REQUIRED:
objname is NULL

OPC_ERR_NO_AGENT:
agent is not running

OPC_ERR_NO_MEMORY:
out of memory

Versions

HPOM for Windows A.06.00 and later

See Also

opcagtmon_send()