Download presentation
Presentation is loading. Please wait.
Published bySandra Horton Modified over 9 years ago
1
Remote Network Monitoring (RMON) * * Mani Subramanian “Network Management: Principles and practice”, Addison-Wesley, 2000.
2
Outline Basic Concepts o RMON Goals o Control of Remote Monitors o Multiple Managers o Table Management Statistics group History group Host and hostTopN groups Matrix group Alarm group Filter and packet Capture group
3
Basic Concepts Extends the SNMP functionality without changing the protocol Allows the monitoring of remote networks (inter- network management) MAC-layer (layer 2 in OSI) monitoring Defines a Remote MONitoring (RMON) MIB that supplements MIB-II o with MIB-II, the manager can obtain information on individual devices only o with RMON MIB, the manager can obtain information on the LAN as a whole
4
Basic Concepts called network monitors, analyzers or probes A monitor generally can produce summary information on o error statistics, e.g., counts # of collisions on a LAN o Performance statistics: #packets delivered per second, packet size distribution, etc. A monitor also can store packets for later analysis A Monitor may also filter data to limit the # packets counted or captured o filter based on packet type or characteristics (e.g., packets with certain source address, erroneous packets)
5
Basic Concepts A Monitor is required per subnetwork o A monitor could either be a standalone device whose only job is monitoring and traffic analysis o or it could also be a device with other functionalities (e.g., router, server) A monitor usually communicates with one (or more) central MS RMON essentially is a definition of a MIB o Standard monitoring functions and interfaces for communication between SNMP consoles and remote monitors
6
RMON Goals Monitoring subnetwork-wide behavior while reducing the burden on agents and managers o Monitors and analyzes locally and relays data Continuous off-line monitoring in the presence of failures o RMON should collect fault, performance, and configuration information continuously even when it is not being polled save communication cost o This information may be retrieved later by a manager Proactive monitoring o Continuously runs diagnostics and store network performance even in the absence of failures o Upon a failure, notify the manager and provide him with useful info to be able to diagnose the fault
7
RMON Goals Provide value-added data o Perform analysis on collected data, thus relieving the MS from this responsibility Support multiple managers o Multiple managers improves reliability, provides diversity in network management, etc. o A monitor should be configured to deal with more than a manager simultaneously
8
Network with RMONs Bridge Router FDDI backbone Token Ring LAN Router with RMON probe Management console with RMON probe Central Site Local management console with RMON probe PC with RMON probe PC with RMON probe Ethernet
9
Control of RMON- Configuration RMON is configured for data collection: o RMON MIB contains a number of functional groups Each group may contain one or more “control tables” and one or more “data tables” o Control tables (read-write) contain parameters describing data in data tables (read-only) A NMS sets appropriate control parameters to configure RMON to collect the desired data: m The parameters are set by adding a new row to the “control table” or by modifying an existing row m As information is collected, data is stored in rows of the corresponding “data table”
10
Control of RMON- Configuration Functions performed by a monitor are defined and implemented in terms of table rows o Control table may contain objects that specify the “source of data” to be collected, the “type of data”, the “collection timing”, etc. o Associated with a single control row are one ore more rows in one or more data tables To modify a particular data collection function: o it is necessary first to invalidate the control row o this causes the deletion of that row and the deletion of all associated rows in data tables o NMS can create a new control row with the modified parameters NOTE: when a row of a control table is deleted, associated rows in data tables are also deleted.
11
Multiple Managers RMON probe may be subject to management from multiple MSs Potential conflict and unwanted results o Simultaneous requests for resources could exceed the capability of the monitor o Monitor resources could be captured by a MS for a long time, preventing other MSs from accessing desired information o Resources could be assigned to a MS that crashes without releasing resources Avoidance and resolution features are required o Ownership label: identifies the owner of a particular row of the control table and associated function
12
Multiple Managers RMON suggests that ownership label contains one or more of: o IP address, management station name, network manager’s name, location or phone number The ownership label can be used in the following ways o A MS may recognize resources it owns and no longer needs o A network operator can identify the MS that owns a particular resource and negotiate its release o A network operator may have the authority unilaterally to free resources o A MS after experiencing failure or re-initialization can recognize resources it had reserved in the past and free those it no longer needs NOTE: o A row in a control table should only then be altered by its owner and read by other MSs.
13
Multiple Managers Resource sharing to improve efficiency o If a certain management function has been defined by some MS, another MS can share its usage by observing the associated “read-only” data rows (see EntryStatus definition) o However, the MS that owns this control row may modify or delete the row at any time (and hence the associated data rows) Monitor’s default functions o These are monitoring functions owned by the monitor itself o By convention, such ownership labels start with “monitor” o A MS can make use of such resources in a read-only fashion
14
Indicates the status of the row Indicates the owner of a row in control table Table Management The RMON specification includes a set of textual conventions and procedural rules for row addition and deletion Textual conventions: 2 new data types OwnerString ::= DisplayString EntryStatus ::= INTEGER { valid (1), createRequest (2), underCreation (3), invalid (4) }
15
Control Table
16
Data Table
17
Control and Data Table- Example
18
Row Addition and deletion A MS uses SNMP messages to add a row into an RMON table o SetRequest -PDU message will contain a list of object identifiers for all columns in the table When a monitor receives a request o it must check whether there are any restrictions defined in the RMON MIB (object is not currently supported by the MIB) o or any implementation specific restrictions (e.g., lack of resources) If row addition is not possible o GetResponse -PDU with badValue error is returned Multiple managers attempt for row addition o multiple requests to create a row with same parameters, including index parameters conflict o Conflict arbitration is required oOnly the first request is awarded Row Deletion o is achieved by (the owner) setting the status object for that row to “invalid” Row Modification o is achieved by first invalidating the row and then adding the row with new object instance values
19
RMON MIB rmon (mib-2 16) statistics (1) history (2) alarm (3) host (4) hostTopN (5) matrix (6) filter (7) capture (8) event (9) tokenRing (10) Each group is used to store data and statistics derived from data collected by the monitor A monitor may have more than one physical interface and hence may be connected to more than one sub-network 10 groups agent a agent b RMON probe agent c agent e agent d Interface 1 Interface 2 Subnetwork X Subnetwork Y
20
Statistics Group Basic statistics for each monitored subnetwork A “single” table with one entry for each interface Variety of counts for each subnetwork, such as: bytes, packets, errors, frame sizes, etc. Provides useful information about the load on a subnetwork and its health (counts collisions, etc..) agent a agent b RMON probe agent c agent e agent d Interface 1 Interface 2 Subnetwork X Subnetwork Y
21
History Group Sampling function for one or more of the interfaces of the monitor historyControlTable : specifies the interface and details of the sampling function etherHistoryTable : records data historyControlTable defines a set of samples at a particular sampling interval for a particular interface historyControlIndex identifies a row in the control table historyControlDataSource identifies interface or subnetwork that is source of data historyControlBucketsRequested requested # sampling intervals over which data is saved in the data table (default value = 50) historyControlBucketsGranted actual # sampling intervals over which data will be saved historyControlInterval interval in seconds over which data is sampled (default value = 1800 seconds (30 minutes))
22
History Group historyControl- Index historyControl- DataSource historyControl- BucketsGranted historyControl- Interval 1 2 K D1 D2 DKBK B2 B1I1 I2 IK histroyControlTable 1 1 1 1 2 2 2 x+1 x+2 x+3 x+B1 y+1 y+2 y+B2 etherHistoryTable etherHistoryIndex etherHistorySampleIndex
23
History Group etherHistoryTable o etherHistoryIndex : the history of which this entry is part (index) o etherHistorySampleIndex : identifies the particular sample among all samples associated with the same row in control table Table contains also some useful counters o etherStatsOctets : # of received octets of data o etherStatsPkts : # of received packets, etc… Subnetwork utilization: o : medium data rate (bps) o T: sampling interval (seconds) o Pkts = [ etherStatsPkts ] 2 - [ etherStatsPkts ] 1 o Octets = [ etherStatsOctets ] 2 - [ etherStatsOctets ] 1 o = utilization T (1)(2) Pkts (96+64) + (Octets 8) = = T NOTE: 64-bit preamble, and 96-bit IFG
24
History Group For a given subnetwork, historyControlDataSource, more than one sampling process is allowed at different sampling period historyControlInterval oSampling over short period (e.g. 30s) enables the monitor to detect sudden changes in traffic pattern oSampling over long periods (e.g., 30 minutes) enables a monitor to observe the steady state behavior of certain interface After each sampling interval, the monitor adds a new row to the etherHistoryTable with the same etherHistoryIndex When the # rows of a history becomes equal to historyControlBucketsGranted, as each new row is added, the oldest row associated with this history is deleted. “circular buffer”
25
History Group historyControl- Index historyControl- DataSource historyControl- BucketsGranted historyControl- Interval 1 D1D1 B1B1 I1I1 histroyControlTable 1 1 x+1 x+2 2y+1 etherHistoryTable etherHistorySampleIndexetherHistoryIndex 1x+3 A new sample added 2 D2D2 B2B2 I2I2 A new interface or subnetwork 2 2 y+2 y+B 2
26
History Group historyControl- Index historyControl- DataSource historyControl- BucketsGranted historyControl- Interval 1 D1D1 B1B1 I1I1 histroyControlTable 1 1 x+1 x+2 2y+2 etherHistoryTable etherHistorySampleIndexetherHistoryIndex 1x+3 A new sample added 2 D2D2 B2B2 I2I2 A new interface or subnetwork 2 2 y+3 y+B 2 +1 Oldest entry (sample) is deleted
27
host and hostTopN Groups host Group oGather statistics about specific hosts on the LAN ohostInPkts, hostOutPkts, etc.. o By observing s-d MAC addresses in monitored packets, a monitor can discover new attached hosts on the LAN hostTopN Group o To maintain statistics about the set of hosts on one subnetwork that top a list based on some parameter oList of the 10 hosts that transmitted the most data during a particular day oList of nodes ordered according to errors they’ve sent in the last hour
28
Matrix Group Record information about traffic between pairs of hosts on a subnetwork o error and utilization, e.g. traffic amount, number of errors Information is stored in the form of a matrix m so the operator can retrieve information for any pair of network addresses, e.g., to find which devices are making the most use of a server matrixControlTable : o matrixControlIndex integer uniquely identifies a row. o matrixControlDataSource Interfa ce that is source of traffic o matrixControlTableSize # of rows in data table ( matrixSDTable ) associated with this row matrixSDTable : o store statistics on traffic from a source to multiple destinations o matrixSDSourceAddress : MAC address of source o matrixSDDestAddress : MAC address of destination o matrixSDPckts : # packets transmitted from s- to d- o matrixSDOctets : # octets in packets transmitted from s- to d-
29
alarm Group Measuring network performance consists of identifying abnormal conditions by the monitor and issuing alarms accordingly: o e.g., if there are more than 200 CRC errors (the threshold) in any 5-minute period (the sampling interval), an alarm is generated and sent to the central console. Alarm group contains a single table alarmTable, each entry: oa variable to be monitored ( alarmVariable ) oINTEGER, counter, gauge, TimeTicks oA sampling interval ( alarmInterval ) omost recent sampled value ( alarmValue ) oThreshold parameters oalarmRisingThreshold, and alarmFallingThreshold o alarmStartupAlarm oalarm is generated when a row becomes active and 1 st sampled value risingThreshold, or fallingThreshold or both
30
alarm Group Mode of operation: Rising threshold (RT) and Falling threshold (FT) are defined RT is crossed when current sampled value is greater than RT and value of last sampling interval was less than threshold FT is crossed when current sampled value is less than FT and value of last sampling interval was greater than threshold absoluteValue and deltaValue (difference of 2 successive intervals). Counter use deltaValue Fluctuations not counted! Avoid generating excessive alarms Time Sampled Object value Rising threshold Falling threshold
31
filter Group Observing only “selected packets” on a particular interface Data filter oScreen observed packets based on a bit pattern that a portion of the packet matches (or fails to match) Status filter oScreen observed packets based on their status (e.g., valid, CRC errors, etc.) Example: screen those packets on some interface with certain source MAC address! The monitor may capture packets that pass the filter or simply record statistics based on such packets Both filters can be combined to form a complex test to be applied to incoming packets o filter test example: we wish to accept all Ethernet packets with destination address 0xA5 and that do not have a source address of 0xBB! capture Group
32
event Group Supports definition of events (problems, symptoms of problems) oAn event is triggered by a condition located elsewhere in the MIB oE.g., monitoring a variable that crossed a rising threshold would cause an event to be generated Controls the generation and notification of events An event may cause an SNMP trap message to be issued by the monitor eventTable : eventDescritpion: textual description of the event eventType: none(1), log(2), snmp- trap (3) log-and-trap(4) log: an entry is added to the logTable for this event snmp-trap: an SNMP trap is sent to a MS eventCommunity: identifies the communities of MSs to receive the SNMP trap, etc. logTable : logTime: value of sysUpTime when this log entry was created logDescription: description of the event that activated this entry (implementation-dependent) logEventIndex: the event that generated this log entry
33
RMON2 FDDI Backbone Network Remote Token Ring LAN NMS RouterBridge Token Ring Probe Ethernet Probe Local LAN Router with RMON Router Remote FDDI LAN FDDI Probe Enable probes to look beyond LAN segments Analyze traffic passing through the router to determine the ultimate source and destination Monitor application level traffic (e-mails, file transfer, WWW, etc.)
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.