Uploaded image for project: 'JBoss Enterprise Application Platform 4 and 5'
  1. JBoss Enterprise Application Platform 4 and 5
  2. JBPAPP-9153

Allow the setting of the community string stored in snmp traps in the SNMP adapter

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Major Major
    • TBD EAP 5
    • EAP_EWP 5.1.2
    • SNMP
    • None
    • NEW

      When trying to use SNMP with JBoss specifying the community string doesn't seem to work. We tried specifying a custom community string and used snmpwalk to get the data like following and the 'public' community string always seems to get the data which we don't want.

      [tmc@linux-ajmani ~]$ snmpwalk -c public -v 2c localhost:9081
      SNMPv2-MIB::sysDescr.0 = STRING: Mobicents Sip Servlets
      SNMPv2-MIB::sysObjectID.0 = OID: SNMPv2-SMI::enterprises.2312.100.9.1.1.6
      DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (241606) 0:40:16.06
      SNMPv2-MIB::sysContact.0 = STRING: Red Hat
      SNMPv2-MIB::sysName.0 = STRING: dev@127.0.0.1
      SNMPv2-MIB::sysLocation.0 = STRING: In The Matrix
      SNMPv2-MIB::sysServices.0 = INTEGER: 64

      [tmc@linux-ajmani ~]$ snmpwalk -c private -v 2c localhost:9081
      SNMPv2-MIB::sysDescr.0 = STRING: Mobicents Sip Servlets
      SNMPv2-MIB::sysObjectID.0 = OID: SNMPv2-SMI::enterprises.2312.100.9.1.1.6
      DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (242147) 0:40:21.47
      SNMPv2-MIB::sysContact.0 = STRING: Red Hat
      SNMPv2-MIB::sysName.0 = STRING: dev@127.0.0.1
      SNMPv2-MIB::sysLocation.0 = STRING: In The Matrix
      SNMPv2-MIB::sysServices.0 = INTEGER: 64

      [tmc@linux-ajmani ~]$ snmpwalk -c pHoE93eP -v 2c localhost:9081
      SNMPv2-MIB::sysDescr.0 = STRING: Mobicents Sip Servlets
      SNMPv2-MIB::sysObjectID.0 = OID: SNMPv2-SMI::enterprises.2312.100.9.1.1.6
      DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (458879) 1:16:28.79
      SNMPv2-MIB::sysContact.0 = STRING: Red Hat
      SNMPv2-MIB::sysName.0 = STRING: dev@127.0.0.1
      SNMPv2-MIB::sysLocation.0 = STRING: In The Matrix
      SNMPv2-MIB::sysServices.0 = INTEGER: 64

      This was already reported under JBAS (https://issues.jboss.org/browse/JBAS-6059) however it was deemed out of date and not fixed. I have a customer needing to have this fixed in EAP 5.1.2.

              rhn-cservice-bbaranow Bartosz Baranowski
              rhn-support-csutherl Coty Sutherland
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: