Implementing an SNMP Proxy

最近因为项目需要,学习jdmk,发现sun提供的例子基本全是english,所以就翻译一篇(顺便提高一下自己)
It is easier to manage a large number of SNMP agents when they have a hierarchical structure of master agents and sub-agents. Master agents concentrate and relay the information in their sub-agents and can provide their own specific information as well. Managers only communicate with the master agents and access the sub-agents transparently, as if the information actually resided in the master agent.

如果采用主agent和子agent的层级结构,就很容易管理大量的snmp agent,主agent集中并传递子agent需要的信息,管理站仅仅跟主agent通讯,由主agent再跟具体的子agent交互,就好像信息是存在于主agent中一样。
In order to do this, agents must contain an SNMP proxy for each sub-agent that they manage. The proxy is a Java class that looks like a MIB MBean to the agent, but which actually accesses the sub-agent to provide the information that is requested of it. In order to access sub-agents, the proxy object relies on the SNMP manager API.

为了达到这一点,agents必须包含(对每一个子agent)snmp代理。代理对于agent来说就像mib bean一样,也是一个java类,但实际上是可提供请求,并访问子agent,为了访问子agent,代理需要使用snmp管理站所使用的api(其实代理注册在主agent中,其能够访问子agent,对于子agent,代理就相当于manager)
  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值