cisco_nbar_protocol_discovery_mib

package
v0.0.0-...-50def94 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 2, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Cisco NBAR Protocol Discovery MIB

NBAR - Network Based Application Recognition is an intelligent classification engine that recognizes applications that are static (which use fixed TCP or UDP port numbers), and stateful (which dynamically assign TCP or UDP port numbers).

Protocol Discovery - uses NBAR to show you the mix of applications currently running on the network. Key statistics are associated with each protocol. These statistics can be used to define traffic classes and QoS policies.

Functionality:

  1. To enable/disable Protocol Discovery per interface.
  2. Display the protocols/applications which NBAR currently recognizes.
  3. To display various Protocol Discovery statistics.
  4. A configurable top N table which lists protocols using user defined criteria.
  5. To configure notifications (traps) based on configurable statistic thresholds.
  6. To maintain a history table of all notification events.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CISCONBARPROTOCOLDISCOVERYMIB

type CISCONBARPROTOCOLDISCOVERYMIB struct {
	EntityData types.CommonEntityData
	YFilter    yfilter.YFilter

	CnpdNotificationsConfig CISCONBARPROTOCOLDISCOVERYMIB_CnpdNotificationsConfig

	// The cnpdStatusTable is used to enable and disable Protocol Discovery on an
	// interface.
	CnpdStatusTable CISCONBARPROTOCOLDISCOVERYMIB_CnpdStatusTable

	// The cnpdAllStatsTable contains all the statistics available for all the
	// protocols/applications currently recognized by NBAR Protocol Discovery for
	// a particular  interface.  In the event of an overflow, the 32 bit counters
	// are not  valid. There is no overflow support.
	CnpdAllStatsTable CISCONBARPROTOCOLDISCOVERYMIB_CnpdAllStatsTable

	// The cnpdTopNConfigTable is used to configure cnpdTopNStatsTable's.
	CnpdTopNConfigTable CISCONBARPROTOCOLDISCOVERYMIB_CnpdTopNConfigTable

	// A cnpdTopNStatsTable describes an ordered list of protocols.
	CnpdTopNStatsTable CISCONBARPROTOCOLDISCOVERYMIB_CnpdTopNStatsTable

	// The cnpdThresholdConfigTable allows the management station to create
	// thresholds for the purpose of sending notifications if breached, and
	// creating a history of breached thresholds.
	CnpdThresholdConfigTable CISCONBARPROTOCOLDISCOVERYMIB_CnpdThresholdConfigTable

	// The Threshold History table. Notifications are unreliable so this table
	// provides a history of the last 5000 threshold breached events. A
	// notification can be traced back to its cnpdThresholdHistoryEntry.
	CnpdThresholdHistoryTable CISCONBARPROTOCOLDISCOVERYMIB_CnpdThresholdHistoryTable

	// The Supported Protocols table lists all the  protocols and applications
	// which NBAR is currently capable of recognizing.
	CnpdSupportedProtocolsTable CISCONBARPROTOCOLDISCOVERYMIB_CnpdSupportedProtocolsTable
}

CISCONBARPROTOCOLDISCOVERYMIB

func (*CISCONBARPROTOCOLDISCOVERYMIB) GetEntityData

func (cISCONBARPROTOCOLDISCOVERYMIB *CISCONBARPROTOCOLDISCOVERYMIB) GetEntityData() *types.CommonEntityData

type CISCONBARPROTOCOLDISCOVERYMIB_CnpdAllStatsTable

type CISCONBARPROTOCOLDISCOVERYMIB_CnpdAllStatsTable struct {
	EntityData types.CommonEntityData
	YFilter    yfilter.YFilter

	// An entry in the cnpdAllStatsTable table. This entry  contains the
	// statistics collected on all the protocols  which NBAR classifies for a
	// particular interface. The type is slice of
	// CISCONBARPROTOCOLDISCOVERYMIB_CnpdAllStatsTable_CnpdAllStatsEntry.
	CnpdAllStatsEntry []*CISCONBARPROTOCOLDISCOVERYMIB_CnpdAllStatsTable_CnpdAllStatsEntry
}

CISCONBARPROTOCOLDISCOVERYMIB_CnpdAllStatsTable The cnpdAllStatsTable contains all the statistics available for all the protocols/applications currently recognized by NBAR Protocol Discovery for a particular interface.

In the event of an overflow, the 32 bit counters are not valid. There is no overflow support.

func (*CISCONBARPROTOCOLDISCOVERYMIB_CnpdAllStatsTable) GetEntityData

func (cnpdAllStatsTable *CISCONBARPROTOCOLDISCOVERYMIB_CnpdAllStatsTable) GetEntityData() *types.CommonEntityData

type CISCONBARPROTOCOLDISCOVERYMIB_CnpdAllStatsTable_CnpdAllStatsEntry

