Agent (snmpd) seems to have cache

Simon Chamlian <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <CAJTs9VkTxnA6pLN+_xMxOc1g73T-w9yuCm-1oE-Q3A2o+-moTg@mail.gmail.com>
Hi,

I have the weirdest problem ever!

*I had a MIB (say MIB1) that I compiled. Works fine.*

*I made a new MIB (say MIB2). *

   1. Created new C/h files
   2. Changed the ./configure  --with-mib-modules=" ..." to use the new
   files
   3. Deleted all the c and header files related to MIB1.
   4. Recompiled successfully (snmpd has new date and time)
   5. Deleted MIB1 in /usr/share/snmp/mibs
   6. Added MIB2 in /usr/share/snmp/mibs
   7. KILLED snmpd
   8. re-launched the new snmpd

snmptranslate works fine.

Nevertheless, when I do a Get(walk) from my browser, it still returns the
MIB1 scalar values (and OIDs)?!?

It seems like the problem is in compilation phase where old c/h files are
being used even though I deleted all the objects and lo files.

What am I missing?

As if  *./configure  --with-mib-modules=".."* saves modules permanently
somewhere?

Thanks,
S

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d

_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.