agentX各个角色功能

AgentX Roles

 1、master

   An entity acting in a master agent role performs the following  functions:

 

      -  Accepts AgentX session establishment requests from subagents.

        接受来自于subagents的会话请求

      -  Accepts registration of MIB regions by subagents.

         接受来自于subagents的会话请求

      -  Sends and accepts SNMP protocol messages on the agent's

         specified transport addresses.

         接受来自于subagents的会话请求

 

      -  Implements the agent role Elements of Procedure specified for

         the administrative framework applicable to the SNMP protocol

         message, except where they specify performing management

         operations.  (The application of MIB views, and the access

         control policy for the managed node, are implemented by the

         master agent.)

 

      -  Provides instrumentation for the MIB objects defined in RFC

         1907 [17], and for any MIB objects relevant to any

         administrative framework it supports.

 

      -  Sends and receives AgentX protocol messages to access

         management information, based on the current registry of MIB

         regions.

         基于注册的mib库文件,接收和发送agentx协议消息

      -  Forwards notifications on behalf of subagents.

         转发subagents消息

 2、subagent

   An entity acting in a subagent role performs the following functions:

 

      -  Initiates AgentX sessions with the master agent.

         初始化与master端的会话

      -  Registers MIB regions with the master agent.

         向master端注册mib

      -  Instantiates managed objects.

         实例化对象

      -  Binds OIDs within its registered MIB regions to actual

         variables.

         绑定对象

      -  Performs management operations on variables.

         实现管理动作

      -  Initiates notifications.

         初始化通知

 

=======================================

agentX的报文类型:

     agentx-Open-PDU             (1),

            agentx-Close-PDU            (2),

            agentx-Register-PDU         (3),

            agentx-Unregister-PDU       (4),

            agentx-Get-PDU              (5),

            agentx-GetNext-PDU          (6),

            agentx-GetBulk-PDU          (7),

            agentx-TestSet-PDU          (8),

            agentx-CommitSet-PDU        (9),

            agentx-UndoSet-PDU         (10),

            agentx-CleanupSet-PDU      (11),

            agentx-Notify-PDU          (12),

            agentx-Ping-PDU            (13),

            agentx-IndexAllocate-PDU   (14),

            agentx-IndexDeallocate-PDU (15),

            agentx-AddAgentCaps-PDU    (16),

            agentx-RemoveAgentCaps-PDU (17),

            agentx-Response-PDU        (18)

其中1-4和12-17部分属于“administrative processing”, 5-11属于snmp请求处理。

 

=================================================

agentX 通信使用的端口为 705.

转载于:https://www.cnblogs.com/rohens-hbg/p/5082086.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值