type CISCONBARPROTOCOLDISCOVERYMIB_CnpdAllStatsTable_CnpdAllStatsEntry struct {
	EntityData types.CommonEntityData
	YFilter    yfilter.YFilter
	YListKey   string

	// This attribute is a key. The type is string with range: 1..2147483647.
	// Refers to if_mib.IFMIB_IfTable_IfEntry_IfIndex
	IfIndex interface{}

	// This attribute is a key. An object which represents a unique  identifier
	// for a protocol or application  which NBAR currently recognizes.  This
	// object is an index into the  SupportedProtocolsTable where details of the
	// protocol can be found. The type is interface{} with range: 1..1024.
	CnpdAllStatsProtocolsIndex interface{}

	// Name of the application or protocol, a  unique textual string, assigned in
	// the cnpdSupportedProtocolsTable. The type is string with length: 1..255.
	CnpdAllStatsProtocolName interface{}

	// The packet count of inbound packets as  determined by Protocol Discovery.
	// The type is interface{} with range: 0..4294967295. Units are packets.
	CnpdAllStatsInPkts interface{}

	// The packet count of outbound packets as  determined by Protocol Discovery.
	// The type is interface{} with range: 0..4294967295. Units are packets.
	CnpdAllStatsOutPkts interface{}

	// The byte count of inbound octets as  determined by Protocol Discovery. The
	// type is interface{} with range: 0..4294967295. Units are bytes.
	CnpdAllStatsInBytes interface{}

	// The byte count of outbound octets as determined by Protocol Discovery. The
	// type is interface{} with range: 0..4294967295. Units are bytes.
	CnpdAllStatsOutBytes interface{}

	// The packet count of inbound packets as  determined by Protocol Discovery.
	// This is the 64-bit (High Capacity) version of cnpdAllStatsInPkts. The type
	// is interface{} with range: 0..18446744073709551615. Units are packets.
	CnpdAllStatsHCInPkts interface{}

	// The packet count of outbound packets as  determined by Protocol Discovery.
	// This is the 64-bit (High Capacity) version of cnpdAllStatsOutPkts. The type
	// is interface{} with range: 0..18446744073709551615. Units are packets.
	CnpdAllStatsHCOutPkts interface{}

	// The byte count of inbound octets as  determined by Protocol Discovery. This
	// is the 64-bit (High Capacity) version of cnpdAllStatsInBytes. The type is
	// interface{} with range: 0..18446744073709551615. Units are bytes.
	CnpdAllStatsHCInBytes interface{}

	// The byte count of outbound octets as  determined by Protocol Discovery.
	// This is the 64-bit (High Capacity) version of cnpdAllStatsOutBytes. The
	// type is interface{} with range: 0..18446744073709551615. Units are bytes.
	CnpdAllStatsHCOutBytes interface{}

	// The inbound bit rate as determined  by Protocol Discovery. The type is
	// interface{} with range: 1..4294967295. Units are kilo bits per second.
	CnpdAllStatsInBitRate interface{}

	// The outbound bit rate as determined  by Protocol Discovery. The type is
	// interface{} with range: 1..4294967295. Units are kilo bits per second.
	CnpdAllStatsOutBitRate interface{}
}

CISCONBARPROTOCOLDISCOVERYMIB_CnpdAllStatsTable_CnpdAllStatsEntry An entry in the cnpdAllStatsTable table. This entry contains the statistics collected on all the protocols which NBAR classifies for a particular interface.

func (*CISCONBARPROTOCOLDISCOVERYMIB_CnpdAllStatsTable_CnpdAllStatsEntry) GetEntityData

type CISCONBARPROTOCOLDISCOVERYMIB_CnpdNotificationsConfig

type CISCONBARPROTOCOLDISCOVERYMIB_CnpdNotificationsConfig struct {
	EntityData types.CommonEntityData
	YFilter    yfilter.YFilter

	// This object is used to enable or disable  Notifications on a global basis.
	// If set to 'true' - Notifications are enabled. If set to 'false' -
	// Notifications are disabled. The type is bool.
	CnpdNotificationsEnable interface{}
}

CISCONBARPROTOCOLDISCOVERYMIB_CnpdNotificationsConfig

func (*CISCONBARPROTOCOLDISCOVERYMIB_CnpdNotificationsConfig) GetEntityData

func (cnpdNotificationsConfig *CISCONBARPROTOCOLDISCOVERYMIB_CnpdNotificationsConfig) GetEntityData() *types.CommonEntityData

type CISCONBARPROTOCOLDISCOVERYMIB_CnpdStatusTable

type CISCONBARPROTOCOLDISCOVERYMIB_CnpdStatusTable struct {
	EntityData types.CommonEntityData
	YFilter    yfilter.YFilter

	// An entry in the cnpdStatusTable contains objects for enabling or disabling
	// Protocol Discovery on a per interface basis. The type is slice of
	// CISCONBARPROTOCOLDISCOVERYMIB_CnpdStatusTable_CnpdStatusEntry.
	CnpdStatusEntry []*CISCONBARPROTOCOLDISCOVERYMIB_CnpdStatusTable_CnpdStatusEntry
}

CISCONBARPROTOCOLDISCOVERYMIB_CnpdStatusTable The cnpdStatusTable is used to enable and disable Protocol Discovery on an interface.

func (*CISCONBARPROTOCOLDISCOVERYMIB_CnpdStatusTable) GetEntityData

func (cnpdStatusTable *CISCONBARPROTOCOLDISCOVERYMIB_CnpdStatusTable) GetEntityData() *types.CommonEntityData

type CISCONBARPROTOCOLDISCOVERYMIB_CnpdStatusTable_CnpdStatusEntry

