Uploaded image for project: 'Application Server 3  4  5 and 6'
  1. Application Server 3 4 5 and 6
  2. JBAS-4451

SNMP Adaptor of JBOSS does not handle the read community properly, it responds with "public" community instead of custom one.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Major Major
    • No Release
    • JBossAS-4.0.5.GA
    • SNMP adapter
    • None

      I'm using JBOSS SnmpAdaptor to monitor jboss and my web application.

      Ive modified the read community of the snmp adaptor into the META-INF/jboss-service.xml configuration file :
      <attribute name="ReadCommunity">myCommunity</attribute>

      The software we're using for monitoring is using the PERL implementation NET-SNMP and is issuing errors because JBOSS does not reply using the good ReadCommunity (it responds using "public").

      We tried with snmpwalk and you can find the logs.

      Pascal.

      Here is the details of the snmpwalk to the server, the -d options outputs the buffzer
      =======================================================
      >snmpwalk -d -v1 -c myCommunity localhost:1161 1.2.3.4.1.2

      Sending 43 bytes to UDP: [127.0.0.1]:1161
      0000: 30 29 02 01 00 04 0B 6D 79 43 6F 6D 6D 75 6E 69 0).....myCommuni
      0016: 74 79 A1 17 02 02 38 B6 02 01 00 02 01 00 30 0B tyí...8Â......0.
      0032: 30 09 06 05 2A 03 04 01 02 05 00 0 ..*......

      Received 42 bytes from UDP: [127.0.0.1]:1161
      0000: 30 28 02 01 00 04 06 70 75 62 6C 69 63 A2 1B 02 0(.....publicó..
      0016: 02 38 B6 02 01 00 02 01 00 30 0F 30 0D 06 05 2A .8Â......0.0...*
      0032: 03 04 01 03 42 04 1F A5 00 00 ....B..Ñ..

      Sending 43 bytes to UDP: [127.0.0.1]:1161
      0000: 30 29 02 01 00 04 0B 6D 79 43 6F 6D 6D 75 6E 69 0).....myCommuni
      0016: 74 79 A0 17 02 02 38 B7 02 01 00 02 01 00 30 0B tyá...8À......0.
      0032: 30 09 06 05 2A 03 04 01 02 05 00 0 ..*......

      Received 42 bytes from UDP: [127.0.0.1]:1161
      0000: 30 28 02 01 00 04 06 70 75 62 6C 69 63 A2 1B 02 0(.....publicó..
      0016: 02 38 B7 02 01 00 02 01 00 30 0F 30 0D 06 05 2A .8À......0.0...*
      0032: 03 04 01 02 42 04 05 55 4A D8 ....B..UJÏ

      iso.2.3.4.1.2 = Gauge32: 89475800

              dandread1@redhat.com Dimitrios Andreadis
              pascalheraud_jira Pascal Heraud (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: