Re: SNMP Walk with Perl
"Dave Shield" <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
2008/6/16 Thomas Bonham <[email protected]>: > Hi all, > > What I'm doing is doing a snmp walk and I have all of the code working > right and it returns the more values then I'm looking for. Here is the > results that it comes back with. > > ipAdEntAddr 127.0.0.1 127.0.0.1 IPADDR # This is good > ipAdEntAddr 192.168.0.230 192.168.0.230 IPADDR # This is good > ipAdEntIfIndex 127.0.0.1 1 INTEGER # This is a bad > > The last result isn't what I'm wanting. That's because you are still using an "until" loop. As I told you last week, you really need to use a "while" loop so you can test each result *before* printing it out. Dave ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ 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