I have the upgrade working now.  It basically came down to the
-mini-agent flag.  This apparently removes several required MIB groups
(invisibly).
So with that flag removed, I kept eliminating MIBs I do not need until I
replicated the errors that started this thread.


The resultant configure flags I used are

--with-mib-modules=haipe,host/hr_system,mibII/system_mib,mibII/vacm_vars
,mibII/setSerialNo,snmpv3mibs,utilities \
--with-out-mib-modules=agent_mibs,agentx,disman,examples,host,if-mib,ip-
forward-mib,ip-mib,mibII,misc,notification,Rmon,smux,snmp-usm-dh-objects
-mib,tcp-mib,target,tunnel,ucd_snmp 



That results in these MIB groups

host/hr_system mibII/system_mib util_funcs 
mibII/vacm_conf mibII/vacm_context mibII/vacm_vars 
snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser snmpv3/snmpEngine 
utilities/override utilities/execute 



Thanks for the help guys,
Adam

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Bell,
Adam
Sent: Wednesday, February 06, 2008 10:15 AM
To: Dave Shield
Cc: net-snmp-users@lists.sourceforge.net
Subject: RE: upgrading from 5.2.3 to 5.2.4

OK

I rebuild a default agent from the same tar as my custom build. I did
not run make install.
I ran net-snmp-config to create a v3 user - the default snmpd build
works as expected. The user info was hashed in the
/var/net-snmp/snmpd.conf file.
It did add a new tag though called - setserialno.

I ran the default build without any complaints on the command line.  I
can browse some mibs using V3 -- This is good news.

I then tried to run my custom build of 5.2.4 and it complained about
setserialno?

So it seems there is something I am not including in my custom build
that was automatically included under 5.2.3 or I excluded something now
critical.
I will try adding MIB modules until it works.

Adam
 

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Dave Shield
Sent: Friday, February 01, 2008 4:21 AM
To: Bell, Adam
Cc: net-snmp-users@lists.sourceforge.net
Subject: Re: upgrading from 5.2.3 to 5.2.4

On 31/01/2008, Bell, Adam <[EMAIL PROTECTED]> wrote:
> One more quick question - what is a default build?

   ./configure ; make ; make install


>                                                    Is there a 
> configure script available for a default build

Just run "configure" with no other options.
Or at least, the minimum tweaking required to get something working.

>                                                            or should I

> just not use --with-mibs and --with-out-mibs for the first try?  then 
> add/remove MIBs until it breaks?

That's essentially what I mean - yes.
And I'd probably drop "--enable-mini-agent" as well.

Or you could try with "--enable-mini-agent"  *instead*
of using "--with-out-mib-modules".   This option omits
all non-essential MIB implementations anyway, so you shouldn't need to
explicitly remove anything yourself.

(N.S: "--with-mibs" and "--with-mib-modules" do two very
 different things!   It's the MIB modules you are interested
 in,  not the MIB files)


Dave
The information contained in this electronic mail transmission may be
privileged and confidential, and therefore, protected from disclosure.
If you have received this communication in error, please notify us
immediately by replying to this message and deleting it from your
computer without copying or disclosing it.



------------------------------------------------------------------------
-
This SF.net email is sponsored by: Microsoft Defy all challenges.
Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
The information contained in this electronic mail transmission 
may be privileged and confidential, and therefore, protected 
from disclosure. If you have received this communication in 
error, please notify us immediately by replying to this 
message and deleting it from your computer without copying 
or disclosing it.



-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to