From d42325a2687e2e48c433ea74848b6fe32c4c7283 Mon Sep 17 00:00:00 2001 From: Stef Walter Date: Fri, 7 Apr 2006 20:49:30 +0000 Subject: Cleanup the bsnmp regex MIB. --- doc/REGEX-MIB.txt | 32 +++++++++++++++++++++++--------- doc/bsnmp-regex.8 | 14 +++++++------- 2 files changed, 30 insertions(+), 16 deletions(-) (limited to 'doc') 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 -- cgit v1.2.3