type CISCONBARPROTOCOLDISCOVERYMIB_CnpdStatusTable_CnpdStatusEntry struct {
	EntityData types.CommonEntityData
	YFilter    yfilter.YFilter
	YListKey   string

	// This attribute is a key. The type is string with range: 1..2147483647.
	// Refers to if_mib.IFMIB_IfTable_IfEntry_IfIndex
	IfIndex interface{}

	// This object is used to enable or disable  Protocol Discovery on an
	// interface.   If set to 'true' - Protocol Discovery is  enabled on this
	// Interface.  If set to 'false' - Protocol Discovery is  disabled on this
	// Interface. The type is bool.
	CnpdStatusPdEnable interface{}

	// The value of sysUpTime at the time Protocol  Discovery was last enabled  on
	// an interface. If the interface does not have Protocol Discovery enabled
	// this value is zero. The type is interface{} with range: 0..4294967295.
	CnpdStatusLastUpdateTime interface{}
}

CISCONBARPROTOCOLDISCOVERYMIB_CnpdStatusTable_CnpdStatusEntry An entry in the cnpdStatusTable contains objects for enabling or disabling Protocol Discovery on a per interface basis.

func (*CISCONBARPROTOCOLDISCOVERYMIB_CnpdStatusTable_CnpdStatusEntry) GetEntityData

type CISCONBARPROTOCOLDISCOVERYMIB_CnpdSupportedProtocolsTable

type CISCONBARPROTOCOLDISCOVERYMIB_CnpdSupportedProtocolsTable struct {
	EntityData types.CommonEntityData
	YFilter    yfilter.YFilter

	// A entry in the Supported Protocols table reflecting key information about a
	// protocol. The type is slice of
	// CISCONBARPROTOCOLDISCOVERYMIB_CnpdSupportedProtocolsTable_CnpdSupportedProtocolsEntry.
	CnpdSupportedProtocolsEntry []*CISCONBARPROTOCOLDISCOVERYMIB_CnpdSupportedProtocolsTable_CnpdSupportedProtocolsEntry
}

CISCONBARPROTOCOLDISCOVERYMIB_CnpdSupportedProtocolsTable The Supported Protocols table lists all the protocols and applications which NBAR is currently capable of recognizing.

func (*CISCONBARPROTOCOLDISCOVERYMIB_CnpdSupportedProtocolsTable) GetEntityData

func (cnpdSupportedProtocolsTable *CISCONBARPROTOCOLDISCOVERYMIB_CnpdSupportedProtocolsTable) GetEntityData() *types.CommonEntityData

type CISCONBARPROTOCOLDISCOVERYMIB_CnpdSupportedProtocolsTable_CnpdSupportedProtocolsEntry

type CISCONBARPROTOCOLDISCOVERYMIB_CnpdSupportedProtocolsTable_CnpdSupportedProtocolsEntry struct {
	EntityData types.CommonEntityData
	YFilter    yfilter.YFilter
	YListKey   string

	// This attribute is a key. A unique identifier of a row in this table.  Thus
	// it also represents a unique identifier for a protocol or application which
	// NBAR currently recognizes. The type is interface{} with range: 1..1024.
	CnpdSupportedProtocolsIndex interface{}

	// This object reflects the valid string of a protocol or application which
	// NBAR currently recognizes. The type is string with length: 1..255.
	CnpdSupportedProtocolsName interface{}
}

CISCONBARPROTOCOLDISCOVERYMIB_CnpdSupportedProtocolsTable_CnpdSupportedProtocolsEntry A entry in the Supported Protocols table reflecting key information about a protocol.

func (*CISCONBARPROTOCOLDISCOVERYMIB_CnpdSupportedProtocolsTable_CnpdSupportedProtocolsEntry) GetEntityData

type CISCONBARPROTOCOLDISCOVERYMIB_CnpdThresholdConfigTable

type CISCONBARPROTOCOLDISCOVERYMIB_CnpdThresholdConfigTable struct {
	EntityData types.CommonEntityData
	YFilter    yfilter.YFilter

	// This entry contains configuration information to  set thresholds for the
	// purpose of notifications.  The management station is allowed to set
	// thresholds on individual statistics for individual protocols on an
	// interface. If the threshold is breached by the protocol statistic, a new
	// event is written to the cnpdThresholdHistoryTable, which in turn will
	// generate a Notification Event.  This function has a hysteresis mechanism to
	// limit the generation of events. This mechanism generates one event as a
	// threshold is crossed in the appropriate direction. No more events are
	// generated for that threshold until the opposite threshold is crossed. This
	// stops repeated Notification events being generated each time the value is
	// sampled, when the value is above the threshold. Instead one notification is
	// sent when the threshold is breached and one notification when the statistic
	// drops below the threshold value again. The type is slice of
	// CISCONBARPROTOCOLDISCOVERYMIB_CnpdThresholdConfigTable_CnpdThresholdConfigEntry.
	CnpdThresholdConfigEntry []*CISCONBARPROTOCOLDISCOVERYMIB_CnpdThresholdConfigTable_CnpdThresholdConfigEntry
}

CISCONBARPROTOCOLDISCOVERYMIB_CnpdThresholdConfigTable The cnpdThresholdConfigTable allows the management station to create thresholds for the purpose of sending notifications if breached, and creating a history of breached thresholds.

func (*CISCONBARPROTOCOLDISCOVERYMIB_CnpdThresholdConfigTable) GetEntityData

func (cnpdThresholdConfigTable *CISCONBARPROTOCOLDISCOVERYMIB_CnpdThresholdConfigTable) GetEntityData() *types.CommonEntityData

type CISCONBARPROTOCOLDISCOVERYMIB_CnpdThresholdConfigTable_CnpdThresholdConfigEntry

type CISCONBARPROTOCOLDISCOVERYMIB_CnpdThresholdConfigTable_CnpdThresholdConfigEntry struct {
	EntityData types.CommonEntityData
	YFilter    yfilter.YFilter
	YListKey   string

	// This attribute is a key. A monotonically increasing integer which  uniquely
	// identifies an entry in the  cnpdThresholdConfigTable. The type is
	// interface{} with range: 1..100.
	CnpdThresholdConfigIndex interface{}

	// This object allows the management station to  select the interface, which
	// Protocol Discovery is  running on, to be used to create this
	// cnpdThresholdConfigTable entry. The type is interface{} with range:
	// 1..2147483647.
	CnpdThresholdConfigIfIndex interface{}

	// The interval in seconds over which the data is sampled and compared with
	// cnpdThresholdConfigRising and cnpdThresholdConfigFalling thresholds. The
	// type is interface{} with range: 1..2048. Units are seconds.
	CnpdThresholdConfigInterval interface{}

	// The method of sampling the selected statistic and calculating the value to
	// be compared against  cnpdThresholdConfigRising or
	// cnpdThresholdConfigFalling thresholds.  		 If the value of this object is
	// absoluteValue(1),  the value at the end of the sampling interval
	// cnpdThresholdConfigInterval, will be compared  with the
	// cnpdThresholdConfigRising and  cnpdThresholdConfigFalling thresholds.   In
	// this mode, when cnpdThresholdConfigStatsSelect is byte or packet based, a
	// maximum of two  cnpdThresholdHistory entries will be created per
	// application, as these byte and packet counts  monotonically increase from
	// zero. 		 If the value of this object is deltaValue(2),  the difference
	// between the samples at the  beginning and end of the
	// cnpdThresholdConfigInterval  will be compared with the
	// cnpdThresholdConfigRising  and cnpdThresholdConfigFalling thresholds.
	// Because the difference in the previous and current samples are compared
	// over the sample period cnpdThresholdConfigInterval, this mode provides
	// more granularity to the thresholds because the NMS  is now provided with
	// the gradient or change in the  cnpdThresholdConfigStatsSelect.  Note that
	// even though the sample value is monotonically increasing for byte and
	// packet counts,  cnpdThresholdConfigSampleType set to deltaValue, can
	// generate falling cnpdThresholdHistory entries, because the gradient can be
	// lower than the  cnpdThresholdConfigFalling value. The type is
	// CnpdThresholdConfigSampleType.
	CnpdThresholdConfigSampleType interface{}

	// The application or protocol which the management station wishes to
	// configure a threshold on.  This object is an index into the
	// SupportedProtocolsTable where details of the protocol can be found.  If
	// cnpdThresholdConfigProtocolAny is set to TRUE this value will be ignored.
	// If it is set to FALSE, then cnpdThresholdConfigProtocol will be the only
	// protocol that is checked to see if it has breached the threshold. The type
	// is interface{} with range: 1..1024.
	CnpdThresholdConfigProtocol interface{}

	// If set to 'true' - this threshold is configured to check for any protocol
	// which meets the threshold criteria. This means that multiple protocols can
	// generate ThresholdHistoryTable entries. Each protocol is subject to the
	// hysterisis mechanism.  If set to 'false' - this threshold is configured to
	// check for the protocol which meets the threshold criteria referred to by
	// cnpdThresholdConfigProtocol. The type is bool.
	CnpdThresholdConfigProtocolAny interface{}

	// This object allows the management station to select the statistic used to
	// base the threshold on.  For example a cnpdThresholdConfigStatsSelect of
	// bitRateSum means cnpdThresholdConfigRising and cnpdThresholdConfigFalling
	// are values based on the combined value of in and out bitrates. The type is
	// CiscoPdDataType.
	CnpdThresholdConfigStatsSelect interface{}

	// This controls the type of notification that is  sent when this threshold
	// entry is first enabled.   Because there is no previous sampling history,
	// choosing one of these options determines the type of notification generated
	// - Rising or Falling.  If the first sample after this entry is enabled  is
	// greater than or equal to cnpdThresholdConfigRising and this object is equal
	// to rising(1) or risingOrFalling(3),  then a single rising notification will
	// be generated.   If the first sample after this entry is enabled is less
	// than or equal to cnpdThresholdConfigFalling and this object is equal to
	// falling(2) or  risingOrFalling(3), then a single falling notification  will
	// be generated. The type is CnpdThresholdConfigStartup.
	CnpdThresholdConfigStartup interface{}

	// This is the threshold object which the managment station sets to determine
	// if it gets breached. It  indicates the statistic being sampled was rising.
	// When the current sample is greater than or  equal to this object, and the
	// value at the last  sampling interval was less than this object (in  other
	// words the value is rising), an entry in the  cnpdThresholdHistoryTable will
	// be created.  After a rising event is generated, another such  event will
	// not be generated until the sampled value falls below this threshold and
	// reaches the cnpdThresholdConfigFalling value.  This ensures that samples
	// which are taken after a cnpdThresholdConfigRising threshold event has been
	// created, do not create further thresholds and therefore notifications,
	// until the  cnpdThresholdConfigFalling threshold has been met.  Thus a very
	// short cnpdThresholdConfigInterval can be chosen without risk of multiple
	// notifications for the same threshold breach condition. The type is
	// interface{} with range: 1..4294967295.
	CnpdThresholdConfigRising interface{}

	// This is the threshold object which the management  station sets to
	// determine if it gets breached. It  indicates the statistic being sampled
	// was falling.   When current sample is less than or equal  to this object,
	// and the value at the last sampling interval was greater than this object
	// (in other  words the value is falling), an entry in the
	// cnpdThresholdHistoryTable will be created.  		 After a falling event is
	// generated, another  such event will not be generated until the sampled
	// value rises above this object and reaches the cnpdThresholdConfigRising
	// value. The type is interface{} with range: 1..4294967295.
	CnpdThresholdConfigFalling interface{}

	// This object is used to create or delete  the row entry in
	// cnpdThresholdConfigTable.   When creating a row entry the management
	// station  is required to specify a value for  cnpdThresholdConfigIfIndex,
	// cnpdThresholdConfigRising  and cnpdThresholdConfigFalling.  'active' means
	// that a createAndGo or active has  been issued, AND a valid ifIndex exists.
	// And therefore  if a row is 'active' it means a ThresholdHistory entry  may
	// have been generated if the value was breached.  If you set an 'active' row
	// to 'createAndWait' - it will  in fact get the status 'notReady'.   Likewise
	// if you set any row to 'notInService' or 'notReady'  it will go to the
	// 'notReady' state. The type is RowStatus.
	CnpdThresholdConfigStatus interface{}
}

