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

Page of 326
Using the VPO Application Programming Interfaces
Summary of VPO API Functions
Chapter 4
206
Functions of the Node Configuration API
Function to Configure VPO Managed Nodes
Table 4-16
Overview of the Node Configuration API Function
Function Call
Description
opcconf_get_nodes()
Gets all configured nodes from the database
opcnode_add()
Adds a managed node to the database and the VPO
node bank hierarchy
opcnode_assign_templates()
Assigns templates and template groups to a node
opcnode_deassign_
templates()
Deassigns templates and template groups from a
node
opcnode_delete()
Deletes a node from the database, and
acknowledges all messages from that node
opcnode_get()
Gets the full configuration of a given managed node
opcnode_get_defaults()
Gets the default configuration of a node from the
database
opcnode_get_list()
Gets a list of all managed nodes
opcconf_get_nodes()
Connects to the VPO database and reads the
managed node configuration
opcnode_get_templates()
Gets a list of all templates assigned to the node
opcnode_modify()
Modifies the attributes of an existing node