From abc6dc77728ccca216d89be00cb15898f75de565 Mon Sep 17 00:00:00 2001 From: phk Date: Sat, 24 Apr 2004 19:54:55 +0000 Subject: Add a FreeBSD MIB with a few branches we can hang things from. --- share/snmp/Makefile | 5 ++++ share/snmp/mibs/FREEBSD-MIB.txt | 57 +++++++++++++++++++++++++++++++++++++++++ share/snmp/mibs/Makefile | 7 +++++ 3 files changed, 69 insertions(+) create mode 100644 share/snmp/Makefile create mode 100644 share/snmp/mibs/FREEBSD-MIB.txt create mode 100644 share/snmp/mibs/Makefile (limited to 'share/snmp') diff --git a/share/snmp/Makefile b/share/snmp/Makefile new file mode 100644 index 0000000..1bfc5b9 --- /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 0000000..5bb3662 --- /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 0000000..c7aad2d --- /dev/null +++ b/share/snmp/mibs/Makefile @@ -0,0 +1,7 @@ +# $FreeBSD$ + +FILES= FREEBSD-MIB.txt +NOOBJ= noobj +FILESDIR= ${SHAREDIR}/snmp/mibs + +.include -- cgit v1.1