in reply to How can I send 2 snmp set_requests at the same time

I'm completely clueless about SNMP (and others will say, you can drop the "about SNMP" part :-) ), but looking at Net::SNMP, they don't have leading .'s on the keys they're setting in the examples:
my $sysUpTime = '1.3.6.1.2.1.1.3.0'; my $result = $session->get_request( -varbindlist => [$sysUpTime] );
Maybe they're only needed for the commandline utility?
--
Mike

Replies are listed 'Best First'.
Re: Re: How can I send 2 snmp set_requests at the same time
by smoss (Acolyte) on Jun 12, 2002 at 14:23 UTC
    Thanks for the response. It usually works with or without the leading dot. I have tried to make sure here though and indeed I do have the same result either way.
      Darn. Here's hoping some Net::SNMP-clued person wanders by, then.
      --
      Mike