Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re^2: Using the SNMP module from the Net-SNMP library

by Anonymous Monk
on Feb 27, 2008 at 13:45 UTC ( [id://670631] : note . print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $res = $session->get("sysDescr.0",[\&call]);
        die $session->{ErrorStr} if ($session->{ErrorStr});
    ...
        print Dumper($vlist);
        SNMP::finish();
    }
    
  2. or download this
    ok        0:'sysDescr'    1:''    2:''    3:''
    $VAR1 = bless( [
                     bless( [
    ...
                              'OCTETSTR'
                            ], 'SNMP::Varbind' )
                   ], 'SNMP::VarList' );