summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorStef Walter <stef@memberwebs.com>2006-04-07 20:49:30 +0000
committerStef Walter <stef@memberwebs.com>2006-04-07 20:49:30 +0000
commitd42325a2687e2e48c433ea74848b6fe32c4c7283 (patch)
tree885a043a18226c8c39ccbe649ee295fcd8265680 /doc
parentdf3f3195c82eea4749527997c9fa8ad83dc048af (diff)
Cleanup the bsnmp regex MIB.
Diffstat (limited to 'doc')
-rw-r--r--doc/REGEX-MIB.txt32
-rw-r--r--doc/bsnmp-regex.814
2 files changed, 30 insertions, 16 deletions
diff --git a/doc/REGEX-MIB.txt b/doc/REGEX-MIB.txt
index d3ec986..7e8c4e9 100644
--- a/doc/REGEX-MIB.txt
+++ b/doc/REGEX-MIB.txt
@@ -31,7 +31,7 @@ IMPORTS
begemot
FROM BEGEMOT-MIB;
-regexData MODULE-IDENTITY
+regex MODULE-IDENTITY
LAST-UPDATED "200603290000Z"
ORGANIZATION "Nate Nielsen"
CONTACT-INFO "nielsen@memberwebs.com"
@@ -46,28 +46,42 @@ regexCount OBJECT-TYPE
MAX-ACCESS read-only
STATUS current
DESCRIPTION "Number of regexEntry objects."
- ::= { regexData 0 }
-
-regexEntry OBJECT IDENTIFIER
- ::= { regexData 1 }
+ ::= { regex 0 }
--
-- entry information
--
+regexEntry OBJECT-TYPE
+ SYNTAX RegexEntry
+ MAX-ACCESS not-accessible
+ STATUS current
+ DESCRIPTION
+ "A set of information about one regex counter"
+ INDEX { regexIndex }
+ ::= { regex 1 }
+
+RegexEntry ::= SEQUENCE {
+ regexIndex Integer32,
+ regexDescr OCTET STRING,
+ regexLast TimeTicks,
+ regexInteger Integer32,
+ regexString OCTET STRING,
+}
+
regexIndex OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION "Index of this regexEntry object."
- :: { regexEntry 1 }
+ ::= { regexEntry 1 }
regexDescr OBJECT-TYPE
SYNTAX OCTET STRING
MAX-ACCESS read-only
STATUS current
DESCRIPTION "Description of the regexEntry object."
- :: { regexEntry 2 }
+ ::= { regexEntry 2 }
regexLast OBJECT-TYPE
SYNTAX TimeTicks
@@ -82,13 +96,13 @@ regexInteger OBJECT-TYPE
MAX-ACCESS read-only
STATUS current
DESCRIPTION "Integer value of this regexEntry object."
- :: { regexEntry 4 }
+ ::= { regexEntry 4 }
regexString OBJECT-TYPE
SYNTAX OCTET STRING
MAX-ACCESS read-only
STATUS current
DESCRIPTION "String value of this regexEntry object."
- :: { regexEntry 5 }
+ ::= { regexEntry 5 }
END
diff --git a/doc/bsnmp-regex.8 b/doc/bsnmp-regex.8
index 7acf116..340cd55 100644
--- a/doc/bsnmp-regex.8
+++ b/doc/bsnmp-regex.8
@@ -68,22 +68,22 @@ The counters will be available as a table under the following MIB:
.Pp
Or if the appropriate MIB.txt files have been installed:
.Bd -literal -offset indent
- enterprises.fokus.begemot.regexData
+ enterprises.fokus.begemot.regex
.Ed
.Pp
The following SNMP MIBs are available for use (where X is the counter index):
.Bl -tag -width Fl
-.It Ar regexData.regexCount.0
+.It Ar regex.regexCount.0
The number of counters available.
-.It Ar regexData.regexEntry.regexIndex.X
+.It Ar regex.regexEntry.regexIndex.X
The index of the counter.
-.It Ar regexData.regexEntry.regexDescr.X
+.It Ar regex.regexEntry.regexDescr.X
The description of the counter.
-.It Ar regexData.regexEntry.regexLast.X
+.It Ar regex.regexEntry.regexLast.X
How long ago the counter was last updated.
-.It Ar regexData.regexEntry.regexInteger.X
+.It Ar regex.regexEntry.regexInteger.X
The current counter value as a integer.
-.It Ar regexData.regexEntry.regexString.X
+.It Ar regex.regexEntry.regexString.X
The current counter value as a string.
.El
.Sh OPTIONS