[jboss-jira] [JBoss JIRA] Assigned: (JBAS-4227) [SnmpAgentService] MIB2SystemGroup violates RFC-1213

Dimitris Andreadis (JIRA) jira-events at lists.jboss.org
Mon May 5 12:34:26 EDT 2008


     [ http://jira.jboss.com/jira/browse/JBAS-4227?page=all ]

Dimitris Andreadis reassigned JBAS-4227:
----------------------------------------

    Assignee: Tobias Frech  (was: Dimitris Andreadis)

Tobias, do you want to look into this?

> [SnmpAgentService] MIB2SystemGroup violates RFC-1213
> ----------------------------------------------------
>
>                 Key: JBAS-4227
>                 URL: http://jira.jboss.com/jira/browse/JBAS-4227
>             Project: JBoss Application Server
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: JMX
>    Affects Versions: JBossAS-4.0.4.GA
>            Reporter: Kenny MacLeod
>         Assigned To: Tobias Frech
>
> The SnmpAgentService exposes a standard MIB2 System Group.  However, the OIDs that are produced violate RFC-1213, which dictates that the sysUpTime value should have a type of TimeTicks.  Instead, SnmpAgentService generates a type of int32.
> Take the following output from snmpwalk:
> SNMPv2-MIB::sysDescr = STRING: Central Computer
> SNMPv2-MIB::sysObjectID = OID: SNMPv2-SMI::enterprises.18016.1.1.2
> SNMPv2-MIB::sysUpTime = Wrong Type (should be Timeticks): Gauge32: 769331
> SNMPv2-MIB::sysContact = STRING: Agent Smith
> SNMPv2-MIB::sysName = STRING: kizoom at 10.10.0.208
> SNMPv2-MIB::sysLocation = STRING: In The Matrix
> SNMPv2-MIB::sysServices = INTEGER: 64
> End of MIB
> For systems which monitor SNMP agents (e.g. OpenNMS), this causes them to reject the agent because of the bad type.
> The bug lies in org.jboss.jmx.adaptor.snmp.agent.RequestHandlerImpl, which determines the type of the OID value by examining the type of the JMX attribute being monitored.  It has no way to generate a TimeTicks value, it can only handle Long, String, Integer and SnmpOID types.
> The JBoss wiki states that RFC-1213 is supported, but this is incorrect when the type for sysUpTime is wrong (http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossSNMPAdapterGetValues).  Also the attributes.xml file in xnmp-adaptor.sar quotes RFC-1213.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list