You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by "Zhang, Bo-Wu" <bo...@hpe.com> on 2022/03/01 08:20:38 UTC
Question : Whether the camel-snmp 3.14.1 support consuming snmpv3 trap
Hello, all:
I have a question about using camel-snmp component.
From the component user guide, it has options to set SNMP version, securityLevel, authenticationPassphase, privacyPassphase
But from the code I did not see where set the security and USM information.
And based on my test, it can't receive the SNMPv3 traps with authentication or privacy.
Anyone can help to clarify,
It will be appreciated. Thanks!
Best Regards!
Zhang Bo-wu (Bowyer)
Engineer of CMS R&D China
Mail: bo-wu.zhang@hpe.com<ma...@hpe.com>
Mobile Phone: (86)13986295819
Fixed Phone: 86-27-59553805
Planned Personal leave:
RE: Question : Whether the camel-snmp 3.14.1 support consuming snmpv3 trap
Posted by "Zhang, Bo-Wu" <bo...@hpe.com>.
Yeah,
Thanks Feng.
Best Regards!
Zhang Bo-wu (Bowyer)
Engineer of CMS R&D China
Mail: bo-wu.zhang@hpe.com
Mobile Phone: (86)13986295819
Fixed Phone: 86-27-59553805
Planned Personal leave:
-----Original Message-----
From: Zheng Feng <zf...@redhat.com>
Sent: Tuesday, March 1, 2022 7:58 PM
To: users@camel.apache.org
Subject: Re: Question : Whether the camel-snmp 3.14.1 support consuming snmpv3 trap
Hi,
It looks like these options (authentication, privacy) only are available with SnmpOIDPoller.
On Tue, Mar 1, 2022 at 6:15 PM Zhang, Bo-Wu <bo...@hpe.com> wrote:
> Hello, Claus:
> As I checked the latest camel-snmp version still upon snm4j 2.6.3
> (which bundled in org.apache.servicemix.bundles.snmp4j-2.6.3_1)
> I did not find the support of SNMPv3 in which SNMP version.
> But as I check the source code of SNMP4j 2.6.3, and also test upon
> this version , snmp4j 2.x support SNMPv3 at least after 2.6.3.
>
> The problem is: from the option explanations, looks like camel-snmp
> supports the SNMPv3, authentication, privacy, but in fact these
> parameters seems not be used in the code for trap consuming.
>
> Thanks!
>
>
>
> Best Regards!
> Zhang Bo-wu (Bowyer)
> Engineer of CMS R&D China
> Mail: bo-wu.zhang@hpe.com
> Mobile Phone: (86)13986295819
> Fixed Phone: 86-27-59553805
> Planned Personal leave:
>
> -----Original Message-----
> From: Zheng Feng <zf...@redhat.com>
> Sent: Tuesday, March 1, 2022 5:22 PM
> To: users@camel.apache.org
> Subject: Re: Question : Whether the camel-snmp 3.14.1 support
> consuming
> snmpv3 trap
>
> I wonder if there is any issue to track this upgrading to snmp4j 3,x
> with camel-snmp ?
>
> On Tue, Mar 1, 2022 at 5:19 PM Claus Ibsen <cl...@gmail.com> wrote:
>
> > Hi
> >
> > camel-snmp is using an older 2.x version of snmp4j and it may be
> > limited what it can do.
> >
> > there is a 3.x version of snmp4j
> > https://www.snmp4j.org/
> > uxrdKJokuXbePNFqymgOstTkIdy1BmLMQyIFkFQb7uV7snHODqGO_0QYq$
> > FQmI6nBx02kQEQ-pXf5cPN-oFopCkmZzuEA9BNOElE4BX00IRx3mrYh$
> >
> > And it would be good to get camel-snmp upgraded to use this newer
> version.
> > Help with this is appreciated.
> > INVALID URI REMOVED
> > uting/__;!!NpxR!3ovjVy90gFQmI6nBx02kQEQ-pXf5cPN-oFopCkmZzuEA9BNOElE4
> > BX
> > 00IbGHv1h_$
> >
> > I suggest you look at
> > https://www.snmp4j.org/ and see what it can do about v3 traps.
> > As it must be supported in snmp4j before we can support it too in Camel.
> >
> >
> > On Tue, Mar 1, 2022 at 9:34 AM Zhang, Bo-Wu <bo...@hpe.com> wrote:
> > >
> > > Hello, all:
> > > I have a question about using camel-snmp component.
> > > From the component user guide, it has options to set SNMP version,
> > securityLevel, authenticationPassphase, privacyPassphase
> > > But from the code I did not see where set the security and USM
> > information.
> > > And based on my test, it can't receive the SNMPv3 traps with
> > authentication or privacy.
> > > Anyone can help to clarify,
> > >
> > > It will be appreciated. Thanks!
> > >
> > >
> > > Best Regards!
> > > Zhang Bo-wu (Bowyer)
> > > Engineer of CMS R&D China
> > > Mail: bo-wu.zhang@hpe.com<ma...@hpe.com>
> > > Mobile Phone: (86)13986295819
> > > Fixed Phone: 86-27-59553805
> > > Planned Personal leave:
> > >
> >
> >
> > --
> > Claus Ibsen
> > -----------------
> > http://davsclaus.com
> > dKJokuXbePNFqymgOstTkIdy1BmLMQyIFkFQb7uV7snHODqM3jG4Hk$
> > I6nBx02kQEQ-pXf5cPN-oFopCkmZzuEA9BNOElE4BX00IZJi67E8$ @davsclaus
> > Camel in Action 2:
> > https://www.manning.com/ibsen2
> > 1Uvk75zuxrdKJokuXbePNFqymgOstTkIdy1BmLMQyIFkFQb7uV7snHODqGRBPchC$
> > vjVy90gFQmI6nBx02kQEQ-pXf5cPN-oFopCkmZzuEA9BNOElE4BX00IRIhoKaz$
> >
> >
>
Re: Question : Whether the camel-snmp 3.14.1 support consuming snmpv3 trap
Posted by Zheng Feng <zf...@redhat.com>.
Hi,
It looks like these options (authentication, privacy) only are available
with SnmpOIDPoller.
On Tue, Mar 1, 2022 at 6:15 PM Zhang, Bo-Wu <bo...@hpe.com> wrote:
> Hello, Claus:
> As I checked the latest camel-snmp version still upon snm4j 2.6.3 (which
> bundled in org.apache.servicemix.bundles.snmp4j-2.6.3_1)
> I did not find the support of SNMPv3 in which SNMP version.
> But as I check the source code of SNMP4j 2.6.3, and also test upon this
> version , snmp4j 2.x support SNMPv3 at least after 2.6.3.
>
> The problem is: from the option explanations, looks like camel-snmp
> supports the SNMPv3, authentication, privacy, but in fact these parameters
> seems not be used in the code for trap consuming.
>
> Thanks!
>
>
>
> Best Regards!
> Zhang Bo-wu (Bowyer)
> Engineer of CMS R&D China
> Mail: bo-wu.zhang@hpe.com
> Mobile Phone: (86)13986295819
> Fixed Phone: 86-27-59553805
> Planned Personal leave:
>
> -----Original Message-----
> From: Zheng Feng <zf...@redhat.com>
> Sent: Tuesday, March 1, 2022 5:22 PM
> To: users@camel.apache.org
> Subject: Re: Question : Whether the camel-snmp 3.14.1 support consuming
> snmpv3 trap
>
> I wonder if there is any issue to track this upgrading to snmp4j 3,x with
> camel-snmp ?
>
> On Tue, Mar 1, 2022 at 5:19 PM Claus Ibsen <cl...@gmail.com> wrote:
>
> > Hi
> >
> > camel-snmp is using an older 2.x version of snmp4j and it may be
> > limited what it can do.
> >
> > there is a 3.x version of snmp4j
> > https://www.snmp4j.org/
> > FQmI6nBx02kQEQ-pXf5cPN-oFopCkmZzuEA9BNOElE4BX00IRx3mrYh$
> >
> > And it would be good to get camel-snmp upgraded to use this newer
> version.
> > Help with this is appreciated.
> > INVALID URI REMOVED
> > uting/__;!!NpxR!3ovjVy90gFQmI6nBx02kQEQ-pXf5cPN-oFopCkmZzuEA9BNOElE4BX
> > 00IbGHv1h_$
> >
> > I suggest you look at
> > https://www.snmp4j.org/ and see what it can do about v3 traps.
> > As it must be supported in snmp4j before we can support it too in Camel.
> >
> >
> > On Tue, Mar 1, 2022 at 9:34 AM Zhang, Bo-Wu <bo...@hpe.com> wrote:
> > >
> > > Hello, all:
> > > I have a question about using camel-snmp component.
> > > From the component user guide, it has options to set SNMP version,
> > securityLevel, authenticationPassphase, privacyPassphase
> > > But from the code I did not see where set the security and USM
> > information.
> > > And based on my test, it can't receive the SNMPv3 traps with
> > authentication or privacy.
> > > Anyone can help to clarify,
> > >
> > > It will be appreciated. Thanks!
> > >
> > >
> > > Best Regards!
> > > Zhang Bo-wu (Bowyer)
> > > Engineer of CMS R&D China
> > > Mail: bo-wu.zhang@hpe.com<ma...@hpe.com>
> > > Mobile Phone: (86)13986295819
> > > Fixed Phone: 86-27-59553805
> > > Planned Personal leave:
> > >
> >
> >
> > --
> > Claus Ibsen
> > -----------------
> > http://davsclaus.com
> > I6nBx02kQEQ-pXf5cPN-oFopCkmZzuEA9BNOElE4BX00IZJi67E8$ @davsclaus
> > Camel in Action 2:
> > https://www.manning.com/ibsen2
> > vjVy90gFQmI6nBx02kQEQ-pXf5cPN-oFopCkmZzuEA9BNOElE4BX00IRIhoKaz$
> >
> >
>
RE: Question : Whether the camel-snmp 3.14.1 support consuming snmpv3 trap
Posted by "Zhang, Bo-Wu" <bo...@hpe.com>.
Hello, Claus:
As I checked the latest camel-snmp version still upon snm4j 2.6.3 (which bundled in org.apache.servicemix.bundles.snmp4j-2.6.3_1)
I did not find the support of SNMPv3 in which SNMP version.
But as I check the source code of SNMP4j 2.6.3, and also test upon this version , snmp4j 2.x support SNMPv3 at least after 2.6.3.
The problem is: from the option explanations, looks like camel-snmp supports the SNMPv3, authentication, privacy, but in fact these parameters seems not be used in the code for trap consuming.
Thanks!
Best Regards!
Zhang Bo-wu (Bowyer)
Engineer of CMS R&D China
Mail: bo-wu.zhang@hpe.com
Mobile Phone: (86)13986295819
Fixed Phone: 86-27-59553805
Planned Personal leave:
-----Original Message-----
From: Zheng Feng <zf...@redhat.com>
Sent: Tuesday, March 1, 2022 5:22 PM
To: users@camel.apache.org
Subject: Re: Question : Whether the camel-snmp 3.14.1 support consuming snmpv3 trap
I wonder if there is any issue to track this upgrading to snmp4j 3,x with camel-snmp ?
On Tue, Mar 1, 2022 at 5:19 PM Claus Ibsen <cl...@gmail.com> wrote:
> Hi
>
> camel-snmp is using an older 2.x version of snmp4j and it may be
> limited what it can do.
>
> there is a 3.x version of snmp4j
> https://www.snmp4j.org/
> FQmI6nBx02kQEQ-pXf5cPN-oFopCkmZzuEA9BNOElE4BX00IRx3mrYh$
>
> And it would be good to get camel-snmp upgraded to use this newer version.
> Help with this is appreciated.
> INVALID URI REMOVED
> uting/__;!!NpxR!3ovjVy90gFQmI6nBx02kQEQ-pXf5cPN-oFopCkmZzuEA9BNOElE4BX
> 00IbGHv1h_$
>
> I suggest you look at
> https://www.snmp4j.org/ and see what it can do about v3 traps.
> As it must be supported in snmp4j before we can support it too in Camel.
>
>
> On Tue, Mar 1, 2022 at 9:34 AM Zhang, Bo-Wu <bo...@hpe.com> wrote:
> >
> > Hello, all:
> > I have a question about using camel-snmp component.
> > From the component user guide, it has options to set SNMP version,
> securityLevel, authenticationPassphase, privacyPassphase
> > But from the code I did not see where set the security and USM
> information.
> > And based on my test, it can't receive the SNMPv3 traps with
> authentication or privacy.
> > Anyone can help to clarify,
> >
> > It will be appreciated. Thanks!
> >
> >
> > Best Regards!
> > Zhang Bo-wu (Bowyer)
> > Engineer of CMS R&D China
> > Mail: bo-wu.zhang@hpe.com<ma...@hpe.com>
> > Mobile Phone: (86)13986295819
> > Fixed Phone: 86-27-59553805
> > Planned Personal leave:
> >
>
>
> --
> Claus Ibsen
> -----------------
> http://davsclaus.com
> I6nBx02kQEQ-pXf5cPN-oFopCkmZzuEA9BNOElE4BX00IZJi67E8$ @davsclaus
> Camel in Action 2:
> https://www.manning.com/ibsen2
> vjVy90gFQmI6nBx02kQEQ-pXf5cPN-oFopCkmZzuEA9BNOElE4BX00IRIhoKaz$
>
>
Re: Question : Whether the camel-snmp 3.14.1 support consuming snmpv3 trap
Posted by Zheng Feng <zf...@redhat.com>.
I wonder if there is any issue to track this upgrading to snmp4j 3,x with
camel-snmp ?
On Tue, Mar 1, 2022 at 5:19 PM Claus Ibsen <cl...@gmail.com> wrote:
> Hi
>
> camel-snmp is using an older 2.x version of snmp4j and it may be
> limited what it can do.
>
> there is a 3.x version of snmp4j
> https://www.snmp4j.org/
>
> And it would be good to get camel-snmp upgraded to use this newer version.
> Help with this is appreciated.
> https://camel.apache.org/community/contributing/
>
> I suggest you look at https://www.snmp4j.org/ and see what it can do
> about v3 traps.
> As it must be supported in snmp4j before we can support it too in Camel.
>
>
> On Tue, Mar 1, 2022 at 9:34 AM Zhang, Bo-Wu <bo...@hpe.com> wrote:
> >
> > Hello, all:
> > I have a question about using camel-snmp component.
> > From the component user guide, it has options to set SNMP version,
> securityLevel, authenticationPassphase, privacyPassphase
> > But from the code I did not see where set the security and USM
> information.
> > And based on my test, it can't receive the SNMPv3 traps with
> authentication or privacy.
> > Anyone can help to clarify,
> >
> > It will be appreciated. Thanks!
> >
> >
> > Best Regards!
> > Zhang Bo-wu (Bowyer)
> > Engineer of CMS R&D China
> > Mail: bo-wu.zhang@hpe.com<ma...@hpe.com>
> > Mobile Phone: (86)13986295819
> > Fixed Phone: 86-27-59553805
> > Planned Personal leave:
> >
>
>
> --
> Claus Ibsen
> -----------------
> http://davsclaus.com @davsclaus
> Camel in Action 2: https://www.manning.com/ibsen2
>
>
Re: Question : Whether the camel-snmp 3.14.1 support consuming snmpv3 trap
Posted by Claus Ibsen <cl...@gmail.com>.
Hi
camel-snmp is using an older 2.x version of snmp4j and it may be
limited what it can do.
there is a 3.x version of snmp4j
https://www.snmp4j.org/
And it would be good to get camel-snmp upgraded to use this newer version.
Help with this is appreciated.
https://camel.apache.org/community/contributing/
I suggest you look at https://www.snmp4j.org/ and see what it can do
about v3 traps.
As it must be supported in snmp4j before we can support it too in Camel.
On Tue, Mar 1, 2022 at 9:34 AM Zhang, Bo-Wu <bo...@hpe.com> wrote:
>
> Hello, all:
> I have a question about using camel-snmp component.
> From the component user guide, it has options to set SNMP version, securityLevel, authenticationPassphase, privacyPassphase
> But from the code I did not see where set the security and USM information.
> And based on my test, it can't receive the SNMPv3 traps with authentication or privacy.
> Anyone can help to clarify,
>
> It will be appreciated. Thanks!
>
>
> Best Regards!
> Zhang Bo-wu (Bowyer)
> Engineer of CMS R&D China
> Mail: bo-wu.zhang@hpe.com<ma...@hpe.com>
> Mobile Phone: (86)13986295819
> Fixed Phone: 86-27-59553805
> Planned Personal leave:
>
--
Claus Ibsen
-----------------
http://davsclaus.com @davsclaus
Camel in Action 2: https://www.manning.com/ibsen2