You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "Gema Perdiguero (JIRA)" <ji...@apache.org> on 2009/08/04 17:49:35 UTC

[jira] Created: (SMXCOMP-612) SNMP Trap Reception Endpoint patch

SNMP Trap Reception Endpoint patch
----------------------------------

                 Key: SMXCOMP-612
                 URL: https://issues.apache.org/activemq/browse/SMXCOMP-612
             Project: ServiceMix Components
          Issue Type: Improvement
          Components: servicemix-snmp
    Affects Versions: servicemix-snmp-2009.01
            Reporter: Gema Perdiguero
             Fix For: servicemix-snmp-2009.02


The attached patch contains a new endpoint (called "trapReceiver") that receives traps from a device.

To configure the endpoint you must specify the address to use for snmp connection. The port must be 162, since that is the one used by SNMP to receive trap PDUs.

You can also specify a marshaler to process incoming traps. If no marshaler is specified, then the DefaultSnmpMarshaler will be used.

The endpoint configuration looks like this:

<snmp:trapReceiver service="test:trapReceiver"
					endpoint="trapReceiver"
					targetService="test:receiver"
					listenAddress="udp:127.0.0.1/162">
	<property name="marshaler">
		<bean class="com.mycompany.MySNMPMarshaler" /> 
	</property>
</snmp:trapReceiver>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (SMXCOMP-612) SNMP Trap Reception Endpoint patch

Posted by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/SMXCOMP-612?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=53565#action_53565 ] 

Jean-Baptiste Onofré commented on SMXCOMP-612:
----------------------------------------------

I have added the patch with the following changes:
- the endpoint name is trap-consumer (to be compliant with others endpoints nomenclature)
- the unit test use the 1662 port (in place of 162) as port < 1024 is not allowed for normal users on Unix systems.

I update the wiki page before closing this task.

> SNMP Trap Reception Endpoint patch
> ----------------------------------
>
>                 Key: SMXCOMP-612
>                 URL: https://issues.apache.org/activemq/browse/SMXCOMP-612
>             Project: ServiceMix Components
>          Issue Type: Improvement
>          Components: servicemix-snmp
>    Affects Versions: servicemix-snmp-2009.01
>            Reporter: Gema Perdiguero
>            Assignee: Jean-Baptiste Onofré
>             Fix For: servicemix-snmp-2009.02
>
>         Attachments: servicemix-snmp-trapReceiverPatch.txt
>
>
> The attached patch contains a new endpoint (called "trapReceiver") that receives traps from a device.
> To configure the endpoint you must specify the address to use for snmp connection. The port must be 162, since that is the one used by SNMP to receive trap PDUs.
> You can also specify a marshaler to process incoming traps. If no marshaler is specified, then the DefaultSnmpMarshaler will be used.
> The endpoint configuration looks like this:
> <snmp:trapReceiver service="test:trapReceiver"
> 					endpoint="trapReceiver"
> 					targetService="test:receiver"
> 					listenAddress="udp:127.0.0.1/162">
> 	<property name="marshaler">
> 		<bean class="com.mycompany.MySNMPMarshaler" /> 
> 	</property>
> </snmp:trapReceiver>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (SMXCOMP-612) SNMP Trap Reception Endpoint patch

Posted by "Lars Heinemann (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/SMXCOMP-612?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lars Heinemann reassigned SMXCOMP-612:
--------------------------------------

    Assignee: Lars Heinemann

> SNMP Trap Reception Endpoint patch
> ----------------------------------
>
>                 Key: SMXCOMP-612
>                 URL: https://issues.apache.org/activemq/browse/SMXCOMP-612
>             Project: ServiceMix Components
>          Issue Type: Improvement
>          Components: servicemix-snmp
>    Affects Versions: servicemix-snmp-2009.01
>            Reporter: Gema Perdiguero
>            Assignee: Lars Heinemann
>             Fix For: servicemix-snmp-2009.02
>
>         Attachments: servicemix-snmp-trapReceiverPatch.txt
>
>
> The attached patch contains a new endpoint (called "trapReceiver") that receives traps from a device.
> To configure the endpoint you must specify the address to use for snmp connection. The port must be 162, since that is the one used by SNMP to receive trap PDUs.
> You can also specify a marshaler to process incoming traps. If no marshaler is specified, then the DefaultSnmpMarshaler will be used.
> The endpoint configuration looks like this:
> <snmp:trapReceiver service="test:trapReceiver"
> 					endpoint="trapReceiver"
> 					targetService="test:receiver"
> 					listenAddress="udp:127.0.0.1/162">
> 	<property name="marshaler">
> 		<bean class="com.mycompany.MySNMPMarshaler" /> 
> 	</property>
> </snmp:trapReceiver>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (SMXCOMP-612) SNMP Trap Reception Endpoint patch

Posted by "Gema Perdiguero (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/SMXCOMP-612?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gema Perdiguero updated SMXCOMP-612:
------------------------------------

    Attachment: servicemix-snmp-trapReceiverPatch.txt

> SNMP Trap Reception Endpoint patch
> ----------------------------------
>
>                 Key: SMXCOMP-612
>                 URL: https://issues.apache.org/activemq/browse/SMXCOMP-612
>             Project: ServiceMix Components
>          Issue Type: Improvement
>          Components: servicemix-snmp
>    Affects Versions: servicemix-snmp-2009.01
>            Reporter: Gema Perdiguero
>             Fix For: servicemix-snmp-2009.02
>
>         Attachments: servicemix-snmp-trapReceiverPatch.txt
>
>
> The attached patch contains a new endpoint (called "trapReceiver") that receives traps from a device.
> To configure the endpoint you must specify the address to use for snmp connection. The port must be 162, since that is the one used by SNMP to receive trap PDUs.
> You can also specify a marshaler to process incoming traps. If no marshaler is specified, then the DefaultSnmpMarshaler will be used.
> The endpoint configuration looks like this:
> <snmp:trapReceiver service="test:trapReceiver"
> 					endpoint="trapReceiver"
> 					targetService="test:receiver"
> 					listenAddress="udp:127.0.0.1/162">
> 	<property name="marshaler">
> 		<bean class="com.mycompany.MySNMPMarshaler" /> 
> 	</property>
> </snmp:trapReceiver>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (SMXCOMP-612) SNMP Trap Reception Endpoint patch

Posted by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/SMXCOMP-612?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jean-Baptiste Onofré resolved SMXCOMP-612.
------------------------------------------

    Resolution: Fixed

Wiki page updated.

> SNMP Trap Reception Endpoint patch
> ----------------------------------
>
>                 Key: SMXCOMP-612
>                 URL: https://issues.apache.org/activemq/browse/SMXCOMP-612
>             Project: ServiceMix Components
>          Issue Type: Improvement
>          Components: servicemix-snmp
>    Affects Versions: servicemix-snmp-2009.01
>            Reporter: Gema Perdiguero
>            Assignee: Jean-Baptiste Onofré
>             Fix For: servicemix-snmp-2009.02
>
>         Attachments: servicemix-snmp-trapReceiverPatch.txt
>
>
> The attached patch contains a new endpoint (called "trapReceiver") that receives traps from a device.
> To configure the endpoint you must specify the address to use for snmp connection. The port must be 162, since that is the one used by SNMP to receive trap PDUs.
> You can also specify a marshaler to process incoming traps. If no marshaler is specified, then the DefaultSnmpMarshaler will be used.
> The endpoint configuration looks like this:
> <snmp:trapReceiver service="test:trapReceiver"
> 					endpoint="trapReceiver"
> 					targetService="test:receiver"
> 					listenAddress="udp:127.0.0.1/162">
> 	<property name="marshaler">
> 		<bean class="com.mycompany.MySNMPMarshaler" /> 
> 	</property>
> </snmp:trapReceiver>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (SMXCOMP-612) SNMP Trap Reception Endpoint patch

Posted by "Lars Heinemann (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/SMXCOMP-612?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lars Heinemann reassigned SMXCOMP-612:
--------------------------------------

    Assignee: Jean-Baptiste Onofré  (was: Lars Heinemann)

> SNMP Trap Reception Endpoint patch
> ----------------------------------
>
>                 Key: SMXCOMP-612
>                 URL: https://issues.apache.org/activemq/browse/SMXCOMP-612
>             Project: ServiceMix Components
>          Issue Type: Improvement
>          Components: servicemix-snmp
>    Affects Versions: servicemix-snmp-2009.01
>            Reporter: Gema Perdiguero
>            Assignee: Jean-Baptiste Onofré
>             Fix For: servicemix-snmp-2009.02
>
>         Attachments: servicemix-snmp-trapReceiverPatch.txt
>
>
> The attached patch contains a new endpoint (called "trapReceiver") that receives traps from a device.
> To configure the endpoint you must specify the address to use for snmp connection. The port must be 162, since that is the one used by SNMP to receive trap PDUs.
> You can also specify a marshaler to process incoming traps. If no marshaler is specified, then the DefaultSnmpMarshaler will be used.
> The endpoint configuration looks like this:
> <snmp:trapReceiver service="test:trapReceiver"
> 					endpoint="trapReceiver"
> 					targetService="test:receiver"
> 					listenAddress="udp:127.0.0.1/162">
> 	<property name="marshaler">
> 		<bean class="com.mycompany.MySNMPMarshaler" /> 
> 	</property>
> </snmp:trapReceiver>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Work started: (SMXCOMP-612) SNMP Trap Reception Endpoint patch

Posted by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/SMXCOMP-612?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Work on SMXCOMP-612 started by Jean-Baptiste Onofré.

> SNMP Trap Reception Endpoint patch
> ----------------------------------
>
>                 Key: SMXCOMP-612
>                 URL: https://issues.apache.org/activemq/browse/SMXCOMP-612
>             Project: ServiceMix Components
>          Issue Type: Improvement
>          Components: servicemix-snmp
>    Affects Versions: servicemix-snmp-2009.01
>            Reporter: Gema Perdiguero
>            Assignee: Jean-Baptiste Onofré
>             Fix For: servicemix-snmp-2009.02
>
>         Attachments: servicemix-snmp-trapReceiverPatch.txt
>
>
> The attached patch contains a new endpoint (called "trapReceiver") that receives traps from a device.
> To configure the endpoint you must specify the address to use for snmp connection. The port must be 162, since that is the one used by SNMP to receive trap PDUs.
> You can also specify a marshaler to process incoming traps. If no marshaler is specified, then the DefaultSnmpMarshaler will be used.
> The endpoint configuration looks like this:
> <snmp:trapReceiver service="test:trapReceiver"
> 					endpoint="trapReceiver"
> 					targetService="test:receiver"
> 					listenAddress="udp:127.0.0.1/162">
> 	<property name="marshaler">
> 		<bean class="com.mycompany.MySNMPMarshaler" /> 
> 	</property>
> </snmp:trapReceiver>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.