summaryrefslogtreecommitdiffabout
path: root/src/VARNISH-MIB.txt
Side-by-side diff
Diffstat (limited to 'src/VARNISH-MIB.txt') (more/less context) (ignore whitespace changes)
-rw-r--r--src/VARNISH-MIB.txt83
1 files changed, 75 insertions, 8 deletions
diff --git a/src/VARNISH-MIB.txt b/src/VARNISH-MIB.txt
index cde935a..47e39c8 100644
--- a/src/VARNISH-MIB.txt
+++ b/src/VARNISH-MIB.txt
@@ -13,2 +13,4 @@ IMPORTS
FROM SNMPv2-SMI
+ DateAndTime
+ FROM SNMPv2-TC
OBJECT-GROUP, MODULE-COMPLIANCE
@@ -17,3 +19,3 @@ IMPORTS
varnishMIB MODULE-IDENTITY
- LAST-UPDATED "201411241848Z"
+ LAST-UPDATED "201411260759Z"
ORGANIZATION "Shared Autonomous sYstems"
@@ -22,3 +24,3 @@ varnishMIB MODULE-IDENTITY
"This MIB module defines objects for Varnish reverse web proxy."
- REVISION "201411241848Z"
+ REVISION "201411260759Z"
DESCRIPTION
@@ -76,4 +78,10 @@ clientCacheMisses OBJECT-TYPE
+VarnishBanString ::= TEXTUAL-CONVENTION
+ DISPLAY-HINT "1024t"
+ STATUS current
+ DESCRIPTION ""
+ SYNTAX OCTET STRING (SIZE (0..1024))
+
clientBan OBJECT-TYPE
- SYNTAX OCTET STRING (SIZE(0..1024))
+ SYNTAX VarnishBanString
MAX-ACCESS read-write
@@ -529,4 +537,59 @@ bansPersistedFragmentation OBJECT-TYPE
::= { bans 17 }
-
+banTable OBJECT-TYPE
+ SYNTAX SEQUENCE OF VarnishBanEntry
+ MAX-ACCESS not-accessible
+ STATUS current
+ DESCRIPTION
+ "The (conceptual) table listing available bans"
+ ::= { bans 18 }
+
+varnishBanEntry OBJECT-TYPE
+ SYNTAX VarnishBanEntry
+ MAX-ACCESS not-accessible
+ STATUS current
+ DESCRIPTION
+ "An entry (conceptual row) representing a ban"
+ INDEX { banIndex }
+ ::= { banTable 1 }
+
+VarnishBanEntry ::= SEQUENCE {
+ banIndex Integer32,
+ banTime DateAndTime,
+ banRefCount Counter64,
+ banExpression VarnishBanString
+}
+
+banIndex OBJECT-TYPE
+ SYNTAX Integer32
+ MAX-ACCESS not-accessible
+ STATUS current
+ DESCRIPTION
+ "A number uniquely identifying each ban"
+ ::= { varnishBanEntry 1 }
+
+banTime OBJECT-TYPE
+ SYNTAX DateAndTime
+ MAX-ACCESS read-only
+ STATUS current
+ DESCRIPTION
+ "Time when the ban was created"
+ ::= { varnishBanEntry 2 }
+
+banRefCount OBJECT-TYPE
+ SYNTAX Counter32
+ MAX-ACCESS read-only
+ STATUS current
+ DESCRIPTION
+ "Number of references to this ban"
+ ::= { varnishBanEntry 3 }
+
+banExpression OBJECT-TYPE
+ SYNTAX VarnishBanString
+ MAX-ACCESS read-only
+ STATUS current
+ DESCRIPTION
+ "VCL expression of the ban"
+ ::= { varnishBanEntry 4 }
+
--
@@ -587,4 +650,9 @@ varnishGroup OBJECT-GROUP
threadsFailed,
- threadsQueueLength
-
+ threadsQueueLength,
+ banTable,
+ varnishBanEntry,
+ banIndex,
+ banTime,
+ banRefCount,
+ banExpression
}
@@ -604,4 +672,3 @@ varnishStandardComplianceV1 MODULE-COMPLIANCE
MODULE
- MANDATORY-GROUPS {
- varnishGroup}
+ MANDATORY-GROUPS { varnishGroup }

Return to:

Send suggestions and report system problems to the System administrator.