11-12-2012 07:25 AM
Dear All,
we have configured LMS to send emails when Interface Utilization is higher than 40% (default Threshold).
The mails look like this:
EVENT ID = 00012QS
TIME = Wed 07-Nov-2012 03:03:54 CET
STATUS = Active
SEVERITY = Critical
MANAGED OBJECT = h-a45-c1.nlfb.bgr.de
MANAGED OBJECT TYPE = Switches and Hubs
EVENT DESCRIPTION = HighUtilization::Component=PORT-h-a45-c1.nlfb.bgr.de/8.7 [->cisco WS-C3560G-48TS] [H-F133-b311-C118-gi0/52];ComponentClass=Port;ComponentEventCode=1057;TrafficRate=5.0246484E7 BYPS;DuplexMode=FULLDUPLEX;UtilizationThreshold=40;MaxSpeed=1000000000;Ty
CUSTOMER IDENTIFICATION = notifivation_group_01
CUSTOMER REVISION = 01
NOTIFICATION ORIGINATOR = Fault Management Module
But now I have a problem with the calculation of the TrafficRate:
TrafficRate=5.02464...E7 = 5.024 x 10 exp 7 = 50.240.000 bit/sec??? but 50Mbit/s are only 5% utilization on 1GBit Interface...
If someone can help with this calculation?
best regards
Werner
Solved! Go to Solution.
11-14-2012 07:35 AM
there is one mistake in your calculation, on duplex interfaces the TrafficRate is the sum of ifInOctets and ifOutOctets (on half-duplex it is the max value). In both cases the value is given as octects, - to get bps you need to multiply with 8. To convert to Mbps you have to divide by 1000 000, thus you get
TrafficRate=5,0246484E7 (sum of ifInOctets and ifOutOctets)
in bps it is :
5.0246484 *10E7 *8 = 401971872
convert to Mbps:
401971872 / 1000 000 = 401,971872
all together:
5.0246484 *10E7 *8 /1000 000 = 401,971872
401 Mbps is 40,1% of 1Gbps (= 1000 Mbps)
thus, the event is correct.
11-14-2012 07:35 AM
there is one mistake in your calculation, on duplex interfaces the TrafficRate is the sum of ifInOctets and ifOutOctets (on half-duplex it is the max value). In both cases the value is given as octects, - to get bps you need to multiply with 8. To convert to Mbps you have to divide by 1000 000, thus you get
TrafficRate=5,0246484E7 (sum of ifInOctets and ifOutOctets)
in bps it is :
5.0246484 *10E7 *8 = 401971872
convert to Mbps:
401971872 / 1000 000 = 401,971872
all together:
5.0246484 *10E7 *8 /1000 000 = 401,971872
401 Mbps is 40,1% of 1Gbps (= 1000 Mbps)
thus, the event is correct.
11-14-2012 08:08 AM
Thanks for your help, Martin!
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide