opcmon
forwards the current value of the
monitored object to the monitoring agent of HP Operations Manager
running on a local managed
node.opcmon [ -help ]
<object_name>[-<shortname>]=<value>
[ -object <msg_object> ] [ -option
<variable>=<var_value> ]*
Options
-help
Print usage message of opcmon. All other
parameters are ignored.<object_name>[-<shortname>]=<value>
Object name is the name of the measurement threshold policy. When
the measurement threshold policy has been configured for multiple
instance data, the short name is used to uniquely identify each
instance within the policy.-object <msg_object>
Value of the object
text box which is part of an HP Operations message. Setting the
object with the opcmon can be used for the object monitoring.-option <variable>=<var_value>
Sets
the variable $OPTION(<variable>)
to
<var_value>. Within the message conditions this variable can
be used to access the value passed with the opcmon call. Special
characters must be escaped with a backslash "\".opcmon cpu_load=78.4
opcmon DB_STATUS=1
opcmon disk_util=91.1 -object /tmp -option
device=/dev/dsk/c0t6d0
-option addl_auto_actn="bdf /"
Related Topics: