Re: [libsmi] problem with smiGetNodeByOid

Hi!
I've got the solution now; it was a problem in the mib. I had not imported "enterprises".
Thanks, Mayank.
Frank Strauss strauss@ibr.cs.tu-bs.de on 04/13/2001 07:31:59 PM
To: Mayank Agarwal/HSS@HSS cc:
Subject: Re: [libsmi] problem with smiGetNodeByOid
Hi!
sndtrn4> Sorry for the confusion. What I wanted to highlight was that sndtrn4> though I can get a node correctly by name, I cannot get it by sndtrn4> oid (fully qualified or partial), if the mib contains an sndtrn4> imported mib. That is, if a.my imports SNMPv2-SMI and has the sndtrn4> first object id as ------- me OBJECT IDENTIFIER ::= { sndtrn4> enterprises 4 } , I cannot get "me" by oid.
Please give a detailed example with all required data so that I can reconstruct your problem.
In my recent mail I gave you I piece of code that works fine for me and I suggest to check whether your module is valid. Did you try my code? Did you check your module(s) with smilint?
Please keep posting your messages to the mailinglist.
-frank
-- !! This message is brought to you via the `libsmi' mailing list. !! Please do not reply to this message to unsubscribe. To subscribe or !! unsubscribe, send a mail message to libsmi-request@ibr.cs.tu-bs.de. !! See http://www.ibr.cs.tu-bs.de/projects/libsmi/ for more information.
participants (1)
-
sndtrn4@hss.hns.com