Hi all,
I am having the problem in as described in FAQ "Requests always seem to timeout, and don't give me anything back."
In the question it is stated there that "
If the agent is not configured to allow access for a particular community,
then no error response will be returned. The Net-SNMP tools will retry
the request a number of times, before reporting a timeout error.
If the agent is configured to allow partial access for a given
community, then requests that fall outside this authorised access
*will* result in an error response.
(SNMP agents can be very fussy over who they talk to!)"
then no error response will be returned. The Net-SNMP tools will retry
the request a number of times, before reporting a timeout error.
If the agent is configured to allow partial access for a given
community, then requests that fall outside this authorised access
*will* result in an error response.
(SNMP agents can be very fussy over who they talk to!)"
Command used from SNMP manager: snmpwalk -c public -v 2c agentIp .1.3
It timeout and no response.
I have verified that my agent was receiving the request but indicated incorrect access control and trying to send out the SNMP_TRAP_AUTHFAIL, but could not.
So how can I configure the agent to allow access for a particular community WITHOUT using snmpd.conf or snmp.conf like? Because the agent is cross-compiled and running as a thread in an embedded device.
Thanks very much!
Shufen
Do you Yahoo!?
Yahoo! Mail - Helps protect you from nasty viruses.