in reply to Net::SNMP $session-get_request problem

Besides the typo that Kanji mentioned, if you are still having problems, it might be because you aren't using the right oid notation.

oid's that are fully qualified need to start with a . so 1.3.6.1.4.1... would be .1.3.6.1.4.1...

Now, not knowing which oid you mean to pull, I can't be of too much help. (On my default install of net-snmp, I can't get that oid to resolve to a name... but that's probably just because I'm missing the MIB that you're pulling from...)

Replies are listed 'Best First'.
Re: Re: Net::SNMP $session-get_request problem
by melguin (Pilgrim) on Aug 03, 2001 at 02:41 UTC
    Thanks all for the help. I got if figured out. Just thought I'd give my findings for future generations.

    After correcting the typo mentioned by dondelecaro, it works (well, it would have worked except that someone elses program was messing up the SNMP stuff).

    A good reference for Net::SNMP is the module doc. I found a copy at here.

    thanks again.