Re: issue with snmpget
Dave Shield <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
2009/5/22 Tanisha Kashyap <[email protected]>: > I have to a get on a MIB variable but it gives me a timeout everytime. > > I am able to do a set on this variable successfully so it doesn’t look like > a access control problem. Using the same administrative settings for both? In which case, I'd agree. If a SET request works, but an identical GET request fails, that sounds like coding problems. > Below is the code for GET block: > > case MODE_GET: > snmp_set_var_typed_value(ptr_requests->requestvb, ASN_INTEGER, > (u_char *) &resync_var, sizeof(resync_var)); > break; Is this code actually getting called? Try putting some debugging statements in, and see if they get triggered. Dave ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://www.creativitycat.com _______________________________________________ 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