CISCONBARPROTOCOLDISCOVERYMIB_CnpdThresholdConfigTable_CnpdThresholdConfigEntry This entry contains configuration information to set thresholds for the purpose of notifications.

The management station is allowed to set thresholds on individual statistics for individual protocols on an interface. If the threshold is breached by the protocol statistic, a new event is written to the cnpdThresholdHistoryTable, which in turn will generate a Notification Event.

This function has a hysteresis mechanism to limit the generation of events. This mechanism generates one event as a threshold is crossed in the appropriate direction. No more events are generated for that threshold until the opposite threshold is crossed. This stops repeated Notification events being generated each time the value is sampled, when the value is above the threshold. Instead one notification is sent when the threshold is breached and one notification when the statistic drops below the threshold value again.

func (*CISCONBARPROTOCOLDISCOVERYMIB_CnpdThresholdConfigTable_CnpdThresholdConfigEntry) GetEntityData

type CISCONBARPROTOCOLDISCOVERYMIB_CnpdThresholdConfigTable_CnpdThresholdConfigEntry_CnpdThresholdConfigSampleType

type CISCONBARPROTOCOLDISCOVERYMIB_CnpdThresholdConfigTable_CnpdThresholdConfigEntry_CnpdThresholdConfigSampleType string

CISCONBARPROTOCOLDISCOVERYMIB_CnpdThresholdConfigTable_CnpdThresholdConfigEntry_CnpdThresholdConfigSampleType represents cnpdThresholdConfigFalling value.

const (
	CISCONBARPROTOCOLDISCOVERYMIB_CnpdThresholdConfigTable_CnpdThresholdConfigEntry_CnpdThresholdConfigSampleType_absoluteValue CISCONBARPROTOCOLDISCOVERYMIB_CnpdThresholdConfigTable_CnpdThresholdConfigEntry_CnpdThresholdConfigSampleType = "absoluteValue"

	CISCONBARPROTOCOLDISCOVERYMIB_CnpdThresholdConfigTable_CnpdThresholdConfigEntry_CnpdThresholdConfigSampleType_deltaValue CISCONBARPROTOCOLDISCOVERYMIB_CnpdThresholdConfigTable_CnpdThresholdConfigEntry_CnpdThresholdConfigSampleType = "deltaValue"
)

type CISCONBARPROTOCOLDISCOVERYMIB_CnpdThresholdConfigTable_CnpdThresholdConfigEntry_CnpdThresholdConfigStartup

type CISCONBARPROTOCOLDISCOVERYMIB_CnpdThresholdConfigTable_CnpdThresholdConfigEntry_CnpdThresholdConfigStartup string

CISCONBARPROTOCOLDISCOVERYMIB_CnpdThresholdConfigTable_CnpdThresholdConfigEntry_CnpdThresholdConfigStartup represents will be generated.

