summaryrefslogtreecommitdiffabout
path: root/src/VARNISH-MIB.txt
authorSergey Poznyakoff <gray@gnu.org.ua>2014-11-18 23:49:13 (GMT)
committer Sergey Poznyakoff <gray@gnu.org.ua>2014-11-19 00:03:58 (GMT)
commit57a7d63793de517493499e748ce5d5d82def8a57 (patch) (side-by-side diff)
tree35dbead6db811eecc03c0578e8aa3e2ed777b824 /src/VARNISH-MIB.txt
parentf0671d1bc19592e5b659959920b51e3da05de79f (diff)
downloadvarnish-mib-57a7d63793de517493499e748ce5d5d82def8a57.tar.gz
varnish-mib-57a7d63793de517493499e748ce5d5d82def8a57.tar.bz2
New rw snmp variable clientBan allows to set bans via snmp
* src/varnish_mib.mib2c: Add support for rw variables. * src/Makefile.am (varnish_mib_la_SOURCES): Add new files. * src/VARNISH-MIB.txt (clientBan): New OID. * src/auth.c: New file. * src/ban.c: New file. * src/sha256.c: New file. * src/sha256.h: New file. * src/varnish_mib.h: New file. * src/vcli.c: New file.
Diffstat (limited to 'src/VARNISH-MIB.txt') (more/less context) (ignore whitespace changes)
-rw-r--r--src/VARNISH-MIB.txt9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/VARNISH-MIB.txt b/src/VARNISH-MIB.txt
index 0ec5dac..01def5c 100644
--- a/src/VARNISH-MIB.txt
+++ b/src/VARNISH-MIB.txt
@@ -70,6 +70,14 @@ clientCacheMisses OBJECT-TYPE
"Cache misses"
::= { client 5 }
+clientBan OBJECT-TYPE
+ SYNTAX OCTET STRING (SIZE(0..1024))
+ MAX-ACCESS read-write
+ STATUS current
+ DESCRIPTION
+ "FIXME"
+ ::= { client 6 }
+
connections OBJECT IDENTIFIER ::= { backend 1 }
backendConnSuccess OBJECT-TYPE
@@ -201,6 +209,7 @@ varnishGroup OBJECT-GROUP
clientCacheHits,
clientCacheHitsPass,
clientCacheMisses,
+ clientBan,
backendConnSuccess,
backendConnNotAttempted,
backendConnToMany,

Return to:

Send suggestions and report system problems to the System administrator.