Add a FreeBSD MIB with a few branches we can hang things from.

This commit is contained in:
Poul-Henning Kamp 2004-04-24 19:54:55 +00:00
parent c5d76ff8a6
commit 63224f60c3
4 changed files with 70 additions and 0 deletions

View File

@ -18,6 +18,7 @@ SUBDIR= colldef \
numericdef \
${_sendmail} \
skel \
snmp \
syscons \
tabset \
termcap \

5
share/snmp/Makefile Normal file
View File

@ -0,0 +1,5 @@
# $FreeBSD$
SUBDIR= mibs
.include <bsd.subdir.mk>

View File

@ -0,0 +1,57 @@
-- *****************************************************************
-- This file is in the public domain.
--
-- FreeBSD SMI { enterprises 2238 }
--
-- $FreeBSD$
--
-- *****************************************************************
FREEBSD-MIB DEFINITIONS ::= BEGIN
IMPORTS
MODULE-IDENTITY,
OBJECT-IDENTITY,
enterprises
FROM SNMPv2-SMI;
FreeBSD MODULE-IDENTITY
LAST-UPDATED "200404110000Z"
ORGANIZATION "The FreeBSD Project."
CONTACT-INFO
"phk@FreeBSD.org is contact person for this file.
core@FreeBSD.org is the final authority."
DESCRIPTION
"The Structure of Management Information for the
FreeBSD Project enterprise MIB subtree."
REVISION "200404110000Z"
DESCRIPTION
"Initial version of this MIB module."
::= { enterprises 2238 } -- assigned by IANA
FreeBSDsrc OBJECT-IDENTITY
STATUS current
DESCRIPTION
"Subtree for things which lives in the src tree."
::= { FreeBSD 1 }
FreeBSDports OBJECT-IDENTITY
STATUS current
DESCRIPTION
"Subtree for things which lives in the ports tree."
::= { FreeBSD 2 }
FreeBSDpeople OBJECT-IDENTITY
STATUS current
DESCRIPTION
"Subtree for FreeBSD people.
Under this branch any FreeBSD committer may claim
a subtree under his/her logname freefall.
To avoid ambiguity with subset lognames, the length
must be prepended.
Example: phk's subtree is: {FreeBSD 3 3 112 104 107}
"
::= { FreeBSD 3 }
END

7
share/snmp/mibs/Makefile Normal file
View File

@ -0,0 +1,7 @@
# $FreeBSD$
FILES= FREEBSD-MIB.txt
NOOBJ= noobj
FILESDIR= ${SHAREDIR}/snmp/mibs
.include <bsd.prog.mk>