const (
	CISCONBARPROTOCOLDISCOVERYMIB_CnpdThresholdConfigTable_CnpdThresholdConfigEntry_CnpdThresholdConfigStartup_rising CISCONBARPROTOCOLDISCOVERYMIB_CnpdThresholdConfigTable_CnpdThresholdConfigEntry_CnpdThresholdConfigStartup = "rising"

	CISCONBARPROTOCOLDISCOVERYMIB_CnpdThresholdConfigTable_CnpdThresholdConfigEntry_CnpdThresholdConfigStartup_falling CISCONBARPROTOCOLDISCOVERYMIB_CnpdThresholdConfigTable_CnpdThresholdConfigEntry_CnpdThresholdConfigStartup = "falling"

	CISCONBARPROTOCOLDISCOVERYMIB_CnpdThresholdConfigTable_CnpdThresholdConfigEntry_CnpdThresholdConfigStartup_risingOrFalling CISCONBARPROTOCOLDISCOVERYMIB_CnpdThresholdConfigTable_CnpdThresholdConfigEntry_CnpdThresholdConfigStartup = "risingOrFalling"
)

type CISCONBARPROTOCOLDISCOVERYMIB_CnpdThresholdHistoryTable

type CISCONBARPROTOCOLDISCOVERYMIB_CnpdThresholdHistoryTable struct {
	EntityData types.CommonEntityData
	YFilter    yfilter.YFilter

	// This entry is created each time a threshold  is breached.   Thus there is
	// not necessarily a one to one  relationship to cnpdThresholdConfigTable  as
	// not every Threshold configured will  be breached. The type is slice of
	// CISCONBARPROTOCOLDISCOVERYMIB_CnpdThresholdHistoryTable_CnpdThresholdHistoryEntry.
	CnpdThresholdHistoryEntry []*CISCONBARPROTOCOLDISCOVERYMIB_CnpdThresholdHistoryTable_CnpdThresholdHistoryEntry
}

CISCONBARPROTOCOLDISCOVERYMIB_CnpdThresholdHistoryTable The Threshold History table. Notifications are unreliable so this table provides a history of the last 5000 threshold breached events. A notification can be traced back to its cnpdThresholdHistoryEntry.

func (*CISCONBARPROTOCOLDISCOVERYMIB_CnpdThresholdHistoryTable) GetEntityData

func (cnpdThresholdHistoryTable *CISCONBARPROTOCOLDISCOVERYMIB_CnpdThresholdHistoryTable) GetEntityData() *types.CommonEntityData

type CISCONBARPROTOCOLDISCOVERYMIB_CnpdThresholdHistoryTable_CnpdThresholdHistoryEntry

type CISCONBARPROTOCOLDISCOVERYMIB_CnpdThresholdHistoryTable_CnpdThresholdHistoryEntry struct {
	EntityData types.CommonEntityData
	YFilter    yfilter.YFilter
	YListKey   string

	// This attribute is a key. A monotonically increasing integer which uniquely
	// identifies this  cnpdThresholdHistoryEntry in the  cnpdThresholdHistory
	// table. The type is interface{} with range: 1..1000.
	CnpdThresholdHistoryIndex interface{}

	// The cnpdThresholdConfigTable entry  which generated this entry. Using this
	// object the management station can backtrack  to the appropriate
	// cnpdThresholdConfigEntry. The type is interface{} with range: 1..1000.
	CnpdThresholdHistoryConfigIndex interface{}

	// The actual value of the statistic when  the sampling was made. The type is
	// interface{} with range: 1..4294967295.
	CnpdThresholdHistoryValue interface{}

	// Describes whether this is an event caused by a rising or falling threshold
	// breach. The type is CnpdThresholdHistoryType.
	CnpdThresholdHistoryType interface{}

	// The value of sysUpTime of the running  configuration when the event
	// occurred. The type is interface{} with range: 0..4294967295.
	CnpdThresholdHistoryTime interface{}

	// The application or protocol which the management station configured a
	// threshold on.  This object is an index into the  SupportedProtocolsTable
	// where details of the protocol can be found. The type is interface{} with
	// range: 1..1024.
	CnpdThresholdHistoryProtocol interface{}

	// This is the statistic used to base the threshold on. The type is
	// CiscoPdDataType.
	CnpdThresholdHistoryStatsSelect interface{}
}

CISCONBARPROTOCOLDISCOVERYMIB_CnpdThresholdHistoryTable_CnpdThresholdHistoryEntry This entry is created each time a threshold is breached.

Thus there is not necessarily a one to one relationship to cnpdThresholdConfigTable as not every Threshold configured will be breached.

func (*CISCONBARPROTOCOLDISCOVERYMIB_CnpdThresholdHistoryTable_CnpdThresholdHistoryEntry) GetEntityData

type CISCONBARPROTOCOLDISCOVERYMIB_CnpdThresholdHistoryTable_CnpdThresholdHistoryEntry_CnpdThresholdHistoryType

type CISCONBARPROTOCOLDISCOVERYMIB_CnpdThresholdHistoryTable_CnpdThresholdHistoryEntry_CnpdThresholdHistoryType string

CISCONBARPROTOCOLDISCOVERYMIB_CnpdThresholdHistoryTable_CnpdThresholdHistoryEntry_CnpdThresholdHistoryType represents or falling threshold breach.

const (
	CISCONBARPROTOCOLDISCOVERYMIB_CnpdThresholdHistoryTable_CnpdThresholdHistoryEntry_CnpdThresholdHistoryType_risingBreach CISCONBARPROTOCOLDISCOVERYMIB_CnpdThresholdHistoryTable_CnpdThresholdHistoryEntry_CnpdThresholdHistoryType = "risingBreach"

	CISCONBARPROTOCOLDISCOVERYMIB_CnpdThresholdHistoryTable_CnpdThresholdHistoryEntry_CnpdThresholdHistoryType_fallingBreach CISCONBARPROTOCOLDISCOVERYMIB_CnpdThresholdHistoryTable_CnpdThresholdHistoryEntry_CnpdThresholdHistoryType = "fallingBreach"
)

