summaryrefslogtreecommitdiffstats
path: root/share/snmp
diff options
context:
space:
mode:
authorharti <harti@FreeBSD.org>2006-10-31 10:09:10 +0000
committerharti <harti@FreeBSD.org>2006-10-31 10:09:10 +0000
commit9f1a71f4be3e05042a700dd887b7818e48642c3a (patch)
tree293d02fc47199d1eb1046e039b36e432a4d6fe72 /share/snmp
parent3d94b0ab35417eb708a0cb1d89b8165771a58b17 (diff)
downloadFreeBSD-src-9f1a71f4be3e05042a700dd887b7818e48642c3a.zip
FreeBSD-src-9f1a71f4be3e05042a700dd887b7818e48642c3a.tar.gz
Define a base OID for the FreeBSD version as returned in sysObjectID
by bsnmpd(1). The actual OID is formed by appending the release numbers to this base OID. Idea by: phk
Diffstat (limited to 'share/snmp')
-rw-r--r--share/snmp/mibs/FREEBSD-MIB.txt20
1 files changed, 19 insertions, 1 deletions
diff --git a/share/snmp/mibs/FREEBSD-MIB.txt b/share/snmp/mibs/FREEBSD-MIB.txt
index 5181194..cf6f080 100644
--- a/share/snmp/mibs/FREEBSD-MIB.txt
+++ b/share/snmp/mibs/FREEBSD-MIB.txt
@@ -16,7 +16,7 @@ IMPORTS
FROM SNMPv2-SMI;
freeBSD MODULE-IDENTITY
- LAST-UPDATED "200610310800Z"
+ LAST-UPDATED "200610311000Z"
ORGANIZATION "The FreeBSD Project."
CONTACT-INFO
"phk@FreeBSD.org is contact person for this file.
@@ -58,4 +58,22 @@ freeBSDpeoplePhk OBJECT-IDENTITY
"Subtree for phk@FreeBSD.org"
::= {freeBSDpeople 1}
+freeBSDVersion OBJECT-IDENTITY
+ STATUS current
+ DESCRIPTION
+ "Subtree to register FreeBSD versions. The OID for a FreeBSD
+ version is formed by appending the dot delimited numbers
+ from the release number to this base OID. Examples:
+
+ 5.2.1-STABLE: freeBSDVersion.5.2.1
+ 6.1-STABLE: freeBSDVersion.6.1
+ 7.0-CURRENT: freeBSDVersion.7.0
+
+ There is no indication whether this is STABLE or CURRENT.
+
+ The sysObjectId is automatically set to the value indicated
+ by the uname(3) release field by bsnmpd(1). This initial
+ value can be overwritten in the configuration file."
+ ::= { freeBSD 4 }
+
END
OpenPOWER on IntegriCloud