From 63224f60c3084f6ebeebc2179c1e834b5a6b8365 Mon Sep 17 00:00:00 2001 From: Poul-Henning Kamp Date: Sat, 24 Apr 2004 19:54:55 +0000 Subject: [PATCH] Add a FreeBSD MIB with a few branches we can hang things from. --- share/Makefile | 1 + share/snmp/Makefile | 5 +++ share/snmp/mibs/FREEBSD-MIB.txt | 57 +++++++++++++++++++++++++++++++++ share/snmp/mibs/Makefile | 7 ++++ 4 files changed, 70 insertions(+) create mode 100644 share/snmp/Makefile create mode 100644 share/snmp/mibs/FREEBSD-MIB.txt create mode 100644 share/snmp/mibs/Makefile diff --git a/share/Makefile b/share/Makefile index f1649bb9e1f..8483c39ed3d 100644 --- a/share/Makefile +++ b/share/Makefile @@ -18,6 +18,7 @@ SUBDIR= colldef \ numericdef \ ${_sendmail} \ skel \ + snmp \ syscons \ tabset \ termcap \ diff --git a/share/snmp/Makefile b/share/snmp/Makefile new file mode 100644 index 00000000000..1bfc5b9b5e7 --- /dev/null +++ b/share/snmp/Makefile @@ -0,0 +1,5 @@ +# $FreeBSD$ + +SUBDIR= mibs + +.include diff --git a/share/snmp/mibs/FREEBSD-MIB.txt b/share/snmp/mibs/FREEBSD-MIB.txt new file mode 100644 index 00000000000..5bb3662711a --- /dev/null +++ b/share/snmp/mibs/FREEBSD-MIB.txt @@ -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 diff --git a/share/snmp/mibs/Makefile b/share/snmp/mibs/Makefile new file mode 100644 index 00000000000..c7aad2d9d8b --- /dev/null +++ b/share/snmp/mibs/Makefile @@ -0,0 +1,7 @@ +# $FreeBSD$ + +FILES= FREEBSD-MIB.txt +NOOBJ= noobj +FILESDIR= ${SHAREDIR}/snmp/mibs + +.include