aboutsummaryrefslogtreecommitdiff
path: root/src/VARNISH-MIB.txt
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2014-11-26 17:03:41 +0200
committerSergey Poznyakoff <gray@gnu.org.ua>2014-11-26 17:07:29 +0200
commitee352ea3182b86d7906e9cd0fefdd878a6f0fa49 (patch)
tree5ee5e647fab831a840777e07fc8ac4f9e41f271a /src/VARNISH-MIB.txt
parent50813ca9aa276c72e6f766a5ecd23c1170273528 (diff)
downloadvarnish-mib-ee352ea3182b86d7906e9cd0fefdd878a6f0fa49.tar.gz
varnish-mib-ee352ea3182b86d7906e9cd0fefdd878a6f0fa49.tar.bz2
Implement control over the banTable update interval (timeout)
* configure.ac: Version 0.90.90 * NEWS: Likewise. * src/VARNISH-MIB.txt: New oid "agent.banTableTimeout" * src/ban.c: Implement setting the banTable timeout. * src/varnish_mib.mib2c: Register new configuration statement varnishBanTableTimeout; handle agent.banTableTimeout OID. * src/varnish-mib.8: Update.
Diffstat (limited to 'src/VARNISH-MIB.txt')
-rw-r--r--src/VARNISH-MIB.txt167
1 files changed, 90 insertions, 77 deletions
diff --git a/src/VARNISH-MIB.txt b/src/VARNISH-MIB.txt
index 47e39c8..fe91735 100644
--- a/src/VARNISH-MIB.txt
+++ b/src/VARNISH-MIB.txt
@@ -11,3 +11,4 @@ VARNISH-MIB DEFINITIONS ::= BEGIN
IMPORTS
- MODULE-IDENTITY, OBJECT-TYPE, enterprises, Counter64, TimeTicks
+ MODULE-IDENTITY, OBJECT-TYPE, enterprises, Counter64, TimeTicks,
+ Unsigned32
FROM SNMPv2-SMI
@@ -19,10 +20,12 @@ IMPORTS
varnishMIB MODULE-IDENTITY
- LAST-UPDATED "201411260759Z"
+ LAST-UPDATED "201411261613Z"
ORGANIZATION "Shared Autonomous sYstems"
- CONTACT-INFO "mhe@say.no"
+ CONTACT-INFO "Morten Hermanrud <mhe@say.no>
+ Sergey Poznyakoff <gray@gnu.org>
+ "
DESCRIPTION
"This MIB module defines objects for Varnish reverse web proxy."
- REVISION "201411260759Z"
+ REVISION "201411261044Z"
DESCRIPTION
- "Initial version."
+ "Second revision."
::= { varnish 0 }
@@ -37,2 +40,3 @@ threads OBJECT IDENTIFIER ::= { varnish 6 }
bans OBJECT IDENTIFIER ::= { varnish 7 }
+agent OBJECT IDENTIFIER ::= { varnish 8 }
@@ -43,3 +47,3 @@ clientAcceptedConnections OBJECT-TYPE
DESCRIPTION
- "Client connections accepted"
+ "Client connections accepted."
::= { client 1 }
@@ -51,3 +55,3 @@ clientRequestsReceived OBJECT-TYPE
DESCRIPTION
- "Client requests received"
+ "Client requests received."
::= { client 2 }
@@ -59,3 +63,3 @@ clientCacheHits OBJECT-TYPE
DESCRIPTION
- "Cache hits"
+ "Cache hits."
::= { client 3 }
@@ -67,3 +71,3 @@ clientCacheHitsPass OBJECT-TYPE
DESCRIPTION
- "Cache hits for pass"
+ "Cache hits for pass."
::= { client 4 }
@@ -75,3 +79,3 @@ clientCacheMisses OBJECT-TYPE
DESCRIPTION
- "Cache misses"
+ "Cache misses."
::= { client 5 }
@@ -81,3 +85,3 @@ VarnishBanString ::= TEXTUAL-CONVENTION
STATUS current
- DESCRIPTION ""
+ DESCRIPTION "A string containing Varnish ban expression."
SYNTAX OCTET STRING (SIZE (0..1024))
@@ -98,3 +102,3 @@ clientRequests400 OBJECT-TYPE
DESCRIPTION
- "Client requests received, subject to 400 errors"
+ "Client requests received, subject to 400 errors."
::= { client 7 }
@@ -106,6 +110,5 @@ clientRequests411 OBJECT-TYPE
DESCRIPTION
- "Client requests received, subject to 411 errors"
+ "Client requests received, subject to 411 errors."
::= { client 8 }
-
clientRequests413 OBJECT-TYPE
@@ -115,3 +118,3 @@ clientRequests413 OBJECT-TYPE
DESCRIPTION
- "Client requests received, subject to 413 errors"
+ "Client requests received, subject to 413 errors."
::= { client 9 }
@@ -123,3 +126,3 @@ clientRequests417 OBJECT-TYPE
DESCRIPTION
- "Client requests received, subject to 417 errors"
+ "Client requests received, subject to 417 errors."
::= { client 10 }
@@ -133,3 +136,3 @@ backendConnSuccess OBJECT-TYPE
DESCRIPTION
- "Backend connections success"
+ "Backend connections success."
::= { connections 1 }
@@ -141,3 +144,3 @@ backendConnNotAttempted OBJECT-TYPE
DESCRIPTION
- "Backend connections not attempted"
+ "Backend connections not attempted."
::= { connections 2 }
@@ -149,3 +152,3 @@ backendConnToMany OBJECT-TYPE
DESCRIPTION
- "Backend connections too many"
+ "Backend connections too many."
::= { connections 3 }
@@ -157,3 +160,3 @@ backendConnFailures OBJECT-TYPE
DESCRIPTION
- "Backend connections failures"
+ "Backend connections failures."
::= { connections 4 }
@@ -165,3 +168,3 @@ backendConnReuses OBJECT-TYPE
DESCRIPTION
- "Backend connections reuses"
+ "Backend connections reuses."
::= { connections 5 }
@@ -173,3 +176,3 @@ backendConnRecycled OBJECT-TYPE
DESCRIPTION
- "Backend connections recycles"
+ "Backend connections recycles."
::= { connections 6 }
@@ -181,3 +184,3 @@ backendConnUnused OBJECT-TYPE
DESCRIPTION
- "Backend connections unused"
+ "Backend connections unused."
::= { connections 7 }
@@ -189,3 +192,3 @@ backendConnRetry OBJECT-TYPE
DESCRIPTION
- "Backend connections retried"
+ "Backend connections retried."
::= { connections 8 }
@@ -197,3 +200,3 @@ totalSessions OBJECT-TYPE
DESCRIPTION
- "Total Sessions"
+ "Total Sessions."
::= { total 1 }
@@ -205,3 +208,3 @@ totalRequests OBJECT-TYPE
DESCRIPTION
- "Total Requests"
+ "Total Requests."
::= { total 2 }
@@ -213,3 +216,3 @@ totalPipe OBJECT-TYPE
DESCRIPTION
- "Total pipe"
+ "Total pipe."
::= { total 3 }
@@ -221,3 +224,3 @@ totalPass OBJECT-TYPE
DESCRIPTION
- "Total pass"
+ "Total pass."
::= { total 4 }
@@ -229,3 +232,3 @@ totalFetch OBJECT-TYPE
DESCRIPTION
- "Total fetch"
+ "Total fetch."
::= { total 5 }
@@ -237,3 +240,3 @@ totalRequestHeaderBytes OBJECT-TYPE
DESCRIPTION
- "Total request header bytes"
+ "Total request header bytes."
::= { total 6 }
@@ -245,3 +248,3 @@ totalRequestBodyBytes OBJECT-TYPE
DESCRIPTION
- "Total request body bytes"
+ "Total request body bytes."
::= { total 7 }
@@ -253,3 +256,3 @@ totalResponseHeaderBytes OBJECT-TYPE
DESCRIPTION
- "Total response body bytes"
+ "Total response body bytes."
::= { total 8 }
@@ -261,3 +264,3 @@ totalResponseBodyBytes OBJECT-TYPE
DESCRIPTION
- "Total response body bytes"
+ "Total response body bytes."
::= { total 9 }
@@ -269,3 +272,3 @@ uptime OBJECT-TYPE
DESCRIPTION
- "Master daemon uptime"
+ "Master daemon uptime."
::= { master 1 }
@@ -277,3 +280,3 @@ sessAccepted OBJECT-TYPE
DESCRIPTION
- "Number of sessions succesfully accepted"
+ "Number of sessions succesfully accepted."
::= { session 1 }
@@ -285,3 +288,3 @@ sessQueued OBJECT-TYPE
DESCRIPTION
- "Number of times session was queued waiting for a thread"
+ "Number of times session was queued waiting for a thread."
::= { session 2 }
@@ -293,3 +296,3 @@ sessDropped OBJECT-TYPE
DESCRIPTION
- "Number of sessions dropped because session queue was full"
+ "Number of sessions dropped because session queue was full."
::= { session 3 }
@@ -301,3 +304,3 @@ sessClosed OBJECT-TYPE
DESCRIPTION
- "Number of sessions closed"
+ "Number of sessions closed."
::= { session 4 }
@@ -309,3 +312,3 @@ sessPipeline OBJECT-TYPE
DESCRIPTION
- "Session pipeline"
+ "Session pipeline."
::= { session 5 }
@@ -317,3 +320,3 @@ sessReadAhead OBJECT-TYPE
DESCRIPTION
- "Session read-ahead"
+ "Session read-ahead."
::= { session 6 }
@@ -325,3 +328,3 @@ sessHerd OBJECT-TYPE
DESCRIPTION
- "Session herd"
+ "Session herd."
::= { session 7 }
@@ -333,3 +336,3 @@ sessDrop OBJECT-TYPE
DESCRIPTION
- "Number of sessions dropped for thread"
+ "Number of sessions dropped for thread."
::= { session 8 }
@@ -341,3 +344,3 @@ sessFail OBJECT-TYPE
DESCRIPTION
- "Number of session accept failures"
+ "Number of session accept failures."
::= { session 9 }
@@ -349,3 +352,3 @@ sessPipeOverflow OBJECT-TYPE
DESCRIPTION
- "Number of session pipe overflows"
+ "Number of session pipe overflows."
::= { session 10 }
@@ -357,3 +360,3 @@ threadsPools OBJECT-TYPE
DESCRIPTION
- "Number of thread pools"
+ "Number of thread pools."
::= { threads 1 }
@@ -365,3 +368,3 @@ threadsTotal OBJECT-TYPE
DESCRIPTION
- "Number of thread pools"
+ "Number of thread pools."
::= { threads 2 }
@@ -374,3 +377,3 @@ threadsLimitHits OBJECT-TYPE
"Number of times more threads were needed, but limit was
- reached in a thread pool"
+ reached in a thread pool."
::= { threads 3 }
@@ -382,3 +385,3 @@ threadsCreated OBJECT-TYPE
DESCRIPTION
- "Total number of threads created in all pools"
+ "Total number of threads created in all pools."
::= { threads 4 }
@@ -390,3 +393,3 @@ threadsDestroyed OBJECT-TYPE
DESCRIPTION
- "Total number of threads destroyed in all pools"
+ "Total number of threads destroyed in all pools."
::= { threads 5 }
@@ -398,3 +401,3 @@ threadsFailed OBJECT-TYPE
DESCRIPTION
- "Number of times creating a thread failed"
+ "Number of times creating a thread failed."
::= { threads 6 }
@@ -406,3 +409,3 @@ threadsQueueLength OBJECT-TYPE
DESCRIPTION
- "Length of session queue waiting for threads"
+ "Length of session queue waiting for threads."
::= { threads 7 }
@@ -414,3 +417,3 @@ bansTotal OBJECT-TYPE
DESCRIPTION
- "Total number of bans"
+ "Total number of bans."
::= { bans 1 }
@@ -422,3 +425,3 @@ bansCompleted OBJECT-TYPE
DESCRIPTION
- "Count of completed bans"
+ "Count of completed bans."
::= { bans 2 }
@@ -430,3 +433,3 @@ bansObj OBJECT-TYPE
DESCRIPTION
- "Number of bans using obj.*"
+ "Number of bans using obj.*."
::= { bans 3 }
@@ -438,3 +441,3 @@ bansReq OBJECT-TYPE
DESCRIPTION
- "Number of bans using req.*"
+ "Number of bans using req.*."
::= { bans 4 }
@@ -446,3 +449,3 @@ bansAdded OBJECT-TYPE
DESCRIPTION
- "Number of bans added"
+ "Number of bans added."
::= { bans 5 }
@@ -454,3 +457,3 @@ bansDeleted OBJECT-TYPE
DESCRIPTION
- "Number of bans deleted"
+ "Number of bans deleted."
::= { bans 6 }
@@ -462,3 +465,3 @@ bansTested OBJECT-TYPE
DESCRIPTION
- "Number of bans tested against objects (lookup)"
+ "Number of bans tested against objects (lookup)."
::= { bans 7 }
@@ -470,3 +473,3 @@ bansObjectsKilled OBJECT-TYPE
DESCRIPTION
- "Number of objects killed by bans (lookup)"
+ "Number of objects killed by bans (lookup)."
::= { bans 8 }
@@ -479,3 +482,3 @@ bansLurkerTested OBJECT-TYPE
DESCRIPTION
- "Number of bans tested against objects (lurker)"
+ "Number of bans tested against objects (lurker)."
::= { bans 9 }
@@ -487,3 +490,3 @@ bansTestTested OBJECT-TYPE
DESCRIPTION
- "Number of ban tests tested against objects (lookup)"
+ "Number of ban tests tested against objects (lookup)."
::= { bans 10 }
@@ -495,3 +498,3 @@ bansLurkerTestTested OBJECT-TYPE
DESCRIPTION
- "Number of ban tests tested against objects (lurker)"
+ "Number of ban tests tested against objects (lurker)."
::= { bans 11 }
@@ -503,3 +506,3 @@ bansLurkerObjKilled OBJECT-TYPE
DESCRIPTION
- "Number of objects killed by bans (lurker)"
+ "Number of objects killed by bans (lurker)."
::= { bans 12 }
@@ -511,3 +514,3 @@ bansDups OBJECT-TYPE
DESCRIPTION
- "Number of ans superseded by other bans"
+ "Number of ans superseded by other bans."
::= { bans 13 }
@@ -519,3 +522,3 @@ bansLurkerContention OBJECT-TYPE
DESCRIPTION
- "Number of times lurker gave way for lookup"
+ "Number of times lurker gave way for lookup."
::= { bans 14 }
@@ -527,3 +530,3 @@ bansPersistedBytes OBJECT-TYPE
DESCRIPTION
- "Number of bytes used by the persisted ban lists"
+ "Number of bytes used by the persisted ban lists."
::= { bans 15 }
@@ -535,3 +538,3 @@ bansPersistedFragmentation OBJECT-TYPE
DESCRIPTION
- "Extra bytes in persisted ban lists due to fragmentation"
+ "Extra bytes in persisted ban lists due to fragmentation."
::= { bans 17 }
@@ -543,3 +546,3 @@ banTable OBJECT-TYPE
DESCRIPTION
- "The (conceptual) table listing available bans"
+ "The (conceptual) table listing available bans."
::= { bans 18 }
@@ -551,3 +554,3 @@ varnishBanEntry OBJECT-TYPE
DESCRIPTION
- "An entry (conceptual row) representing a ban"
+ "An entry (conceptual row) representing a ban."
INDEX { banIndex }
@@ -567,3 +570,3 @@ banIndex OBJECT-TYPE
DESCRIPTION
- "A number uniquely identifying each ban"
+ "A number uniquely identifying each ban."
::= { varnishBanEntry 1 }
@@ -575,3 +578,3 @@ banTime OBJECT-TYPE
DESCRIPTION
- "Time when the ban was created"
+ "Time when the ban was created."
::= { varnishBanEntry 2 }
@@ -583,3 +586,3 @@ banRefCount OBJECT-TYPE
DESCRIPTION
- "Number of references to this ban"
+ "Number of references to this ban."
::= { varnishBanEntry 3 }
@@ -591,5 +594,14 @@ banExpression OBJECT-TYPE
DESCRIPTION
- "VCL expression of the ban"
+ "VCL expression of the ban."
::= { varnishBanEntry 4 }
-
+
+banTableTimeout OBJECT-TYPE
+ SYNTAX Unsigned32
+ MAX-ACCESS read-write
+ STATUS current
+ DESCRIPTION
+ "If banTable content is cached, this variable keeps
+ the time in seconds after which the table is reloaded.
+ Setting it changes that value."
+ ::= { agent 1 }
--
@@ -619,2 +631,3 @@ varnishGroup OBJECT-GROUP
backendConnUnused,
+ backendConnRetry,
totalSessions,
@@ -660,3 +673,3 @@ varnishGroup OBJECT-GROUP
STATUS current
- DESCRIPTION "Group of Varnish objects"
+ DESCRIPTION "Group of Varnish objects."
::= { varnishGroups 1 }
@@ -669,3 +682,3 @@ varnishStandardComplianceV1 MODULE-COMPLIANCE
DESCRIPTION
- "Compliance for an Varnish agent"
+ "Compliance for a Varnish agent."
@@ -683,3 +696,3 @@ END
-- time-stamp-format: "%:y%02m%02d%02H%02MZ"
--- time-stamp-line-limit: 25
+-- time-stamp-line-limit: 32
-- time-stamp-count: 2

Return to:

Send suggestions and report system problems to the System administrator.