守望的麦子

Log Reader

2012-11-26    广州    /ericsson/2012/11/26/log-reader.html ericsson innovation, projects,

As an Engineer in ERICSSON, I created some Innovation Tools, and up to Jun. 2016, these innovation program saved 716,857.12 SEK cost for company. I enjoy so much while I am trying to build things. for some more works information, please visit https://wheat.at/ericsson

1/23/2013 [Log Reader] v1.1 was released.

1/17/2013 [Log Reader] v1.0 was released.

1/10/2013 Changed the Name to [Log Reader]

11/23/2012 [MGW Log Reader] beta version has been released.

The Reason & Background of this software:

While we are doing MGW Monthly HC in RS project, most of time we just need to focus on the value we needed, but the log we get is always nearly 3M with 40000 lines per Node…The MGW Log Reader can help me to filter the value I needed out and create a new file named with Node Name… the output file will just be about 300KB with 3500 lines.

All the parameters were open as a dict sequence in pattern.txt file, so we can modify the pattern.txt to make it work on MSC HLR BSC log too!

pattern.txt format: [more parameters are being implanting...download and check the pattern.txt for the latest one]

1 {'start':'get GigaBitEthernet primaryLink','end':'Total:','patterns':0,'nextstep':40,'intro':'Half of ET-IPG boards are defined in value 0, another half of ET-IPG boards are defined in value 1.'}

before:

 1 FCGM3> get MgwApplication
 2 
 3 121116-08:59:19 10.184.81.43 9.0d MGW_NODE_MODEL_B_15_228 stopfile=/tmp/7970
 4 =================================================================================================================
 5 6484                                 MgwApplication=1
 6 =================================================================================================================
 7 MgwApplicationId                     1
 8 amrWbHigherThresholdAlarm            true
 9 amrWbLowerThresholdAlarm             true
10 availabilityStatus                   0 (NO_STATUS)
11 bearerReleaseTimer                   5
12 dscpMarking                          46
13 explicitCongestionNotification       0 (ECN_PASSIVE)
14 featureStateDtmfSuppression          0 (DEACTIVATED)
15 g729HigherThresholdAlarm             true
16 g729LowerThresholdAlarm              true
17 gmpVersion                           GMP V3.0
18 ipbcpT1Timer                         5
19 licenseStateAoIp                     0 (DISABLED)
20 licenseStateClearChannelData         0 (DISABLED)
21 licenseStateCompressSpeechOnNb       1 (ENABLED)
22 licenseStateDtmfSuppression          0 (DISABLED)
23 licenseStateFixedLevelControl        0 (DISABLED)
24 licenseStateGcpOverSctp              0 (DISABLED)
25 licenseStateIuOverIp                 0 (DISABLED)
26 licenseStateNetworkProbe             0 (DISABLED)
27 licenseStateTfo                      0 (DISABLED)
28 licenseStateVoIpGw                   0 (DISABLED)
29 marketReference                      0 (ITU)
30 maxBandwidthForIpTransport           0
31 maxNrOfLicMediaStreamChannels        23459
32 maxNrOfLicMediaStreamChannelsVoip    0
33 mbacCongestionDscpMode               0 (CONGDSCP_OFF)
34 mbacCongestionDscpValue              47
35 mbacLicensingStatus                  1 (ENABLED)
36 mbacLostPacketsCalculationMode       0 (LOSTPACK_OFF)
37 mbacMeasurementInterval              2
38 mbacMode                             0 (MBAC_OFF)
39 mbacThreshold                        3 (PACKET_LOSS_1E4)
40 mbacWeightingFactor                  75
41 mccLicensingStatus                   0 (DISABLED)
42 nrLicensingStatus                    0 (DISABLED)
43 nrOfIpNetworkRemoteSites             140
44 operationalState                     1 (ENABLED)
45 rtcpBearerSupervisionTimerAoIp       0
46 rtcpBearerSupervisionTimerNb         0
47 rtcpBearerSupervisionTimerVoip       15
48 rtcpOnNbActive                       false
49 sacHigherThresholdAlarm              true
50 sacLowerThresholdAlarm               true
51 sacMode                              0 (SAC_OFF)
52 sccHigherThresholdAlarm              true
53 sccLowerThresholdAlarm               true
54 speechActivityFactor                 60
55 tfoIpeMode                           0 (TFO_IPE_OFF)
56 userLabel                            
57 voipHigherThresholdAlarm             true
58 voipLowerThresholdAlarm              true
59 =================================================================================================================
60 Total: 1 MOs

After:

1 FCGM3> get MgwApplication 检查说明: licenseStateAoIp should be 1
2 
3 licenseStateAoIp                     0 (DISABLED)
4 Total: 1 MOs

Intro&Download(Internal Link):

https://ericoll.internal.ericsson.com/sites/…/DispForm.aspx?ID=252

关于作者
麦子,80 后,现从事通信行业。安卓玩家一个人的书房朗读者。
MRJENGLISH
jsntn
jasonwtien
jasonwtien
更多…… /about.html

最近更新: