Re: A question of net-snmp
"AC." <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
> > On 18 August 2010 06:47, AC. <[email protected]> wrote: > >> How exactly are you retrieving the table. > > > > I used the "snmptable" command to retrive. > > In which case, things are working as expected. > > snmptable will send one GETNEXT request for each > row of the table, plus one additional request to discover > that it's reached the end. > > Try working this through by hand - you should see why > things work that way. > I see that, but I have to follow two rules: 1. When receiving the request command that want to get table information, it must ask the information from my kernel. -----> So I remove the check, "if(tlist == NULL)", to let agent ask information every request. 2. At the same request to retrive the table, I just want the agent to ask the information one time only. ------> This is my problem. Because it used the command, "getnext", to retrive the table. I have only one idea to do it now. I can calculate the time to check it. (e.g. ask information per 30 seconds) Do you have better idea to resolve it? ------------------------------------------------------------------------------ This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev _______________________________________________ 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