Hi,
I am trying to establish an snmpv3 session with a cisco router using the
cricket monitoring system. I am trying to do it using the authNoPriv level.
While, I can get snmpwalk etc to work from the monitoring box (RH linux) to
the router, I cant get the snmpsession to open with perl.
When i run the collector, I see that the snmp session pointer is being set. But
when I debug snmp headers at the router end, it shows that though a snmp v3
packet is received, the security level is set to "noauth" and there is no
username as well.
I am quite stumped, as I can do the snmpwalk -v 3 perfectly fine.
Running the collector indicates a timeout.
When I print these variables in SNMP.pm, my values appear correctly.
$this->{SessPtr} = SNMP::_new_v3_session($this->{Version},
$this->{DestHost},
$this->{Retries},
$this->{Timeout},
$this->{SecName},
$this->{SecLevel},
$this->{SecEngineId},
$this->{ContextEngineId},
$this->{Context},
$this->{AuthProto},
$this->{AuthPass},
$this->{PrivProto},
$this->{PrivPass},
$this->{EngineBoots},
$this->{EngineTime},
);
Any help will be appreciated
Ajay
---------------------------------
Park yourself in front of a world of choices in alternative vehicles.
Visit the Yahoo! Auto Green Center.-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders