I have the following trivial test code that doesn't work,
and I haven't yet found any documentation that will tell me why not.

#! /usr/bin/perl
use SNMP;

$sess = new SNMP::Session(DestHost => 'localhost', Community => 'public',
Version => 1);

 $val = $sess->get('sysLocation.0');       # this WORKS
#$val = $sess->get('1.3.6.1.2.1.1.6.0');   # this DOESN'T

print "'$val'\n";

FYI. The statement that doesn't work generates a getnext(0.0)

TIA
Fulko
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to