How does snmpwalk work?
"tresh tresh" <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
Hi, can somebody describe me how snmpwalk work? Does it run the getnext request all the time? Is that it? And how does it finish? I suppose getnext will return the next object even if it is in another subtree than in the one which was requested. In other words, let's say I request for an OID which is the last one in some subtree. Getnext will return an next OID no matter it's in a different subtree. Am I right here? But snmpwalk stops itself when it has got all the data in the specified subtree. For example, snmpwalk -v 1 -c public computer.com system will print just OIDs in the system subtree. I want to implement my own mib using just a simple program and pass_persist directive. I don't exactly know how to implement getnext comand. What should the program return when the last OID in my mib is requested by getnext ? Thanks Roman ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ 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