2009/4/1 down Load <[email protected]>:
> rocommunity public
> com2sec notConfigUser default public
> group notConfigGroup v1 notConfigUser
> group notConfigGroup v2c notConfigUser
> view allview included .1.3.6
> access notConfigGroup "" any noauth exact allview none none
First thing - you are mixing two different types of access control.
*Either* use "rocommunity" *or* use "com2sec/group/view/access".
Don't try to use both at the same time.
> agentaddress 161
> # Proxy IBM Agnt Requests for port number
> proxy -v 1 -c public 127.0.0.1:161 1.3.6.1.4.1.2.2.1.1.0
That doesn't make sense either.
You are listening on port 161, but then forwarding certain
requests to the agent listening on port 161.
Which is the same agent.
So if a request comes in for this object (or any of the other
proxied areas), it will be forwarded to the agent on localhost:161.
Which will then be forwarded to the agent on localhost:161.
Which will then be forwarded to the agent on localhost:161.
Which will then be forwarded to the agent on localhost:161.
Which will then be forwarded to the agent on localhost:161.
Which will then be forwarded to the agent on localhost:161.
> Please help me to solve this problem
I'd start by simplifying your config.
Remove *EVERYTHING* and just use the single line
rocommunity public
Then restart the agent.
Now try running the command
snmpget -v 1 -c public localhost sysDescr.0
Do you get anything back?
Dave
------------------------------------------------------------------------------
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders