Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
RMON1 is a MIB
o Also known as RMON
Textbook LAN
Statistics Group
Group
Statistics
group
(mib2.16.1)
Description
Consists of the etherStatsTable.
There is one table entry (row) for eachEthernet
subnetwork to which the RMON1 device is
connected.
Eachrow consists of valuesof column objects for a
subnetwork.
The column objects are counter objects. An
example column object is the counter
etherStatsPkts that is the number of ethernet
packets received sincethe RMON1 device was first
started.
There are 21 column objects in the table.
Overall
Function
Counts packets with
characteristics
defi ned byobjects in
the etherStatsTable.
The packet count is
for all framesread
regardless of device.
statistics
History Group
Group
History
group
(mib2.16.2)
Description
Consists of two tables: the historyControlTable
and the etherHistoryTable.
The management appli cation uses the
historyControlTable to specif y for example the
subnetwork interface that wil l be monitored, the
sampling interval andhow many sampli ng
intervals.
The etherHistoryTable has 15column objects. Each
of these objects is sampled in the sampli ng interval.
A row in the etherHistoryTable consists of the
values of the column objects for one sampling
interval. Thus, for each interface, there are as many
rows in the etherHistoryTable as sampling intervals
Function
Develops a history
of each
etherHistoryTable
object. Does this by
counting packets for
each object over a
number of defined
sampling intervals
Alarm Group
Alarm
group
(mib2.16.3)
Identifies selected
object valuesthat
become greater or
less than thresholds
during the sampli ng
interval.
Host Group
Hostgroup
(mib2.16.4)
Records MAC
Address and
statistics for packets
received or
transmitted for each
host detected on the
subnet
HostTopN Group
HostTopN
group
(mib2.16.5)
Determinesthe most
active N hosts
during every
sampling interval for
a specifi ed variable
such as "i n-packets."
Matrix Group
Matrix
group
(mib2.16.6)
Filter Group
Filtergroup
(mib2.16.7)
Defi nesthe
characteristics of
readpackets that
should be processed
by the probe.Such
characteristics
determine a channel
Capture Group
Capture
group
(mib2.16.8)
Event Group
Event
group
(mib2.16.9)
Statistics Group
Simplest
RMON1 group
Counts all
packets
detected
Increment
counts
Chapter 8 Remote Monitoring (RMON1)
etherStatsOwner
etherStatsStatus
Description
An integer that formall y identif ies the device
interface from which the data is to be processed.
Has the same value as if Index in the ifTable in
mib-2 for this device
A string that identifi es the creator of the table
row that is associated with
etherStatsDataSource
Is either the agent with the name monitor or a
Management Station name and IP address
An integer that specifi es the status of the row.
Its valuescanbe either vali d (1),
createRequest (2) underCreation (3) or
invali d (4).
The row creator uses a SetRequest to set the
value of this object to createRequest (2)
The agent then sets the value to
underCreation(3) until the creator is finished
The creator must then set the value to vali d(1)
for the row objects to begin to coll ect data.
MeterWare
Summary
view
Probe
2 info
RMON1 on Probe 2
Object values
Click Statistics
etherStatsStatus = valid
etherStatsDataSource = ifIndex.1
etherStatsIndex = 1
o First row in table
View
Add
Modify
Delete
Help
History Group
A
History Group
MIB
browser view
historyControlTable
Column
objects
historyControlTable
historyControlTable
Object
historyControlIndex
historyControlDataSource
Row1
1
if Index.1
Row2
2
if Index.1
historyControlInterval
30 sec
historyControlBuckets
Requested
historyControlBuckets
Granted
120
120
120
120
historyControlStatus
vali d(1)
vali d(1)
1800 sec
Description
Index object for the rows
Interface to subnet 192.192.192.240
Has the value of ifIndex. in the
mib-2 ifTable
There are two Sampli ng interval
lengths. One for short term history
and onefor long term history
Number of sampli ng intervals
requested
Number of sampli ng intervals
granted. Determineshow long the
sampling will be doneand thus how
much probememory is granted.
Granted buckets canbe less than
requested buckets
An integer that specifi es the status of
the row.
Its valuescanbe either vali d (1),
createRequest (2)
underCreation (3) or
invali d (4).
The row creator uses a SetRequest to
set the value of this object to
createRequest (2)
The agent then sets the value to
underCreation(3) until the creator is
finished
The creator then sets the value to
valid(1)
etherHistoryTable
Recall,
etherHistoryTable and
historyControlTable
Object
etherHistoryIndex
etherHistorySampleIndex
etherHistoryIntervalStart
etherHistoryDropEvents
Description
IdentifiesetherHistoryTablerowswitharowinthe
historyControlTable.
etherHistoryIndex=historyControlIndex
ItisanIndexobjectfortheetherHistoryTable
etherHistoryIndexandetherHistorySampleIndextaken
togetheridentifythebucketstoassociatewitharowinthe
historyControlTable
ItisanIndexobjectfortheetherHistoryTable
ThevalueofsysUpTimeobjectintheSystemsgroupatthe
startofthesampleinterval.
Thenumberoftimesitwasdetectedthatthemonitor
droppedapacketduetolackofresources
Host Group
Statistics per host
Note statistics and history groups do not
relate their stats to hosts
4 tables: hostControlTable, hostTable,
hostTimeTable, hostControl2Table (RMON2)
hostControlTable
hostCotrolTableSize
o Number of hosts detected so far
hostControlLastDeleteTime
o Last reset time
hostControlTable
Object
hostControlIndex
hostControlDataSource
hostControlTableSize
hostControlL astDeleteTime
hostControlOwner
hostControlStatus
Description
An integer that identifi esa row in
hostControlTable and the probe interface to
the subnet
An integer that identifi es the probe
interface to the subnet. It is equal to the
value of ifIndex in the ifTable in mib-2.
The number of rows (hosts) in the
hostTable detected on
hostControlDataSource.
The value of sysUpTime at which an entry
in the hostTable was deleted
Agent doesdeletion if monitor resources
become scarce.
Information is neededby hostTi meTable
The creator of the hostControlTable row
As we have se
en in other control tables, the
status must be set to vali d(1) in order for
the probeto collect data for the hostTable
hostTable
Object
host Address
hostCreationOrder
hostIndex
Description
The MAC address of the host
An integer between 1 and
hostControlTableSize specif ying the order
in time in which the host was detected on
the interface. The small er the integer, the
earli er the host wasdetected
All hosts detected on the same interface
havethe same integer value, i.e.
hostIndex= hostControlIndex
Index
hostTimeTable
Object
hostTimeAddress
hostTimeCreationOrder
hostTimeIndex
Description
The MAC address of the host
An integer between 1 andhostControlTableSize
specifying the order in time in which the host was
identif ied on the interface. The small er the integer, the
earli er the host was detected
Index object for the hostTimeTable
All hosts detected on the same interface have the same
value.
Index object for the hostTimeTable
hostTimeIndex =hostIndex = hostControlIndex
hostTable Example
HostTopN Group
Rate of change of hostTable info
Sorta like History for specific Host
For each row of hostTopNControlTable
hostTopNControlTable
Object
hostTopNControlIndex
hostTopNHostIndex
hostTopNRateBase
hostTopNTimeRemaining
hostTopNDuration
hostTopNReques
tedSize
hostTopNGrantedSize
hostTopNStartTime
hostTopNOwne
r
hostTopNStatus
Description
An integer that identifi esa row in the
hostTopNControlTable
Eachrow in that table defi nes the data that will be
reported for N-hosts on one interface
An integer that refers to the interface on which the Nhosts are obse
rved. It is the same for eachof the
N-hosts
hostTopNHostIndex= hostControlIndex
An integer that specifi esone of the 7variables in the
hostTable to count in the sampli ng interval to
determine the hostTopNRateBase (packets/second in
the hostTopNTable)
Choices are:
q
hostTopNInPkts(1)
q
hostTopNOutPkts(2)
q
hostTopNInOctets (3)
q
hostTopNOutOctets(4)
q
hostTopNOutErrors (5)
q
hostTopNOutBroadc
astPkts (6)
q
hostTopNOutMulticastPkts (7)
Number of second
s remainingin thesamplinginterval
Thesamplinginterval in seconds
The nu
mber of hosts, N, requ
estedto includein the
repor
t
The nu
mber of hosts granted
sysUpTimewhenthis report sampling was started.
Monitor or Manag
ement Stationthat createstherow in
thehostTopNControlTable
Anintegerthatspecifiesthestatusofthecontroltable
row.
Itsvaluescanbeeithervalid(1),
createRequest(2)underCreation(3)or
invalid(4).
TherowcreatorusesaSetRequesttosetthevalueof
thisobjecttocreateRequest(2)
TheagentthensetsthevaluetounderCreation(3)until
thecreatorisfinished
Thecreatorthensetsthevaluetovalid(1)
hostTopNControlTable
Index
hostTopNTable
Object
hostTopNReport
hostTopNIndex
hostTopNAddress
hostTopNRate
Note
Description
An integer that identifi es the report
hostTopNReport = hostTopNControlIndex
An integer that identifi es the data from onehost
includedin the hostTopNReport
The MAC address associated with the host identified
by hostTopNIndex
The amount of changein the hostTopNRateBase in
packets/second during the sampli ng interval.
HostTopN in MeterWare
Distribution
of top 5 hosts
Based on in-packets rate
Addresses of
hosts with
largest number
of in-packets
HostTopN Addresses
This
is not the
same as view on
previous slide
hostTopNAddress
1.3.6.1.2.1.16.5.2.1.3
hostTo pNReport
1915
hostTo pNIndex
1
Va lue
00 40 05 44 A7 DC
Matrix Group
Host-to-host
statistics
Like a 2-d
version of
Host
matrixControlTable
o Same objects as hostControlTable
matrixDSTable is B to A
matrixSD
DestAddress
(3)
B
C
D
C
D
D
matrixSD
Index
(1)
matrixSD
Pkts
matrixSD
Octets
matrixSD
Errors
matrixDS
Pkts
matrixDS
Octets
matrixDS
Errors
matrixDSTable
matrixDS
Source Address
(3)
B
C
D
C
D
D
matrixDS
DestAddress
(2)
A
A
A
B
B
C
matrixDS
Index
(1)
Matrix in MeterWare
Filter Group
Capture Group
Capture
group objects
Capture Group
bufferControlTable
Object
bufferControlIndex
bufferControlChannelIndex
bufferControlFull Status
bufferControlFull Action
bufferControlCaptureSliceSize
bufferControlDownloadSliceSize
bufferControlDownloadOff set
bufferControlMaxOctetsRequested
bufferControlMaxOctetsGranted
bufferControlCapturedPackets
bufferControlTurnOnTime
bufferControlOwner
bufferControlStatus
Description
The integer that identif ies arow in the
bufferControlTable.
There is onebuffer for each defined channel.
A channel is definedby the filter(s) that are
appli ed to determine which packets are
captured in the buffer.
An integer that identifi es the channel that is
supplying the buff er with packets
A Status value of (1) means spaceis avail able
in the buffer.
If the value is (2), the buffer is full .
A value of (1) means the buffer is locked
when full andwill accept no further packets.
A value of (2) means the buffer will wrap and
discard old packets to make room for new.
Maximum number of octets in eachpacket
that will be captured in the buffer
Maximum number of octets in the buff er that
will be downloadedto the management station
in a single SNMP GetResponse
The off set, in octets, of the first octet that will
be retrievedin a single SNMP GetResponse.
The size of buffers, in octets, requested bythe
management station
Number of buff er octets granted by the probe
agent
Number of packets currently in the buffer
The value of sysUpTime (System Group
object) when this buffer was first turned on
The creator of the buff er (seeControl Table)
Anintegerthatspecifiesthestatusoftherow.
Itsvaluescanbeeithervalid(1),
createRequest(2)underCreation(3)or
invalid(4).
TherowcreatorusesaSetRequesttosetthe
valueofthisobjecttocreateRequest(2)
Theagentthensetsthevalueto
underCreation(3)untilthecreatorisfinished
Thecreatorthensetsthevaluetovalid(1)
Capture Group
captureBufferTable
Object
captureBufferControlIndex
captureBufferIndex
captureBufferPacketID
captureBufferPacketData
captureBufferPacketLength
captureBufferPacketTime
captureBufferPacketStatus
Description
An integer that identifies the buffer that holds this
packet. It has the same value as the
bufferControlIndex that identifies the buffer
The integer that uniquely identifies this packet
The integer that identifies the order in which packets
were received on the interface regardless of the buffer
in which stored.
The actual packet data
The actual length of the packet in octets
The number of milliseconds from the time the buffer
was turned on until this packet was captured
A number that represents the number of errors
detected in the packet. See RFC 1271 for details about
how this number is calculated.
Capture Group
Status
Channel1
Buffer1
Filter2
Channel2
Buffer2
Filter3
Channel3
Buffer3
Filter1
Packets
Edit
NMS
Channels
Probe
2 channels
Channel editor
o To set values in
bufferControlTable
Channels
Run button
o Start capturing
Filter tab
o Make filters
Buffer tab
o Show captured
packets, protocols,
Analyze tab
o More specific
filtering/analysis
Filter Group
By
But
Filter Group
Filter
group objects
Filter Group
Object
filterIndex
filterChannelIndex
filterPktDataOffset
filterPktData
filterTable
objects
filterPktDataMask
filterPktDataNotMask
filterPktStatus
filterPktStatusMask
filterPktStatusNotMask
filterOwner
filterStatus
Description
An integer that identifies a row in the table. Each row
defines a data filter and a status filter. Together these
form the filter for a channel
An integer that identifies the channel that uses the filter.
Offset, in octets, from the beginning of the MAC
destination address to where the filter will begin to be
applied for the case of an Ethernet frame
The data specified in the data filter that the input packet
must match.
The mask that determines which packet bits to be
matched are relevant for processing. Only if a bit in the
filterPktDataMask is 1 is the packet bit relevant for
processing
For relevant bits in the packet to pass the
filterPktDataNotMask test, for each bit in this mask that
is 1, the relevant packet bit must differ from the bit in the
filterPktData. Likewise, for each bit in the
filterPktDataNotMask that is 0, the packet bits and the
filterPktData bits must differ
Errors found in the relevant bits of the input packet are
mapped to an integer sum. The value of this sum is
compared to the filterPktStatus. (see RFC2819 for how
the sum is calculated)
Bits in this mask determine which packet input bits are
relevant for the filterPktStatus test
For the relevant bits in the input packet to pass the
filterPktStatusNotMask test, for each bit in this mask that
is 1, the bits in the integer sum must all differ from the
bits in the filterPktStatus. Likewise, for each bit in the
filterPktStatusNotMask that is 0, the sum bits and the
filterPktStatus bits must differ. (see RFC 2819 for how
the sum is calculated)
The entity that configured this table. It could be the probe
agent or the Management Station.
Anintegerthatspecifiesthestatusoftherow.
Itsvaluescanbeeithervalid(1),
createRequest(2)underCreation(3)or
invalid(4).
TherowcreatorusesaSetRequesttosetthevalueof
thisobjecttocreateRequest(2)
TheagentthensetsthevaluetounderCreation(3)
untilthecreatorisfinished
Thecreatorthensetsthevaluetovalid(1)
Filter Group
channelTable
objects
Object
channelIndex
channelIfindex
channelAcceptType
channelDataControl
channelTurnOnEventIndex
channelTurnOffEventIndex
channelEventIndex
channelEventStatus
channelMatches
channelDescription
channelOwner
channelStatus
Description
An integer that identifies one row in the table. A row corresponds to a
channel.
An integer that identifies the interface through which the monitor is
receiving packets. The value of channelIfindex is the same as the value of
ifIndex for this interface in the mib-2 ifTable.
The value of this object determines how the filters for the channel are to
function. There are two possible integer values: acceptMatched (1) and
acceptFailed (2). If the value is set to 1, the packet must pass both the data
and status filters associated with the channel to be accepted by the channel.
If the value is set to (2), the packet will be accepted by the channel only if it
fails either the data or status filters associated with the channel.
There are two possible integer values: on (1) and off(2). The channel must
be "on" for data, status and events to "flow through" the channel.
An integer that identifies the event in the Event group that will turn the
channelDataControl from off to on when the event occurs.
channelTurnOnEventIndex has the same value as the eventIndex object in
the Event Group (to be discussed) that identifies the same event. In other
words, if the event associated with eventIndex occurs, channelDataControl is
turned on and the channel passes filtered packets
An integer that identifies the event in the Event group that will turn the
channelDataControl from on to off when the event occurs.
channelTurnOffEventIndex has the same value as the eventIndex object
in the Event Group that identifies the same event. In other words, if the event
associated with eventIndex occurs, channelDataControl is turned off and the
channel passes no further packets.
An integer that identifies the event that is generated when the
channelDataControl is on and the packet is matched. channelEventIndex
has the same value as eventIndex in the Event Group.
There are 3 possible integer values for this object: eventReady (1),
eventFired (2) and eventAlwaysReady (3).If the value is 1, a single event
may be generated and then the probe will set the value to 2. No further
events may be generated until this object is reset to 1. If the value of the
object is 3, events may continue to be generated.
The number of times a packet matches this channel. The number of matches
continues to be updated even if channelDataControl is set to off.
Comments about the channel
The entity that configured the channel such as a Management Station
Anintegerthatspecifiesthestatusoftherow.
Itsvaluescanbeeithervalid(1),
createRequest(2)underCreation(3)or
invalid(4).
TherowcreatorusesaSetRequesttosetthevalueofthisobjectto
createRequest(2)
TheagentthensetsthevaluetounderCreation(3)untilthecreatoris
finished
Thecreatorthensetsthevaluetovalid(1)
Channel Information
All objects here are in
channelTable
Owner
channelOwner
Channel Information
channelDataControl
channel
channel
Channel Information
channelEventIndex
Options are
eventReady(1)
eventFired(2)
eventAlwaysReady(3)
channelEventStatus
Filter Example
Filter Example
Captured/Filtered Packets
Contents of Frame
Detailed
view of packet
o Similar to Ethereal
Chapter 8 Remote Monitoring (RMON1)
o UDP packets
o Length 00 fe
Click apply
o Next slide
Analyze Screen
Alarm Group
alarmTable
Threshold compared
Used
alarmTable
Objects
Object
alarmIndex
alarmInterval
alarmVariable
alarmSampleType
Description
An integer that identifies a row in the table
The time interval over which the variable is sampled
The object identifier of the variable to be sampled
There are two types:
absoluteValue (1) - value of object is compared directl y with the threshold.
deltaValue (2)- diff erence between values of object after current sample and last
sample is compared to the threshold.
alarmValue
alarmStartupAlarm
alarmRisingThreshold
alarmFall ingThreshold
alarmRisingEventIndex
alarmFall ingEventIndex
alarmOwner
alarmStatus
The value of the object sampled at the end of the last sampling
period.
There are three types:
risingAlarm(1) - is generated if the first sample after the row
becomes "vali d" equals or exceedsthe alarmRisingThreshold.
falli ngAlarm(2) - is generated if the fir st sample after the row
becomes "vali d" is less than or equal to the alarmFalli ngThreshold
risingOrFallingAlarm(3) - is generated if either the risingAlarm or
the falli ngAlarm are violated.
The rising threshold is exceeded bythe variable
The falli ng threshold is greater than the variable
The value of this object is employed when the alarmRisingThreshold
is crossed
This value is the same asan eventIndex object in the eventTable.
Thus, the alarmRisingEventIndex will trigger an event in the
eventTable.
The value of this object is employed when the
alarmFall ingThreshold is crossed
This value is the same asan eventIndex object in the eventTable.
Thus the alarmFalli ngEventIndex will trigger an event in the
eventTable
Monitor or Management Station that created a row in the alarmTable
Anintegerthatspecifiesthestatusoftherow.
Itsvaluescanbeeithervalid(1),
createRequest(2)underCreation(3)or
invalid(4).
TherowcreatorusesaSetRequesttosetthevalueofthisobjectto
createRequest(2)
TheagentthensetsthevaluetounderCreation(3)untilthecreatoris
finished
Thecreatorthensetsthevaluetovalid(1)
Event Group
Two tables
o eventTable and
logTable
Specify event
triggered by
Alarm group
o Events can also
be triggered
from elsewhere
eventCommunity
eventLastTimeSent
eventOwner
eventStatus
logEventIndex
logIndex
logTime
logDescription
Description
An integer that identifi esa row in the eventTable
Text description of the event defi nedby this row
There are 4 types:
none(1) - no event has been de
fi ned
log (2) - an entry is madein the corresponding row of
the logTable
snmp-trap (3) - a trap is sent to one or more
management stations
log-and-trap (4) - entry is madeand trap is sent
the community string that is to be entered in the trap
message. Must be the same as what is confi guredfor
the trap recipient
the value of the sysUpTime object in the mib-2 system
group whenthe event defined by eventIndex was last
triggered.
Monitor or Management Station that created this row
in the eventTable
Must be "valid (1)" for event to betriggerable
Has same value as eventIndex for the event that
triggered the log entry
An integer that identifi es this entry among other
entriesof the same eventType, i.e. none, log, trap or
log-and-trap
The value of sysUpTime in the mib-2 system group
when this entry was generated
A description of the event that causedthis entry in the
logTable.
Event Example
In channelTable
channelTurnOffEventIndex
Chapter 8 Summary
Examined