Hi there!.
I tried the NoAuthNoPriv option as well ( no authentication or encryption - the 
 username has to just exist at the agent) - no luck...the router debugs 
indicate the  username is not  being passed....
Does Net-SNMP really support V3? has anyone tried it ????


Jun 18 20:19:18.668: SNMP: Packet received via UDP from <remote_server> on 
FastEthernet0/0
Jun 18 20:19:18.672:
Incoming SNMP packet
Jun 18 20:19:18.672: v3 packet  security model: v3       security level: noauth
Jun 18 20:19:18.672: username:
Jun 18 20:19:18.672: snmpEngineID: 800000090300001759DF1AB0
Jun 18 20:19:18.672: snmpEngineBoots: 0 snmpEngineTime: 0
Jun 18 20:19:18.672: SNMP: Report, reqid 873832368, errstat 0, erridx 0
 internet.6.3.15.1.1.4.0 = 71
Jun 18 20:19:18.676: SNMP: Packet sent via UDP to <remote_server>
Jun 18 20:19:18.688: SNMP: Packet received via UDP from <remote_server>on 
FastEthernet0/0
Jun 18 20:19:19.688: SNMP: Packet received via UDP from <remote_server>on 
FastEthernet0/0
 Jun 18 20:19:20.688: SNMP: Packet received via UDP from <remote_server>on 
FastEthernet0/0
 





Ajay Chenampara <[EMAIL PROTECTED]> wrote: 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


       
---------------------------------
Boardwalk for $500? In 2007? Ha! 
Play Monopoly Here and Now (it's updated for today's economy) at Yahoo! Games.
-------------------------------------------------------------------------
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

Reply via email to