Add a FreeBSD MIB with a few branches we can hang things from.
This commit is contained in:
parent
ff85c697fb
commit
abc6dc7772
@ -18,6 +18,7 @@ SUBDIR= colldef \
|
||||
numericdef \
|
||||
${_sendmail} \
|
||||
skel \
|
||||
snmp \
|
||||
syscons \
|
||||
tabset \
|
||||
termcap \
|
||||
|
5
share/snmp/Makefile
Normal file
5
share/snmp/Makefile
Normal file
@ -0,0 +1,5 @@
|
||||
# $FreeBSD$
|
||||
|
||||
SUBDIR= mibs
|
||||
|
||||
.include <bsd.subdir.mk>
|
57
share/snmp/mibs/FREEBSD-MIB.txt
Normal file
57
share/snmp/mibs/FREEBSD-MIB.txt
Normal 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
7
share/snmp/mibs/Makefile
Normal file
@ -0,0 +1,7 @@
|
||||
# $FreeBSD$
|
||||
|
||||
FILES= FREEBSD-MIB.txt
|
||||
NOOBJ= noobj
|
||||
FILESDIR= ${SHAREDIR}/snmp/mibs
|
||||
|
||||
.include <bsd.prog.mk>
|
Loading…
Reference in New Issue
Block a user