⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 flow-meter-mib

📁 很不错java的SNMP应用例子
💻
📖 第 1 页 / 共 5 页
字号:
        "Index to the array of RuleSets.  Specifies which set of        rules is the 'current' one for this task.  The meter will        be 'running' the current RuleSet if this row's        flowManagerRunningStandby value is false(2).        When the manager sets this variable the meter will stop using        the task's old current RuleSet and start using the new one.        Specifying RuleSet 0 (the empty set) stops flow measurement        for this task."    ::= { flowManagerInfoEntry 2 }flowManagerStandbyRuleSet OBJECT-TYPE    SYNTAX  Integer32    MAX-ACCESS  read-create    STATUS  current    DESCRIPTION        "Index to the array of RuleSets.  After reaching HighWaterMark        (see below) the manager will switch to using the task's        StandbyRuleSet in place of its CurrentRuleSet.  For this to be        effective the designated StandbyRuleSet should have a coarser        reporting granularity then the CurrentRuleSet.  The manager may        also need to decrease the meter reading interval so that the        meter can recover flows measured by this task's CurrentRuleSet."    DEFVAL { 0 }  -- No standby    ::= { flowManagerInfoEntry 3 }flowManagerHighWaterMark OBJECT-TYPE    SYNTAX  Integer32 (0..100)    MAX-ACCESS  read-create    STATUS  current    DESCRIPTION        "A value expressed as a percentage, interpreted by the meter        as an indication of how full the flow table should be before        it should switch to the standby RuleSet (if one has been        specified) for this task.  Values of 0% or 100% disable the        checking represented by this variable."    ::= { flowManagerInfoEntry 4 }flowManagerCounterWrap OBJECT-TYPE    SYNTAX  INTEGER { wrap(1), scale(2) }    MAX-ACCESS  read-create    STATUS  deprecated    DESCRIPTION        "Specifies whether PDU and octet counters should wrap when        they reach the top of their range (normal behaviour for        Counter64 objects), or whether their scale factors should        be used instead.  The combination of counter and scale        factor allows counts to be returned as non-negative binary        floating point numbers, with 64-bit mantissas and 8-bit        exponents."    DEFVAL { wrap }    ::= { flowManagerInfoEntry 5 }flowManagerOwner OBJECT-TYPE    SYNTAX  UTF8OwnerString    MAX-ACCESS  read-create    STATUS  current    DESCRIPTION        "Identifies the manager which created this row."    ::= { flowManagerInfoEntry 6 }flowManagerTimeStamp OBJECT-TYPE    SYNTAX  TimeStamp    MAX-ACCESS  read-only    STATUS  current    DESCRIPTION        "Time this row was last changed by its manager."    ::= { flowManagerInfoEntry 7 }flowManagerStatus OBJECT-TYPE    SYNTAX  RowStatus    MAX-ACCESS  read-create    STATUS  current    DESCRIPTION        "The status of this row in the flowManagerInfoTable.  A value        of active(1) implies that this task may be activated, by        setting its CurrentRuleSet and StandbyRuleSet variables.        Its HighWaterMark and RunningStandby variables may also be        changed."    ::= { flowManagerInfoEntry 8 }flowManagerRunningStandby OBJECT-TYPE    SYNTAX  TruthValue    MAX-ACCESS  read-create    STATUS  current    DESCRIPTION        "Set to true(1) by the meter to indicate that it has switched        to runnning this task's StandbyRuleSet in place of its        CurrentRuleSet.  To switch back to the CurrentRuleSet, the        manager may simply set this variable to false(2)."    DEFVAL { false }    ::= { flowManagerInfoEntry 9 }---- Control Group:  General Meter Control Variables--flowFloodMark OBJECT-TYPE    SYNTAX  Integer32 (0..100)    MAX-ACCESS  read-write    STATUS  current    DESCRIPTION        "A value expressed as a percentage, interpreted by the meter        as an indication of how full the flow table should be before        it should take some action to avoid running out of resources        to handle new flows, as discussed in section 4.6 (Handling        Increasing Traffic Levels) of the RTFM Architecture RFC        [RTFM-ARC].        Values of 0% or 100% disable the checking represented by        this variable."    DEFVAL { 95 } -- Enabled by default.    ::= { flowControl 5 }flowInactivityTimeout OBJECT-TYPE    SYNTAX  Integer32    MAX-ACCESS  read-write    STATUS  current    DESCRIPTION        "The time in seconds since the last packet seen, after which        a flow becomes 'idle.'  Note that although a flow may be        idle, it will not be discarded (and its memory recovered)        until after its data has been collected by all the meter        readers registered for its RuleSet."    DEFVAL { 600 } -- 10 minutes    ::= { flowControl 6 }flowActiveFlows OBJECT-TYPE    SYNTAX  Integer32    MAX-ACCESS  read-only    STATUS  current    DESCRIPTION        "The number of flows which are currently in use."    ::= { flowControl 7 }flowMaxFlows OBJECT-TYPE    SYNTAX  Integer32    MAX-ACCESS  read-only    STATUS  current    DESCRIPTION        "The maximum number of flows allowed in the meter's        flow table.  At present this is determined when the meter        is first started up."    ::= { flowControl 8 }flowFloodMode OBJECT-TYPE    SYNTAX  TruthValue    MAX-ACCESS  read-write    STATUS  current    DESCRIPTION        "Indicates that the meter has passed its FloodMark and is        not running in its normal mode.        When the manager notices this it should take action to remedy        the problem which caused the flooding.  It should then monitor        flowActiveFlows so as to determine when the flood has receded.        At that point the manager may set flowFloodMode to false(2) to        resume normal operation."    ::= { flowControl 9 }---- The Flow Table---- This is a table kept by a meter, with one flow data entry for every-- flow being measured.  Each flow data entry stores the attribute-- values for a traffic flow.  Details of flows and their attributes-- are given in the 'Traffic Flow Measurement: Architecture'-- document [RTFM-ARC].-- From time to time a meter reader may sweep the flow table so as-- to read counts.  This is most effectively achieved by using the-- TimeMark variable together with successive GetBulk requests to-- retrieve the values of the desired flow attribute variables.-- This scheme allows multiple meter readers to independently use the-- same meter; the meter readers do not have to be synchronised and-- they may use different collection intervals.-- If identical sets of counts are required from a meter, a manager-- could achieve this using two identical copies of a RuleSet in that-- meter and switching back and forth between them.  This is discussed-- further in the RTFM Architecture document [RTFM-ARC].flowDataTable OBJECT-TYPE    SYNTAX  SEQUENCE OF FlowDataEntry    MAX-ACCESS  not-accessible    STATUS  current    DESCRIPTION        "The list of all flows being measured."    ::= { flowData 1 }flowDataEntry OBJECT-TYPE    SYNTAX  FlowDataEntry    MAX-ACCESS  not-accessible    STATUS  current    DESCRIPTION        "The flow data record for a particular flow."    INDEX { flowDataRuleSet, flowDataTimeMark, flowDataIndex }    ::= { flowDataTable 1 }FlowDataEntry ::= SEQUENCE {    flowDataIndex                   Integer32,    flowDataTimeMark                TimeFilter,    flowDataStatus                  INTEGER,    flowDataSourceInterface         Integer32,    flowDataSourceAdjacentType      AdjacentType,    flowDataSourceAdjacentAddress   AdjacentAddress,    flowDataSourceAdjacentMask      AdjacentAddress,    flowDataSourcePeerType          PeerType,    flowDataSourcePeerAddress       PeerAddress,    flowDataSourcePeerMask          PeerAddress,    flowDataSourceTransType         TransportType,    flowDataSourceTransAddress      TransportAddress,    flowDataSourceTransMask         TransportAddress,    flowDataDestInterface           Integer32,    flowDataDestAdjacentType        AdjacentType,    flowDataDestAdjacentAddress     AdjacentAddress,    flowDataDestAdjacentMask        AdjacentAddress,    flowDataDestPeerType            PeerType,    flowDataDestPeerAddress         PeerAddress,    flowDataDestPeerMask            PeerAddress,    flowDataDestTransType           TransportType,    flowDataDestTransAddress        TransportAddress,    flowDataDestTransMask           TransportAddress,    flowDataPDUScale                Integer32,    flowDataOctetScale              Integer32,    flowDataRuleSet                 Integer32,    flowDataToOctets                Counter64,    -- Source->Dest    flowDataToPDUs                  Counter64,    flowDataFromOctets              Counter64,    -- Dest->Source    flowDataFromPDUs                Counter64,    flowDataFirstTime               TimeStamp,    -- Activity times    flowDataLastActiveTime          TimeStamp,    flowDataSourceSubscriberID      OCTET STRING,    flowDataDestSubscriberID        OCTET STRING,    flowDataSessionID               OCTET STRING,    flowDataSourceClass             Integer32,    flowDataDestClass               Integer32,    flowDataClass                   Integer32,    flowDataSourceKind              Integer32,    flowDataDestKind                Integer32,    flowDataKind                    Integer32    }flowDataIndex OBJECT-TYPE    SYNTAX  Integer32 (1..2147483647)    MAX-ACCESS  not-accessible    STATUS  current    DESCRIPTION        "Value of this flow data record's index within the meter's        flow table."    ::= { flowDataEntry 1 }flowDataTimeMark OBJECT-TYPE    SYNTAX  TimeFilter    MAX-ACCESS  not-accessible    STATUS  current    DESCRIPTION        "A TimeFilter for this entry.  Allows GetNext and GetBulk        to find flow table rows which have changed since a specified        value of the meter's Uptime."    ::= { flowDataEntry 2 }flowDataStatus OBJECT-TYPE    SYNTAX  INTEGER { inactive(1), current(2) }    MAX-ACCESS  read-only    STATUS  deprecated    DESCRIPTION        "Status of this flow data record."    ::= { flowDataEntry 3 }flowDataSourceInterface OBJECT-TYPE    SYNTAX  Integer32    MAX-ACCESS  read-only    STATUS  current    DESCRIPTION        "Index of the interface associated with the source address        for this flow.  It's value is one of those contained in the        ifIndex field of the meter's interfaces table."    ::= { flowDataEntry 4 }flowDataSourceAdjacentType OBJECT-TYPE    SYNTAX  AdjacentType    MAX-ACCESS  read-only    STATUS  current    DESCRIPTION        "Adjacent address type of the source for this flow.        If metering is being performed at the network level,        AdjacentType will indicate the medium for the interface on        which the flow was observed and AdjacentAddress will be the        MAC address for that interface.  This is the usual case.        If traffic is being metered inside a tunnel, AdjacentType will        be the peer type of the host at the end of the tunnel and        AdjacentAddress will be the peer address for that host."    ::= { flowDataEntry 5 }flowDataSourceAdjacentAddress OBJECT-TYPE    SYNTAX  AdjacentAddress    MAX-ACCESS  read-only    STATUS  current    DESCRIPTION        "Address of the adjacent device on the path for the source        for this flow."    ::= { flowDataEntry 6 }flowDataSourceAdjacentMask OBJECT-TYPE    SYNTAX  AdjacentAddress    MAX-ACCESS  read-only    STATUS  current    DESCRIPTION        "1-bits in this mask indicate which bits must match when        comparing the adjacent source address for this flow."    ::= { flowDataEntry 7 }flowDataSourcePeerType OBJECT-TYPE    SYNTAX  PeerType    MAX-ACCESS  read-only    STATUS  current    DESCRIPTION        "Peer address type of the source for this flow."    ::= { flowDataEntry 8 }flowDataSourcePeerAddress OBJECT-TYPE    SYNTAX  PeerAddress    MAX-ACCESS  read-only    STATUS  current    DESCRIPTION        "Address of the peer device for the source of this flow."    ::= { flowDataEntry 9 }flowDataSourcePeerMask OBJECT-TYPE    SYNTAX  PeerAddress    MAX-ACCESS  read-only    STATUS  current    DESCRIPTION        "1-bits in this mask indicate which bits must match when        comparing the source peer address for this flow."    ::= { flowDataEntry 10 }flowDataSourceTransType OBJECT-TYPE    SYNTAX  TransportType    MAX-ACCESS  read-only    STATUS  current    DESCRIPTION        "Transport address type of the source for this flow.  The        value of this attribute will depend on the peer address type."    ::= { flowDataEntry 11 }flowDataSourceTransAddress OBJECT-TYPE    SYNTAX  TransportAddress    MAX-ACCESS  read-only    STATUS  current    DESCRIPTION        "Transport address for the source of this flow."    ::= { flowDataEntry 12 }flowDataSourceTransMask OBJECT-TYPE    SYNTAX  TransportAddress    MAX-ACCESS  read-only    STATUS  current    DESCRIPTION        "1-bits in this mask indicate which bits must match when        comparing the transport source address for this flow."    ::= { flowDataEntry 13 }flowDataDestInterface OBJECT-TYPE    SYNTAX  Integer32    MAX-ACCESS  read-only

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -