melguin has asked for the wisdom of the Perl Monks concerning the following question:
I have used another utility called snmpget with the same hostname, community, and oid. It works successfully.my ($remote_snmp_session,$error); ($remote_snmp_session,$error) = Net::SNMP->session(Hostname=>"localhos +t",Community=>"public"); my ($value,$result); my $oid = "1.3.6.1.4.1.314.50.1.20.3.50.1"; ##here's the problem## $result = $remote_snmp_session->get_request($iod) || die "Problem:$!", + $remote_snmp_session->error;
I've looked through as much documentation as I can get my hands on, but I think I'm missing something very fundimental here. Anyone care to enlighten me?
many thanks.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Net::SNMP $session-get_request problem
by Kanji (Parson) on Aug 03, 2001 at 00:15 UTC | |
|
Re: Net::SNMP $session-get_request problem
by VSarkiss (Monsignor) on Aug 02, 2001 at 23:54 UTC | |
|
Re: Net::SNMP $session-get_request problem
by dondelelcaro (Monk) on Aug 03, 2001 at 00:54 UTC | |
by melguin (Pilgrim) on Aug 03, 2001 at 02:41 UTC |