On 18 May 2012 14:57, Michael Dorin <bsddo...@gmail.com> wrote: > My question should have been more specific..the Table function is > invoked when a get request comes in... > and UPSALARMID is built...but it never comes back for the remaining > columns.(At least that is how it seems to me)... > I thought it would come back and ask for UPSALARMDESCR...but > it does not seem to.
What table framework are you using? What does the full code of your MIB module look like? > switch(vp->magic) { > case UPSALARMID: > VAR = VALUE; /* XXX */ > return (u_char*) &VAR; > case UPSALARMDESCR: > VAR = VALUE; /* XXX */ > return (u_char*) &VAR; > case UPSALARMTIME: > VAR = VALUE; /* XXX */ > return (u_char*) &VAR; > default: > ERROR_MSG(""); This looks like the old v4-style approach. Is there any reason you are using that rather than the current handler-based style? You've omitted the code that handles determining the appropriate row of the table, and setting the result OID, etc. It's impossible to tell what's going wrong, from such a minimal code fragment. If you want us to be able to help you, you must give us something to work with Dave ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users