Documentation
¶
Overview ¶
This MIB module defines MIB objects which provide mechanisms to remotely configure the parameters used by an SNMP entity for the generation of SNMP messages.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SNMPTARGETMIB ¶
type SNMPTARGETMIB struct { EntityData types.CommonEntityData YFilter yfilter.YFilter SnmpTargetObjects SNMPTARGETMIB_SnmpTargetObjects // A table of transport addresses to be used in the generation of SNMP // messages. SnmpTargetAddrTable SNMPTARGETMIB_SnmpTargetAddrTable // A table of SNMP target information to be used in the generation of SNMP // messages. SnmpTargetParamsTable SNMPTARGETMIB_SnmpTargetParamsTable }
SNMPTARGETMIB
func (*SNMPTARGETMIB) GetEntityData ¶
func (sNMPTARGETMIB *SNMPTARGETMIB) GetEntityData() *types.CommonEntityData
type SNMPTARGETMIB_SnmpTargetAddrTable ¶
type SNMPTARGETMIB_SnmpTargetAddrTable struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // A transport address to be used in the generation of SNMP operations. // Entries in the snmpTargetAddrTable are created and deleted using the // snmpTargetAddrRowStatus object. The type is slice of // SNMPTARGETMIB_SnmpTargetAddrTable_SnmpTargetAddrEntry. SnmpTargetAddrEntry []*SNMPTARGETMIB_SnmpTargetAddrTable_SnmpTargetAddrEntry }
SNMPTARGETMIB_SnmpTargetAddrTable A table of transport addresses to be used in the generation of SNMP messages.
func (*SNMPTARGETMIB_SnmpTargetAddrTable) GetEntityData ¶
func (snmpTargetAddrTable *SNMPTARGETMIB_SnmpTargetAddrTable) GetEntityData() *types.CommonEntityData
type SNMPTARGETMIB_SnmpTargetAddrTable_SnmpTargetAddrEntry ¶
type SNMPTARGETMIB_SnmpTargetAddrTable_SnmpTargetAddrEntry struct { EntityData types.CommonEntityData YFilter yfilter.YFilter YListKey string // This attribute is a key. The locally arbitrary, but unique identifier // associated with this snmpTargetAddrEntry. The type is string with length: // 1..32. SnmpTargetAddrName interface{} // This object indicates the transport type of the address contained in the // snmpTargetAddrTAddress object. The type is string with pattern: // (([0-1](\.[1-3]?[0-9]))|(2\.(0|([1-9]\d*))))(\.(0|([1-9]\d*)))*. SnmpTargetAddrTDomain interface{} // This object contains a transport address. The format of this address // depends on the value of the snmpTargetAddrTDomain object. The type is // string with length: 1..255. SnmpTargetAddrTAddress interface{} // This object should reflect the expected maximum round trip time for // communicating with the transport address defined by this row. When a // message is sent to this address, and a response (if one is expected) is not // received within this time period, an implementation may assume that the // response will not be delivered. Note that the time interval that an // application waits for a response may actually be derived from the value of // this object. The method for deriving the actual time interval is // implementation dependent. One such method is to derive the expected // round trip time based on a particular retransmission algorithm and on the // number of timeouts which have occurred. The type of message may also be // considered when deriving expected round trip times for retransmissions. // For example, if a message is being sent with a securityLevel that indicates // both authentication and privacy, the derived value may be increased to // compensate for extra processing time spent during authentication and // encryption processing. The type is interface{} with range: 0..2147483647. SnmpTargetAddrTimeout interface{} // This object specifies a default number of retries to be attempted when a // response is not received for a generated message. An application may // provide its own retry count, in which case the value of this object is // ignored. The type is interface{} with range: 0..255. SnmpTargetAddrRetryCount interface{} // This object contains a list of tag values which are used to select target // addresses for a particular operation. The type is string. SnmpTargetAddrTagList interface{} // The value of this object identifies an entry in the snmpTargetParamsTable. // The identified entry contains SNMP parameters to be used when generating // messages to be sent to this transport address. The type is string with // length: 1..32. SnmpTargetAddrParams interface{} // The storage type for this conceptual row. The type is StorageType. SnmpTargetAddrStorageType interface{} // The status of this conceptual row. To create a row in this table, a // manager must set this object to either createAndGo(4) or createAndWait(5). // Until instances of all corresponding columns are appropriately configured, // the value of the corresponding instance of the snmpTargetAddrRowStatus // column is 'notReady'. In particular, a newly created row cannot be made // active until the corresponding instances of snmpTargetAddrTDomain, // snmpTargetAddrTAddress, and snmpTargetAddrParams have all been set. The // following objects may not be modified while the value of this object is // active(1): - snmpTargetAddrTDomain - snmpTargetAddrTAddress An // attempt to set these objects while the value of snmpTargetAddrRowStatus is // active(1) will result in an inconsistentValue error. The type is RowStatus. SnmpTargetAddrRowStatus interface{} }
SNMPTARGETMIB_SnmpTargetAddrTable_SnmpTargetAddrEntry A transport address to be used in the generation of SNMP operations.
Entries in the snmpTargetAddrTable are created and deleted using the snmpTargetAddrRowStatus object.
func (*SNMPTARGETMIB_SnmpTargetAddrTable_SnmpTargetAddrEntry) GetEntityData ¶
func (snmpTargetAddrEntry *SNMPTARGETMIB_SnmpTargetAddrTable_SnmpTargetAddrEntry) GetEntityData() *types.CommonEntityData
type SNMPTARGETMIB_SnmpTargetObjects ¶
type SNMPTARGETMIB_SnmpTargetObjects struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // This object is used to facilitate modification of table entries in the // SNMP-TARGET-MIB module by multiple managers. In particular, it is // useful when modifying the value of the snmpTargetAddrTagList object. The // procedure for modifying the snmpTargetAddrTagList object is as follows: // 1. Retrieve the value of snmpTargetSpinLock and of // snmpTargetAddrTagList. 2. Generate a new value for // snmpTargetAddrTagList. 3. Set the value of snmpTargetSpinLock to the // retrieved value, and the value of snmpTargetAddrTagList to the new // value. If the set fails for the snmpTargetSpinLock object, // go back to step 1. The type is interface{} with range: 0..2147483647. SnmpTargetSpinLock interface{} // because the context contained in the message was unavailable. The type is // interface{} with range: 0..4294967295. SnmpUnavailableContexts interface{} // The total number of packets received by the SNMP engine which were dropped // because the context contained in the message was unknown. The type is // interface{} with range: 0..4294967295. SnmpUnknownContexts interface{} }
SNMPTARGETMIB_SnmpTargetObjects
func (*SNMPTARGETMIB_SnmpTargetObjects) GetEntityData ¶
func (snmpTargetObjects *SNMPTARGETMIB_SnmpTargetObjects) GetEntityData() *types.CommonEntityData
type SNMPTARGETMIB_SnmpTargetParamsTable ¶
type SNMPTARGETMIB_SnmpTargetParamsTable struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // A set of SNMP target information. Entries in the snmpTargetParamsTable are // created and deleted using the snmpTargetParamsRowStatus object. The type is // slice of SNMPTARGETMIB_SnmpTargetParamsTable_SnmpTargetParamsEntry. SnmpTargetParamsEntry []*SNMPTARGETMIB_SnmpTargetParamsTable_SnmpTargetParamsEntry }
SNMPTARGETMIB_SnmpTargetParamsTable A table of SNMP target information to be used in the generation of SNMP messages.
func (*SNMPTARGETMIB_SnmpTargetParamsTable) GetEntityData ¶
func (snmpTargetParamsTable *SNMPTARGETMIB_SnmpTargetParamsTable) GetEntityData() *types.CommonEntityData
type SNMPTARGETMIB_SnmpTargetParamsTable_SnmpTargetParamsEntry ¶
type SNMPTARGETMIB_SnmpTargetParamsTable_SnmpTargetParamsEntry struct { EntityData types.CommonEntityData YFilter yfilter.YFilter YListKey string // This attribute is a key. The locally arbitrary, but unique identifier // associated with this snmpTargetParamsEntry. The type is string with length: // 1..32. SnmpTargetParamsName interface{} // The Message Processing Model to be used when generating SNMP messages using // this entry. The type is interface{} with range: 0..2147483647. SnmpTargetParamsMPModel interface{} // The Security Model to be used when generating SNMP messages using this // entry. An implementation may choose to return an inconsistentValue error // if an attempt is made to set this variable to a value for a security model // which the implementation does not support. The type is interface{} // with range: 1..2147483647. SnmpTargetParamsSecurityModel interface{} // The securityName which identifies the Principal on whose behalf SNMP // messages will be generated using this entry. The type is string. SnmpTargetParamsSecurityName interface{} // The Level of Security to be used when generating SNMP messages using this // entry. The type is SnmpSecurityLevel. SnmpTargetParamsSecurityLevel interface{} // The storage type for this conceptual row. The type is StorageType. SnmpTargetParamsStorageType interface{} // The status of this conceptual row. To create a row in this table, a // manager must set this object to either createAndGo(4) or createAndWait(5). // Until instances of all corresponding columns are appropriately configured, // the value of the corresponding instance of the snmpTargetParamsRowStatus // column is 'notReady'. In particular, a newly created row cannot be made // active until the corresponding snmpTargetParamsMPModel, // snmpTargetParamsSecurityModel, snmpTargetParamsSecurityName, and // snmpTargetParamsSecurityLevel have all been set. The following objects may // not be modified while the value of this object is active(1): - // snmpTargetParamsMPModel - snmpTargetParamsSecurityModel - // snmpTargetParamsSecurityName - snmpTargetParamsSecurityLevel An attempt // to set these objects while the value of snmpTargetParamsRowStatus is // active(1) will result in an inconsistentValue error. The type is RowStatus. SnmpTargetParamsRowStatus interface{} }
SNMPTARGETMIB_SnmpTargetParamsTable_SnmpTargetParamsEntry A set of SNMP target information.
Entries in the snmpTargetParamsTable are created and deleted using the snmpTargetParamsRowStatus object.
func (*SNMPTARGETMIB_SnmpTargetParamsTable_SnmpTargetParamsEntry) GetEntityData ¶
func (snmpTargetParamsEntry *SNMPTARGETMIB_SnmpTargetParamsTable_SnmpTargetParamsEntry) GetEntityData() *types.CommonEntityData