RMON remote network monitoring

1.1 statistics group

After configuring the statistics group, view statistical information

1.1.1 Configuration

1) Enable the group statistics on the interface, the interface to the statistical data

xNet#configure terminal

xNet(config)#interface ge1

xNet(config-if)#rmon collection stats 1

xNet(config-if)#end

XNET #

1.1.2 results

View statistics, and statistics show interface consistency of:

 

 

1.2 alarm event group and the group

When the sampling value of the monitored variables in the same direction repeatedly exceeds the threshold value, will only generate an alarm event for the first time, a few times will not generate an alarm event back, the rising alarm and falling alarm are alternate, there has been a rising alarm, the next time will be for the lower limit alarm.

1.2.1 Configuration

1) with a good set of statistics, statistics for event triggering

xNet#configure terminal

xNet(config)#interface ge1

xNet(config-if)#rmon collection stats 1

xNet(config-if)#exit

xNet(config)#

2) even group configuration, operation of the trigger to transmit trap

xNet(config)#

xNet(config)#rmon event 1 log trap public description test_too_much owner xNet

xNet(config)#rmon event 2 log trap public description test_too_less owner xNet

xNet(config)#end

XNET #

3) Configure alarm group, etherStatsPkts monitoring data, trigger events when etherStatsPkts value reaches a certain threshold, it will send trap

xNet#configure terminal

xNet(config)#rmon alarm 1 etherStatsPkts.1 interval 5 delta rising-threshold 10 event 1 falling-threshold 3 event 2

xNet(config)#end

XNET #

4) arranged trap receivers snmp

xNet#configure terminal

xNet(config)#snmp-server host public 10.204.253.202

xNet(config)#end

XNET #

 

1.2.2 results

1) Start snmptrapd process at the receiving end for receiving trap Trap

snmptrapd profile mysnmptrad.conf

{

authCommunity log,execute,net public

}

2) a distal administrator (10.204.253.202) trap message received

root@xNet-weil:/home/xnet/test# snmptrapd -c mysnmptrad.conf -f -Leo -O a

 

3) When the connection MIB-Browser SNMP, comm verification is unsuccessful or not match, there will be a trap

 

4) When the link up / down will also send trap

 

 

 

1.3 history group

History can set the timing of the sampling statistics and save.

Configuring

xNet#configure terminal

xNet(config-if)#rmon collection history 1 buckets 7 interval 5

xNet(config-if)#end

XNET #

1.3.2 results

History can set the timing of the sampling statistics, the administrator can view this record.

Note: If history is full, the new data will overwrite the oldest sample of a sample data record.

Content for the recently sampled seven statistical data, the following information using the MIB-Browser view:

 

Guess you like

Origin www.cnblogs.com/niezhongle/p/11075334.html