summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorReyk Floeter <reyk@cvs.openbsd.org>2008-01-21 23:56:40 +0000
committerReyk Floeter <reyk@cvs.openbsd.org>2008-01-21 23:56:40 +0000
commit2389e7734a37e74d20cd77a8856957e6ed316ca5 (patch)
treeeba71a9ec9d120ae0336898ff675a30a139ec85d /usr.sbin
parentf3af3a837152f640bdcf48d98673efdf7698ecf6 (diff)
add names for OpenBSD test MIBs
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/snmpd/mib.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/usr.sbin/snmpd/mib.h b/usr.sbin/snmpd/mib.h
index 9c1447a8a38..1639b6bff5f 100644
--- a/usr.sbin/snmpd/mib.h
+++ b/usr.sbin/snmpd/mib.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: mib.h,v 1.12 2008/01/18 18:38:35 reyk Exp $ */
+/* $OpenBSD: mib.h,v 1.13 2008/01/21 23:56:39 reyk Exp $ */
/*
* Copyright (c) 2007, 2008 Reyk Floeter <reyk@vantronix.net>
@@ -279,7 +279,6 @@
#define MIB_openBSD MIB_enterprises, 30155
/* OPENBSD-MIB */
-#define MIB_SYSOID_DEFAULT MIB_openBSD, 23, 1
#define MIB_sensorMIBObjects MIB_openBSD, 2
#define MIB_sensors MIB_sensorMIBObjects, 1
#define MIB_sensorNumber MIB_sensors, 1
@@ -294,6 +293,9 @@
#define MIB_sensorValue MIB_sensorEntry, 5
#define MIB_sensorUnits MIB_sensorEntry, 6
#define MIB_sensorStatus MIB_sensorEntry, 7
+#define MIB_localSystem MIB_openBSD, 23
+#define MIB_SYSOID_DEFAULT MIB_openBSD, 23, 1
+#define MIB_localTest MIB_openBSD, 42
#define MIB_TREE { \
{ MIBDECL(iso) }, \
@@ -493,6 +495,8 @@
{ MIBDECL(sensorValue) }, \
{ MIBDECL(sensorUnits) }, \
{ MIBDECL(sensorStatus) }, \
+ { MIBDECL(localSystem) }, \
+ { MIBDECL(localTest) }, \
\
{ MIBDECL(ipMIB) }, \
{ MIBDECL(ipForwarding) }, \