A custom agent usually calls Agent API functions in the in the following order:
Sm_AgentApi_GetConfig() // Required with central host configuration Sm_AgentApi_Init() Sm_AgentApi_SetAgentInstanceInfo() For agent discovery (12.5 agents and later) Sm_AgentApi_SetDefaultAgentId() // Central host configuration only Sm_AgentApi_DoManagement() Sm_AgentApi_IsProtected() Sm_AgentApi_Login() Sm_AgentApi_Authorize() // . . . // Call other Agent API functions here, including // periodic calling of Sm_AgentApi_DoManagement() Sm_AgentApi_Logout() Sm_AgentApi_Uninit()
Copyright © 2015 CA Technologies.
All rights reserved.
|
|