Hi,
I have this following piece of code:
case MODE_GET:
{
abc = 1;
snmp_set_var_typed_value(ptr_requests->requestvb, ASN_INTEGER, (u_char *)
&abc, sizeof(abc));
}
When I send out a get request I get a timeout error.
I tried running the agent using snmpd - Lf -d option and sent a get request
using -r 0 d option.
The packet received by the agent and the one sent by the get are similar.
However there is no packet being sent back from the agent to the requester.
Tanisha
"No task is so humble that it does not offer an outlet for individuality"
________________________________
"DISCLAIMER: This message is proprietary to Aricent and is intended solely for
the use of the individual to whom it is addressed. It may contain privileged or
confidential information and should not be circulated or used for any purpose
other than for what it is intended. If you have received this message in
error,please notify the originator immediately. If you are not the intended
recipient, you are notified that you are strictly prohibited from using,
copying, altering, or disclosing the contents of this message. Aricent accepts
no responsibility for loss or damage arising from the use of the information
transmitted by this email including damage from virus."
------------------------------------------------------------------------------
Register Now & Save for Velocity, the Web Performance & Operations
Conference from O'Reilly Media. Velocity features a full day of
expert-led, hands-on workshops and two days of sessions from industry
leaders in dedicated Performance & Operations tracks. Use code vel09scf
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
_______________________________________________
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