summaryrefslogtreecommitdiffabout
path: root/src/VARNISH-MIB.txt
Unidiff
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
@@ -11,16 +11,18 @@ VARNISH-MIB DEFINITIONS ::= BEGIN
11IMPORTS 11IMPORTS
12 MODULE-IDENTITY, OBJECT-TYPE, enterprises, Counter64, TimeTicks 12 MODULE-IDENTITY, OBJECT-TYPE, enterprises, Counter64, TimeTicks
13 FROM SNMPv2-SMI 13 FROM SNMPv2-SMI
14 DateAndTime
15 FROM SNMPv2-TC
14 OBJECT-GROUP, MODULE-COMPLIANCE 16 OBJECT-GROUP, MODULE-COMPLIANCE
15 FROM SNMPv2-CONF; 17 FROM SNMPv2-CONF;
16 18
17varnishMIB MODULE-IDENTITY 19varnishMIB MODULE-IDENTITY
18 LAST-UPDATED "201411241848Z" 20 LAST-UPDATED "201411260759Z"
19 ORGANIZATION "Shared Autonomous sYstems" 21 ORGANIZATION "Shared Autonomous sYstems"
20 CONTACT-INFO "mhe@say.no" 22 CONTACT-INFO "mhe@say.no"
21 DESCRIPTION 23 DESCRIPTION
22 "This MIB module defines objects for Varnish reverse web proxy." 24 "This MIB module defines objects for Varnish reverse web proxy."
23 REVISION "201411241848Z" 25 REVISION "201411260759Z"
24 DESCRIPTION 26 DESCRIPTION
25 "Initial version." 27 "Initial version."
26 ::= { varnish 0 } 28 ::= { varnish 0 }
@@ -74,8 +76,14 @@ clientCacheMisses OBJECT-TYPE
74 "Cache misses" 76 "Cache misses"
75 ::= { client 5 } 77 ::= { client 5 }
76 78
79VarnishBanString ::= TEXTUAL-CONVENTION
80 DISPLAY-HINT "1024t"
81 STATUS current
82 DESCRIPTION ""
83 SYNTAX OCTET STRING (SIZE (0..1024))
84
77clientBan OBJECT-TYPE 85clientBan OBJECT-TYPE
78 SYNTAXOCTET STRING (SIZE(0..1024)) 86 SYNTAXVarnishBanString
79 MAX-ACCESS read-write 87 MAX-ACCESS read-write
80 STATUS current 88 STATUS current
81 DESCRIPTION 89 DESCRIPTION
@@ -527,8 +535,63 @@ bansPersistedFragmentation OBJECT-TYPE
527 DESCRIPTION 535 DESCRIPTION
528 "Extra bytes in persisted ban lists due to fragmentation" 536 "Extra bytes in persisted ban lists due to fragmentation"
529 ::= { bans 17 } 537 ::= { bans 17 }
530
531 538
539banTable OBJECT-TYPE
540 SYNTAX SEQUENCE OF VarnishBanEntry
541 MAX-ACCESS not-accessible
542 STATUS current
543 DESCRIPTION
544 "The (conceptual) table listing available bans"
545 ::= { bans 18 }
546
547varnishBanEntry OBJECT-TYPE
548 SYNTAX VarnishBanEntry
549 MAX-ACCESS not-accessible
550 STATUS current
551 DESCRIPTION
552 "An entry (conceptual row) representing a ban"
553 INDEX { banIndex }
554 ::= { banTable 1 }
555
556VarnishBanEntry ::= SEQUENCE {
557 banIndex Integer32,
558 banTime DateAndTime,
559 banRefCount Counter64,
560 banExpression VarnishBanString
561}
562
563banIndex OBJECT-TYPE
564 SYNTAX Integer32
565 MAX-ACCESS not-accessible
566 STATUS current
567 DESCRIPTION
568 "A number uniquely identifying each ban"
569 ::= { varnishBanEntry 1 }
570
571banTime OBJECT-TYPE
572 SYNTAX DateAndTime
573 MAX-ACCESS read-only
574 STATUS current
575 DESCRIPTION
576 "Time when the ban was created"
577 ::= { varnishBanEntry 2 }
578
579banRefCount OBJECT-TYPE
580 SYNTAX Counter32
581 MAX-ACCESS read-only
582 STATUS current
583 DESCRIPTION
584 "Number of references to this ban"
585 ::= { varnishBanEntry 3 }
586
587banExpression OBJECT-TYPE
588 SYNTAX VarnishBanString
589 MAX-ACCESS read-only
590 STATUS current
591 DESCRIPTION
592 "VCL expression of the ban"
593 ::= { varnishBanEntry 4 }
594
532-- 595--
533-- Groups and Compliance 596-- Groups and Compliance
534-- 597--
@@ -585,8 +648,13 @@ varnishGroup OBJECT-GROUP
585 threadsCreated, 648 threadsCreated,
586 threadsDestroyed, 649 threadsDestroyed,
587 threadsFailed, 650 threadsFailed,
588 threadsQueueLength 651 threadsQueueLength,
589 652 banTable,
653 varnishBanEntry,
654 banIndex,
655 banTime,
656 banRefCount,
657 banExpression
590 } 658 }
591 659
592 STATUS current 660 STATUS current
@@ -602,8 +670,7 @@ varnishStandardComplianceV1 MODULE-COMPLIANCE
602 "Compliance for an Varnish agent" 670 "Compliance for an Varnish agent"
603 671
604 MODULE 672 MODULE
605 MANDATORY-GROUPS { 673 MANDATORY-GROUPS { varnishGroup }
606 varnishGroup}
607 674
608 ::= { varnishCompl 1 } 675 ::= { varnishCompl 1 }
609 676

Return to:

Send suggestions and report system problems to the System administrator.