Just wondering if you could help me undersand what is happening here, this module has been working great guns for everything I have ever
needed up until I tried to get values back out of a particular mib
called CISCO-SDSL-LINE-MIB, now the interesting part is that values in
this mib are working fine all but one object known as
cSdslLineConfProfile for some reason SNMP Info is returning the
ifindex in $var at the end of the leaf, so for example after this part
executes
else {
# GETNEXT instead of BULKWALK
$sess->getnext($var);
$errornum = $sess->{ErrorNum};
$var now has cSdslLineConfProfile.268 instead of just
cSdslLineConfProfile hence the line in the code that says last if
$var->[0] ne $leaf is executed.
I have tried to understand whats happening SNMP.pm getnext but cant.
Are you able to advise what could be happening..
So before the first getnext $var looks like this
$VAR1 = bless( [
'cSdslLineConfProfile'
], 'SNMP::Varbind' );
Then after the getnext
$VAR1 = bless( [
'cSdslLineConfProfile.268',
'',
'shdsl_776',
'OCTETSTR'
], 'SNMP::Varbind' );
Thanks
Russel Kropp
Data Specialist
Brisbane Records Management
T 07 3606 7552 (extn 67552)
F 07 3606 7119
E [email protected]
W aapt.com.au <http://www.aapt.com.au/>
Level 3, 100 Wickham Street, Fortitude Valley
QLD 4006, Brisbane
________________________________
"This communication, including any attachments, is confidential. If you
are not the intended recipient, you should not read it - please contact
me immediately, destroy it, and do not copy or use any part of this
communication or disclose anything about it."
This communication, including any attachments, is confidential. If you are not
the intended recipient, you should not read it - please contact me immediately,
destroy it, and do not copy or use any part of this communication or disclose
anything about it.
<<AAPT2.jpg>>
------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________ 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
