On Fri, 2005-05-27 at 08:22, jigar contractor wrote: > I am setting error state at sub agent using function > netsnmp_set_request_error to SNMP_ERR_RESOURCEUNAVAILABLE.
Note that this error is *only* applicable to SET requests. > But whenever I am getting this value using snmpget command > to retrieve this value. It is showing me the error > > Error in packet > Reason: (noSuchName) Yes - that's correct (for SNMPv1). This is pretty much the only error that a v1 GET (or GETNEXT) request would expect to receive. > I don't know why I am not getting this output.. Some body > help me to get this output No - it would be inappropriate to return resourceUnavailable to a GET request. Please re-read the specification of SNMP processing. Dave ------------------------------------------------------- This SF.Net email is sponsored by Yahoo. Introducing Yahoo! Search Developer Network - Create apps using Yahoo! Search APIs Find out how you can build Yahoo! directly into your own Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005 _______________________________________________ Net-snmp-coders mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
