Re: 'Inter-Tables indexing' and perl
Turbo Fredriksson <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Organization | Bah! |
| Message-ID | <[email protected]> |
[Just replying for the sake of the mail archives.] Quoting Turbo Fredriksson <[email protected]>: > There's a strange bug somewhere... > > ----- s n i p ----- > root@aurora:~# table OID_BASE.6 > SNMP table: enterprises.bayourCom.snmp.baculaStats.baculaClientsTable > > baculaClientsIndex baculaClientName baculaClientUname baculaClientAutoPrune baculaClientRetentionFile baculaClientRetentionJob > 1 ? ? ? ? ? > 2 client2 sparc-unknown-linux-gnu,debian,3.0 true 1209600 2592000 > 3 client3 i386-pc-linux-gnu,debian,3.0 true 1209600 2592000 > 4 client4 sparc-unknown-linux-gnu,debian,3.0 true 1209600 2592000 > ----- s n i p ----- Oki, THAT was: a) a bug in my script and b) a misunderstanding on how 'snmptable' retrieved it's values.. It tries to getnext on '<OID_BASE>.8.1.1' (and there I returned the correct '<OID_BASE>.8.1.1.1'. But next query was for '<OID_BASE>.8.1.2' (and then '<OID_BASE>.8.1.3' etc). But I STILL only returned '<OID_BASE>.8.1.1.1'. I SHOULD have returned '<OID_BASE>.8.1.2.1' etc... ------------------------------------------------------- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl _______________________________________________ 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