type CISCONBARPROTOCOLDISCOVERYMIB_CnpdTopNConfigTable

type CISCONBARPROTOCOLDISCOVERYMIB_CnpdTopNConfigTable struct {
	EntityData types.CommonEntityData
	YFilter    yfilter.YFilter

	// This entry provides the objects to configure and thus initiate the
	// generation of a cnpdTopNStatsTable.. The type is slice of
	// CISCONBARPROTOCOLDISCOVERYMIB_CnpdTopNConfigTable_CnpdTopNConfigEntry.
	CnpdTopNConfigEntry []*CISCONBARPROTOCOLDISCOVERYMIB_CnpdTopNConfigTable_CnpdTopNConfigEntry
}

CISCONBARPROTOCOLDISCOVERYMIB_CnpdTopNConfigTable The cnpdTopNConfigTable is used to configure cnpdTopNStatsTable's.

func (*CISCONBARPROTOCOLDISCOVERYMIB_CnpdTopNConfigTable) GetEntityData

func (cnpdTopNConfigTable *CISCONBARPROTOCOLDISCOVERYMIB_CnpdTopNConfigTable) GetEntityData() *types.CommonEntityData

type CISCONBARPROTOCOLDISCOVERYMIB_CnpdTopNConfigTable_CnpdTopNConfigEntry

type CISCONBARPROTOCOLDISCOVERYMIB_CnpdTopNConfigTable_CnpdTopNConfigEntry struct {
	EntityData types.CommonEntityData
	YFilter    yfilter.YFilter
	YListKey   string

	// This attribute is a key. A monotonically increasing integer which uniquely
	// identifies a cnpdTopNConfigEntry  in the cnpdTopNConfigTable. The type is
	// interface{} with range: 1..50.
	CnpdTopNConfigIndex interface{}

	// This object allows the management station to select the interface, which
	// Protocol Discovery is running on, to be used to create this
	// cnpdTopNConfigEntry. The type is interface{} with range: 1..2147483647.
	CnpdTopNConfigIfIndex interface{}

	// This object allows the management station to select the statistic used to
	// base the order of the top-n table on.  For example: a
	// cnpdTopNConfigStatsSelect of bitRateSum means order this table based on
	// each applications/protocols combined in and out bitrate. The type is
	// CiscoPdDataType.
	CnpdTopNConfigStatsSelect interface{}

	// If the cnpdTopNConfigStatsSelect is bitRateIn, bitRateOut or bitRateSum,
	// then this value is the interval in seconds that  the bitrate is sampled.
	// This has no effect if the cnpdTopNConfigStatsSelect is byte or packet
	// based.  When this object is modified by the management  station, a new
	// sample period is started regardless of whether the original
	// cnpdTopNConfigSampleTime was finished. The type is interface{} with range:
	// 1..2048. Units are seconds.
	CnpdTopNConfigSampleTime interface{}

	// The requested size of the associated  cnpdTopNStatsTable entry.  For
	// example a cnpdTopNConfigRequestedSize of 20 indicates the management
	// station wants to create an associated  cnpdTopNStatsTable  entry of 20
	// protocol/application's. The type is interface{} with range: 1..500.
	CnpdTopNConfigRequestedSize interface{}

	// The actual size of the associated 	 cnpdTopNStatsTable entry.  The reason
	// this may differ from  cnpdTopNConfigRequestedSize is because a  management
	// station may request a number of  protocols that is greater than the number
	// of  protocols actually found by Protocol Discovery. The type is interface{}
	// with range: 1..500.
	CnpdTopNConfigGrantedSize interface{}

	// The value of sysUpTime when the associated cnpdTopNStatsTable entry was
	// created. The type is interface{} with range: 0..4294967295.
	CnpdTopNConfigTime interface{}

	// This object is used to create or delete  the row entry in
	// cnpdTopNConfigTable.  When creating a row entry the management station is
	// required to specify a value for cnpdTopNConfigIfIndex only.  'notReady'
	// means that a row exists but  either it has no valid IfIndex or it has  not
	// been set to createAndGo or active.  'active' means that a createAndGo or
	// active  has been issued, AND a valid ifIndex exists.  Therefore if a row is
	// 'active' it means a  TopNStats entry has been generated.  If you set an
	// 'active' row to createAndWait  it will get the status 'notReady'.   If you
	// set any row to 'notReady' - it will go  to the 'notReadystate'.  If you set
	// any row to 'notInService' - it will  go to the 'notInService' state and the
	// corresponding  TopNStatsEntry will be deleted.  The same TopNConfig entry
	// can be re-used without  changes by setting it to 'active'. The
	// corresponding  TopStatsTable entry will be regenerated. This can  be used
	// by the NMS to poll a particular TopNConfig  Entry.  Changes to an existing
	// TopNConfig entry can be made by setting the status to 'createAndWait' and
	// changing the necessary objects. Setting it to 'createAndGo' or 'active'
	// will cause the corresponding TopNStats entry to be regenerated. The type is
	// RowStatus.
	CnpdTopNConfigStatus interface{}
}

