Any problems with having 2 SNMPv3 sessions open at once?
"Frank Radish" <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <EA4C167C3B9CB24E9EDE39997B4955F8054E531E@eusrcmw721.eamcs.ericsson.se> |
I believe the version I am using is 4.2.7 of the net-snmp package for
Perl5.
I seem to be able to create at least 2 v1 or 2c sessions at the same
time without
any problems, but with V3, when I attempt to create a second session,
I just get timeouts with the second session. I can create either v3
session
independently and they work fine, but if I create both at the same time,
one will
always timout...
Related to this, is there any way to delete a session?
Thanks,
Frank R.
$::V3_SESS_DEVICE2 = new SNMP::Session ( DestHost => '1.2.3.4',
Version => '3',
Timeout => 1000000,
Retries => 5,
Context => $::CONTEXT,
SecName => $::OTHER_SEC_NAME,
SecLevel => $::SEC_LEVEL,
AuthProto => $::AUTH_PROTO,
AuthPass => $::AUTH_PASS,
PrivProto => $::PRIV_PROTO,
PrivPass => $::PRIV_PASS );
$::V3_SESS_DEVICE3 = new SNMP::Session ( DestHost => '1.2.3.5',
Version => '3',
Timeout => 1000000,
Retries => 5,
Context => $::CONTEXT,
SecName => $::OTHER_SEC_NAME,
SecLevel => $::SEC_LEVEL,
AuthProto => $::AUTH_PROTO,
AuthPass => $::AUTH_PASS,
PrivProto => $::PRIV_PROTO,
PrivPass => $::PRIV_PASS );
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users