summaryrefslogtreecommitdiffstats
path: root/share/snmp
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2004-04-24 19:54:55 +0000
committerphk <phk@FreeBSD.org>2004-04-24 19:54:55 +0000
commitabc6dc77728ccca216d89be00cb15898f75de565 (patch)
tree3c3f634883fbd5d915c465eb6a3f10f180e90ef2 /share/snmp
parentff85c697fb5c60e63119af1255a9f4fd5131a47e (diff)
downloadFreeBSD-src-abc6dc77728ccca216d89be00cb15898f75de565.zip
FreeBSD-src-abc6dc77728ccca216d89be00cb15898f75de565.tar.gz
Add a FreeBSD MIB with a few branches we can hang things from.
Diffstat (limited to 'share/snmp')
-rw-r--r--share/snmp/Makefile5
-rw-r--r--share/snmp/mibs/FREEBSD-MIB.txt57
-rw-r--r--share/snmp/mibs/Makefile7
3 files changed, 69 insertions, 0 deletions
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 <bsd.subdir.mk>
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 <bsd.prog.mk>
OpenPOWER on IntegriCloud