CISCONBARPROTOCOLDISCOVERYMIB_CnpdTopNConfigTable_CnpdTopNConfigEntry This entry provides the objects to configure and thus initiate the generation of a cnpdTopNStatsTable..

func (*CISCONBARPROTOCOLDISCOVERYMIB_CnpdTopNConfigTable_CnpdTopNConfigEntry) GetEntityData

type CISCONBARPROTOCOLDISCOVERYMIB_CnpdTopNStatsTable

type CISCONBARPROTOCOLDISCOVERYMIB_CnpdTopNStatsTable struct {
	EntityData types.CommonEntityData
	YFilter    yfilter.YFilter

	// This entry is used to store a set of objects which  describe a
	// cnpdTopNStatsTable. A cnpdTopNStatsTable  is a number of protocols and
	// statistics sorted  according to the criteria in the associated
	// cnpdTopNConfigEntry.  Therefore a cnpdTopNStatsTable can differ in content
	// and size according to what was configured in the associated
	// cnpdTopNConfigTableEntry. The type is slice of
	// CISCONBARPROTOCOLDISCOVERYMIB_CnpdTopNStatsTable_CnpdTopNStatsEntry.
	CnpdTopNStatsEntry []*CISCONBARPROTOCOLDISCOVERYMIB_CnpdTopNStatsTable_CnpdTopNStatsEntry
}

CISCONBARPROTOCOLDISCOVERYMIB_CnpdTopNStatsTable A cnpdTopNStatsTable describes an ordered list of protocols.

func (*CISCONBARPROTOCOLDISCOVERYMIB_CnpdTopNStatsTable) GetEntityData

func (cnpdTopNStatsTable *CISCONBARPROTOCOLDISCOVERYMIB_CnpdTopNStatsTable) GetEntityData() *types.CommonEntityData

type CISCONBARPROTOCOLDISCOVERYMIB_CnpdTopNStatsTable_CnpdTopNStatsEntry

type CISCONBARPROTOCOLDISCOVERYMIB_CnpdTopNStatsTable_CnpdTopNStatsEntry struct {
	EntityData types.CommonEntityData
	YFilter    yfilter.YFilter
	YListKey   string

	// This attribute is a key. The type is string with range: 1..50. Refers to
	// cisco_nbar_protocol_discovery_mib.CISCONBARPROTOCOLDISCOVERYMIB_CnpdTopNConfigTable_CnpdTopNConfigEntry_CnpdTopNConfigIndex
	CnpdTopNConfigIndex interface{}

	// This attribute is a key. A monotonically increasing integer which  uniquely
	// identifies a cnpdTopNStatsEntry  in the cnpdTopNStatsTable. The type is
	// interface{} with range: 1..500.
	CnpdTopNStatsIndex interface{}

	// Name of the application or protocol,  a unique textual string, assigned in
	// the cnpdSupportedProtocolsTable. The type is string with length: 1..255.
	CnpdTopNStatsProtocolName interface{}

	// The amount of change in the selected statistic during this sampling
	// interval. The selected statistic is the cnpdTopNConfigStatsSelect from the
	// associated cnpdTopNConfigStatsEntry. The type is interface{} with range:
	// 0..4294967295.
	CnpdTopNStatsRate interface{}

	// The amount of change in the selected statistic during this sampling
	// interval. The selected statistic is the cnpdTopNConfigStatsSelect from the
	// associated cnpdTopNConfigStatsEntry.	  This is the 64-bit (High Capacity)
	// version of  cnpdTopNStatsRate. The type is interface{} with range:
	// 0..18446744073709551615.
	CnpdTopNStatsHCRate interface{}
}

CISCONBARPROTOCOLDISCOVERYMIB_CnpdTopNStatsTable_CnpdTopNStatsEntry This entry is used to store a set of objects which describe a cnpdTopNStatsTable. A cnpdTopNStatsTable is a number of protocols and statistics sorted according to the criteria in the associated cnpdTopNConfigEntry.

Therefore a cnpdTopNStatsTable can differ in content and size according to what was configured in the associated cnpdTopNConfigTableEntry.

func (*CISCONBARPROTOCOLDISCOVERYMIB_CnpdTopNStatsTable_CnpdTopNStatsEntry) GetEntityData

type CiscoPdDataType

type CiscoPdDataType string

CiscoPdDataType represents packetcount - unit is packets

const (
	CiscoPdDataType_bitRateIn CiscoPdDataType = "bitRateIn"

	CiscoPdDataType_bitRateOut CiscoPdDataType = "bitRateOut"

	CiscoPdDataType_bitRateSum CiscoPdDataType = "bitRateSum"

	CiscoPdDataType_byteCountIn CiscoPdDataType = "byteCountIn"

	CiscoPdDataType_byteCountOut CiscoPdDataType = "byteCountOut"

	CiscoPdDataType_byteCountSum CiscoPdDataType = "byteCountSum"

	CiscoPdDataType_packetCountIn CiscoPdDataType = "packetCountIn"

	CiscoPdDataType_packetCountOut CiscoPdDataType = "packetCountOut"

	CiscoPdDataType_packetCountSum CiscoPdDataType = "packetCountSum"
)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL