summaryrefslogtreecommitdiffabout
path: root/src/VARNISH-MIB.txt
authorSergey Poznyakoff <gray@nxc.no>2018-02-01 20:36:41 (GMT)
committer Sergey Poznyakoff <gray@nxc.no>2018-02-01 20:36:41 (GMT)
commit8bba300e4118da5737b2f015028a9ca425e83628 (patch) (side-by-side diff)
tree7de98c55cf47c87d17f0404c44f91f879eafb898 /src/VARNISH-MIB.txt
parent85f908426e444a596b979a9569bf83fadfa5ace1 (diff)
downloadvarnish-mib-8bba300e4118da5737b2f015028a9ca425e83628.tar.gz
varnish-mib-8bba300e4118da5737b2f015028a9ca425e83628.tar.bz2
Add new object IDs as per https://puszcza.gnu.org.ua/bugs/?362
* src/Makefile.am: Make sure VARNISH-MIB.txt is read from the src directory. * src/VARNISH-MIB.txt: Add new mibs. * src/varnish_mib.mib2c: Add new objects. Make sure objects marked with varnish_type NULL will never be returned.
Diffstat (limited to 'src/VARNISH-MIB.txt') (more/less context) (ignore whitespace changes)
-rw-r--r--src/VARNISH-MIB.txt136
1 files changed, 134 insertions, 2 deletions
diff --git a/src/VARNISH-MIB.txt b/src/VARNISH-MIB.txt
index 59a9d42..8d60477 100644
--- a/src/VARNISH-MIB.txt
+++ b/src/VARNISH-MIB.txt
@@ -20,14 +20,14 @@ IMPORTS
FROM SNMPv2-CONF;
varnishMIB MODULE-IDENTITY
- LAST-UPDATED "201509250838Z"
+ LAST-UPDATED "201802012132Z"
ORGANIZATION "Shared Autonomous sYstems"
CONTACT-INFO "Morten Hermanrud <mhe@say.no>
Sergey Poznyakoff <gray@gnu.org>
"
DESCRIPTION
"This MIB module defines objects for Varnish reverse web proxy."
- REVISION "201509250838Z"
+ REVISION "201802012132Z"
DESCRIPTION
"Second revision."
::= { varnish 0 }
@@ -41,6 +41,8 @@ session OBJECT IDENTIFIER ::= { varnish 5 }
threads OBJECT IDENTIFIER ::= { varnish 6 }
bans OBJECT IDENTIFIER ::= { varnish 7 }
agent OBJECT IDENTIFIER ::= { varnish 8 }
+objects OBJECT IDENTIFIER ::= { varnish 9 }
+vcl OBJECT IDENTIFIER ::= { varnish 10 }
clientAcceptedConnections OBJECT-TYPE
SYNTAX Counter64
@@ -783,6 +785,136 @@ banExpression OBJECT-TYPE
"VCL expression of the ban."
::= { varnishBanEntry 4 }
+objectsCount OBJECT-TYPE
+ SYNTAX Counter64
+ MAX-ACCESS read-only
+ STATUS current
+ DESCRIPTION
+ "Approximate number of HTTP objects (headers + body,
+ if present) in the cache."
+ ::= { objects 1 }
+
+objectsVampire OBJECT-TYPE
+ SYNTAX Counter64
+ MAX-ACCESS read-only
+ STATUS current
+ DESCRIPTION
+ "Number of unresurrected objects."
+ ::= { objects 2 }
+
+objectsCore OBJECT-TYPE
+ SYNTAX Counter64
+ MAX-ACCESS read-only
+ STATUS current
+ DESCRIPTION
+ "Approximate number of object metadata elements in the
+ cache. Each object needs an objectcore, extra
+ objectcores are for hit-for-miss, hit-for-pass and
+ busy objects."
+ ::= { objects 3 }
+
+objectsHead OBJECT-TYPE
+ SYNTAX Counter64
+ MAX-ACCESS read-only
+ STATUS current
+ DESCRIPTION
+ "Approximate number of different hash entries in the cache."
+ ::= { objects 4 }
+
+objectsExpired OBJECT-TYPE
+ SYNTAX Counter64
+ MAX-ACCESS read-only
+ STATUS current
+ DESCRIPTION
+ "Number of objects that expired from cache because of old age."
+ ::= { objects 5 }
+
+objectsLRUNuked OBJECT-TYPE
+ SYNTAX Counter64
+ MAX-ACCESS read-only
+ STATUS current
+ DESCRIPTION
+ "How many objects have been forcefully evicted from
+ storage to make room for a new object."
+ ::= { objects 6 }
+
+objectsLRUMoved OBJECT-TYPE
+ SYNTAX Counter64
+ MAX-ACCESS read-only
+ STATUS current
+ DESCRIPTION
+ "Number of move operations done on the LRU list."
+ ::= { objects 7 }
+
+objectsPurges OBJECT-TYPE
+ SYNTAX Counter64
+ MAX-ACCESS read-only
+ STATUS current
+ DESCRIPTION
+ "Number of purge operations executed"
+ ::= { objects 8 }
+
+objectsObjPurged OBJECT-TYPE
+ SYNTAX Counter64
+ MAX-ACCESS read-only
+ STATUS current
+ DESCRIPTION
+ "Number of purged objects."
+ ::= { objects 9 }
+
+objectsGzip OBJECT-TYPE
+ SYNTAX Counter64
+ MAX-ACCESS read-only
+ STATUS current
+ DESCRIPTION
+ "Number of gzip operations."
+ ::= { objects 10 }
+
+objectsGunzip OBJECT-TYPE
+ SYNTAX Counter64
+ MAX-ACCESS read-only
+ STATUS current
+ DESCRIPTION
+ "Number of gunzip operations."
+ ::= { objects 11 }
+
+
+--
+-- VCL statistics
+--
+
+vclTotal OBJECT-TYPE
+ SYNTAX Counter64
+ MAX-ACCESS read-only
+ STATUS current
+ DESCRIPTION
+ "Number of loaded VCLs in total."
+ ::= { vcl 1 }
+
+vclAvail OBJECT-TYPE
+ SYNTAX Counter64
+ MAX-ACCESS read-only
+ STATUS current
+ DESCRIPTION
+ "Number of VCLs available."
+ ::= { vcl 2 }
+
+vclDiscard OBJECT-TYPE
+ SYNTAX Counter64
+ MAX-ACCESS read-only
+ STATUS current
+ DESCRIPTION
+ "Number of discarded VCLs."
+ ::= { vcl 3 }
+
+vclFail OBJECT-TYPE
+ SYNTAX Counter64
+ MAX-ACCESS read-only
+ STATUS current
+ DESCRIPTION
+ "Number of VCL failures"
+ ::= { vcl 4 }
+
--
-- Groups and Compliance
--

Return to:

Send suggestions and report system problems to the System administrator.