Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 Jul 1998 08:29:08 -0400
From:      Robert Withrow <witr@rwwa.com>
To:        wjw@IAEhv.nl
Cc:        witr@rwwa.com (Robert Withrow), hackers@FreeBSD.ORG
Subject:   Re: SYSCTL ....... 
Message-ID:  <199807251229.IAA06297@spooky.rwwa.com>
In-Reply-To: Your message of "Fri, 24 Jul 1998 14:39:33 %2B0200." <199807241239.OAA03407@surf.IAE.nl> 

next in thread | previous in thread | raw e-mail | index | archive | help

wjw@surf.IAE.nl said:
:- My major concern goes to "efficiency for lookups". Perhaps that is
:- wrong, and are there other solutions. Please, educate me. 

In the FreeBSD space I think you are right.  Like I said, I have
to worry about getting router management working on 4MB boxes,
along with IP, BGP, IPX, FR, etc, etc, etc...  Sigh.

:- You point of having a sysctl_find_oid, sounds like a very valid one,
:- with the minor problem of determining the type of a field.

That ties in my point about having a .mib file describe the entities.
Actually there are two parts to the database:

  1) The mib database itself (i.e., the data that you fetch and that
gets set).

  2) The "meta-mib" that tells you the type, size, oid, and other attributes
about the entities.

At Bay we generate the meta-mib from the .mib files (and other files
that annotate the .mib file).  The NMS's then read this meta-information
and know everything they need to about the mib itself.

:- =>  Also, why not provide the famous "Awesome Get Bulk" operation?
:- Is there a need for that in the kernel? Isn't get_next enough? 

>From the point of view of a client, the Get Bulk really *is* awesome.  
And itis pretty trivial to implement in the agent.

mike@smith.net.au said:
:- Speaking of structuring this sort of thing; make sure that any
:- potential implementors have a long hard look at the DMI structures.
:- See http://www.dmtf.org 

Another question (to the community):

Have the FreeBSD *architects* weigh in on the value of the sytsctl approach
as opposed to, say, something like a "sysctl" filesystem (like the proc
filesystem)?

Also, is this interface expected to be exposed via SNMP?

---------------------------------------------------------------------
Robert Withrow, R.W. Withrow Associates, Swampscott MA, witr@rwwa.COM



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199807251229.IAA06297>