You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Jonathan Barber (JIRA)" <ji...@apache.org> on 2012/05/09 01:15:48 UTC

[jira] [Created] (CAMEL-5255) Add all SNMPv1 TRAP PDU information to message body for camel-snmp component

Jonathan Barber created CAMEL-5255:
--------------------------------------

             Summary: Add all SNMPv1 TRAP PDU information to message body for camel-snmp component
                 Key: CAMEL-5255
                 URL: https://issues.apache.org/jira/browse/CAMEL-5255
             Project: Camel
          Issue Type: Improvement
          Components: camel-snmp
    Affects Versions: 2.10.0
            Reporter: Jonathan Barber
            Priority: Minor


The attached patch captures additional information available in an SNMPv1 TRAP PDU (enterprise trap ID, agent-addr, generic trap ID, specific trap ID, and system uptime) to the camel-snmp message body.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (CAMEL-5255) Add all SNMPv1 TRAP PDU information to message body for camel-snmp component

Posted by "Willem Jiang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CAMEL-5255?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Willem Jiang resolved CAMEL-5255.
---------------------------------

       Resolution: Fixed
    Fix Version/s: 2.10.0

Applied patch with thanks to Jonathan, I also fixed some CS error at the same time.
                
> Add all SNMPv1 TRAP PDU information to message body for camel-snmp component
> ----------------------------------------------------------------------------
>
>                 Key: CAMEL-5255
>                 URL: https://issues.apache.org/jira/browse/CAMEL-5255
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-snmp
>    Affects Versions: 2.10.0
>            Reporter: Jonathan Barber
>            Assignee: Willem Jiang
>            Priority: Minor
>             Fix For: 2.10.0
>
>         Attachments: SnmpConverters.java.patch, SnmpConverters.java.patch.2012-05-09T00+0100
>
>
> The attached patch captures additional information available in an SNMPv1 TRAP PDU (enterprise trap ID, agent-addr, generic trap ID, specific trap ID, and system uptime) to the camel-snmp message body.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (CAMEL-5255) Add all SNMPv1 TRAP PDU information to message body for camel-snmp component

Posted by "Jonathan Barber (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CAMEL-5255?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jonathan Barber updated CAMEL-5255:
-----------------------------------

    Attachment: SnmpConverters.java.patch.2012-05-09T00+0100

This patch uses more sane output for v1 PDU and adds an attribute to the snmp tag so the user knows it's a SNMP V1 PDU, example XML for a v1 PDU:
{code}
<snmp messageType="v1"><entry><enterprise>0.0</enterprise></entry><entry><agent-addr>1.2.3.4</agent-addr></entry><entry><generic-trap>1</generic-trap></entry><entry><specific-trap>0</specific-trap></entry><entry><time-stamp>10</time-stamp></entry><entry><oid>0.0</oid><value>foo</value></entry><entry><oid>0.0</oid><value>bar</value></entry></snmp>
{code}

generated by net-snmp command:
{code}
snmptrap  -v 1 -c publicasd 127.0.0.1:1162  0 1.2.3.4 1 0 10  0 s 'foo' 0 s 'bar'
{code}
                
> Add all SNMPv1 TRAP PDU information to message body for camel-snmp component
> ----------------------------------------------------------------------------
>
>                 Key: CAMEL-5255
>                 URL: https://issues.apache.org/jira/browse/CAMEL-5255
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-snmp
>    Affects Versions: 2.10.0
>            Reporter: Jonathan Barber
>            Priority: Minor
>         Attachments: SnmpConverters.java.patch, SnmpConverters.java.patch.2012-05-09T00+0100
>
>
> The attached patch captures additional information available in an SNMPv1 TRAP PDU (enterprise trap ID, agent-addr, generic trap ID, specific trap ID, and system uptime) to the camel-snmp message body.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (CAMEL-5255) Add all SNMPv1 TRAP PDU information to message body for camel-snmp component

Posted by "Jonathan Barber (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CAMEL-5255?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jonathan Barber updated CAMEL-5255:
-----------------------------------

    Attachment: SnmpConverters.java.patch
    
> Add all SNMPv1 TRAP PDU information to message body for camel-snmp component
> ----------------------------------------------------------------------------
>
>                 Key: CAMEL-5255
>                 URL: https://issues.apache.org/jira/browse/CAMEL-5255
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-snmp
>    Affects Versions: 2.10.0
>            Reporter: Jonathan Barber
>            Priority: Minor
>         Attachments: SnmpConverters.java.patch
>
>
> The attached patch captures additional information available in an SNMPv1 TRAP PDU (enterprise trap ID, agent-addr, generic trap ID, specific trap ID, and system uptime) to the camel-snmp message body.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Assigned] (CAMEL-5255) Add all SNMPv1 TRAP PDU information to message body for camel-snmp component

Posted by "Willem Jiang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CAMEL-5255?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Willem Jiang reassigned CAMEL-5255:
-----------------------------------

    Assignee: Willem Jiang
    
> Add all SNMPv1 TRAP PDU information to message body for camel-snmp component
> ----------------------------------------------------------------------------
>
>                 Key: CAMEL-5255
>                 URL: https://issues.apache.org/jira/browse/CAMEL-5255
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-snmp
>    Affects Versions: 2.10.0
>            Reporter: Jonathan Barber
>            Assignee: Willem Jiang
>            Priority: Minor
>         Attachments: SnmpConverters.java.patch, SnmpConverters.java.patch.2012-05-09T00+0100
>
>
> The attached patch captures additional information available in an SNMPv1 TRAP PDU (enterprise trap ID, agent-addr, generic trap ID, specific trap ID, and system uptime) to the camel-snmp message body.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira