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
This commit is contained in:
Hartmut Brandt 2006-10-31 10:09:10 +00:00
parent f56ce4bd26
commit d9be51413b
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=163822

View File

@ -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