[SNMP4J] snmp4j for multiple device

Frank Fock fock at agentpp.com
Fri Dec 19 18:41:20 CET 2014


Hi Brijesh,

You misunderstood me, not the security name is the problem source, instead
there are two or more SNMP devices that use the same engine ID (which is
not allowed/supported by SNMPv3).

Best regards,
Frank

Am 19.12.2014 12:26, schrieb Brijesh Kumar:
> Hi Frank,
> Yes i am using same security name but if security name is similar then it will throw below  error right ?
>
> Message processing model 3 returned error: Unknown security name
>
> but i am getting
>
> MessageException: Message processing model 3 returned error: Unsupported security level
>
> I have done below changes by following one of the FAQ  and it dint work either. please point me the FAQ you mentioned in previous email.
> USM usm = USMFactory.getInstance();
> Regards
> Brijesh
> Date: Fri, 19 Dec 2014 10:01:37 +0100
> From: frank.fock at t-online.de
> To: brijeshvk at hotmail.com; snmp4j at agentpp.org
> Subject: Re: [SNMP4J] snmp4j for multiple device
>
>
>    
>      
>    
>    
>      OK, then you hit an FAQ. As you are
>        using the same security name
>
>        for all the devices, it is essential (in other cases too, but you
>        will not
>
>        see the negative results that early) that you have a unique engine
>        ID
>
>        for each device. This is an absolut requirement by SNMPv3.
>
>        
>
>        Best regards,
>
>        Frank
>
>        
>
>        Am 19.12.2014 09:47, schrieb Brijesh Kumar:
>
>      
>      
>        
>        Hi Frank,
>
>          Thanks for your reply.
>
>          My configurations are correct as i run multiple times and it
>          worked some run and failed in other runs to be more specific
>          device A, B,C worked first run and Device D and E failed. in
>          second run Device A,E,C are successful . For some device privacy
>          protocol was not applicable and some device it was set.
>
>          
>
>          > Date: Thu, 18 Dec 2014 20:45:35 +0100
>
>            > From: fock at agentpp.com
>
>            > To: snmp4j at agentpp.org
>
>            > Subject: Re: [SNMP4J] snmp4j for multiple device
>
>            >
>
>            > Hi Brijesh,
>
>            >
>
>            > If you get an unsupportedSecurityLevel error, then you
>            specified a
>
>            > security level that is not supported
>
>            > by your USM configuration. Basically, you will have to
>            provide either a
>
>            > privacy password and a
>
>            > authentication password for the corresponding protocols
>            in the
>
>            > configuration.
>
>            >
>
>            > Best regards,
>
>            > Frank
>
>            >
>
>            > Am 18.12.2014 18:10, schrieb Brijesh Kumar:
>
>            > > Hi,
>
>            > > I am running snmp4j request for 10 device parallel .
>            I am using snmpv3 . If all devices is having same set of cred
>            set it works fine.
>
>            > > If any of this having different auth protocol (MD5
>            or SHA) or privacy protocol it fails .
>
>            > > I am getting below error
>
>            > > Message processing model 3 returned error:
>            Unsupported security level
>
>            > >
>
>            > > Is there any way i can accomplish sending multiple
>            snmpv3 request to different device parallely ?
>
>            > >
>
>            > > Regards
>
>            > > Brijesh
>
>            > >
>
>            > > _______________________________________________
>
>            > > SNMP4J mailing list
>
>            > > SNMP4J at agentpp.org
>
>            > > https://oosnmp.net/mailman/listinfo/snmp4j
>
>            >
>
>            > --
>
>            > ---
>
>            > AGENT++
>
>            > Maximilian-Kolbe-Str. 10
>
>            > 73257 Koengen, Germany
>
>            > https://agentpp.com
>
>            > Phone: +49 7024 8688230
>
>            > Fax: +49 7024 8688231
>
>            >
>
>            > _______________________________________________
>
>            > SNMP4J mailing list
>
>            > SNMP4J at agentpp.org
>
>            > https://oosnmp.net/mailman/listinfo/snmp4j
>
>          
>        
>      
>      
>   		 	   		
> _______________________________________________
> SNMP4J mailing list
> SNMP4J at agentpp.org
> https://oosnmp.net/mailman/listinfo/snmp4j

-- 
---
AGENT++
Maximilian-Kolbe-Str. 10
73257 Koengen, Germany
https://agentpp.com
Phone: +49 7024 8688230
Fax:   +49 7024 8688231




More information about the SNMP4J mailing list