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

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

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Obsolete
    • Icon: Major Major
    • No Release
    • JBossAS-4.2.3.GA
    • SNMP adapter
    • None
    • Documentation (Ref Guide, User Guide, etc.)
    • Medium

      The SNMP adapter includes the hardcoded "public" community with each generated trap.

      The community string in traps is optional and in most cases of no use to a monitoring manager. A manager can always restrict the trap it receives based on the originating host/port combination. Those are set in snmp-adaptor.sar/managers.xml.

      However, it would be nice to be able to set the community string in traps (or choose to not set it at all) per receiving manager.

      This means that the configuration file for monitoring manager would have to be extended, e.g.:

      <manager>
      <address>localhost</address>
      <port>1162</port>
      <local-address></local-address>
      <local-port></local-port>
      <community>custom community string</community> <=== HERE
      <version>1</version>
      </manager>

      For backwards compatibility, absense of the <community> element could be interpreted as "public", while an empty element could mean "no community string"

              Unassigned Unassigned
              dandread1@redhat.com Dimitrios Andreadis
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: