I'm not sure if this is broken or if my expectations are off.  I've got a client 
program which tries to retrieve a bunch of SNMP object values with a single GET PDU.  
I build up the request and send it and get back sucess.  (That is, the condition I 
cribbed from examples

     if (status == STAT_SUCCESS && response->errstat == SNMP_ERR_NOERROR) {

is true.)

However, every var in the response has a type of 128 and the values are all null.  I 
know that the values I'm trying to retrieve are handled by an subagent that isn't 
running so I expect a failure but why is that failure indicated by weird types and 
null values rather than a failed status?  Is it because snmpd thinks ONE of the values 
might be valid so the status of the overall request is success even though, as it 
happens, every value is invalid?  Does type 128 mean invalid?  Is there something else 
I should check on the var to know it's bad?

                                Chris



-------------------------------------------------------
This SF.Net email is sponsored by: GNOME Foundation
Hackers Unite!  GUADEC: The world's #1 Open Source Desktop Event.
GNOME Users and Developers European Conference, 28-30th June in Norway
http://2004/guadec.org
_______________________________________________
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

Reply via email to