Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1303013
  • 博文数量: 416
  • 博客积分: 10495
  • 博客等级: 上将
  • 技术积分: 4258
  • 用 户 组: 普通用户
  • 注册时间: 2005-04-23 22:13
文章分类

全部博文(416)

文章存档

2015年(7)

2014年(42)

2013年(35)

2012年(14)

2011年(17)

2010年(10)

2009年(18)

2008年(127)

2007年(72)

2006年(23)

2005年(51)

分类: 系统运维

2011-06-01 10:51:00

JBossSNMPAdapter

From JBoss v3.2.2 there is an snmp-adaptor.sar service available in the

all configuration and it can be used to intercept JMX notifications emitted

by MBeans, convert them to SNMP traps and send them to SNMP managers. In this

respect the snmp-adaptor acts as an SNMP agent.

Since JBoss v4.0.4, the snmp-adaptor supports also basic get and getNext

so one can now query snmp-oids, which in turn are mapped to JMX attribute gets.

The adapter uses internally

as an implementation of the SNMP protocol.

Installation

The installation is simple if you are running the "all" configuration, since it is already installed and ready to use in that server configuration.  You simply need to proceed to the Configuration section below to fine tune it's operation.

If you wish to install this service into a configuration outside of the all config, you first need to copy the /server/all/lib/snmp-support.jar file to the lib directory of the server config you wish to enable for SNMP.  Also, you will need to copy the /server/all/deploy/snmp-adaptor.sar directory to the deploy directory of the server you wish to use the adapter in.

Configuration

SnmpAgentService is the main MBean that implements the SNMP agent. It is

configured by means of two configuration files and the MBean

deployment descriptor.

  • - configures to which SNMP Managers to send traps

  • - specifies the mapping of each notification type to an SNMP trap

  • - specifies the mapping from SNMP oid to MBean name and attribute(s)

Note: mbeans.xml was removed as of v.3.2.4. Use the SubscriptionList

attribute instead.

Contributors

The SNMP adapter was originally created and integrated to JBoss by:

  • Spyros Pollatos

  • Dimitris Andreadis

Contribution have been received from:

  • Krishnaraj S

  • Heiko W. Rupp

Related
阅读(984) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~