Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to pull MST logs from CM & save the file to provide it to Avaya

Status
Not open for further replies.

annku88

Technical User
Dec 26, 2011
1
IN

Hi All,

Can someone Suggest me how to pull MST logs from CM so that it can be used by Avaya for analyzing it.

Thanks,
A
 
I'd think Avaya would do it or tell you how. An MST can be configured many different ways that they'd generally want to do as well.
 
mst messages are stored in /var/log/ecs/2017-09xx.log files
There are 1000 201x-xxxx.log files that are each 1MB. mst messages
are but a small part of these files.

With the trace analyzer turned on, you can decode and store
into files on the server.

Below - 2017 August 25 00:01 to 2017 Sept 01 12:00 will be decoded.
from Linux command line:

(Read)
sudo logc -t 20170825:0001-20170901:1200 --view mta | less

(Redirect output to file)
sudo logc -t 20170825:0001-20170901:1200 --view mta > /var/home/ftp/pub/mst_trace_4th_week_august.txt

(Read)
vi /var/home/ftp/pub/mst_trace_4th_week_august.txt

cd /var/home/ftp/pub;tar cvfz trace.tar.gz mst_trace_4th_week_august.txt

The new file trace.tar.gz is compressed to about 9% size of the txt file which makes it smaller to copy off the server.
tar xBfz trace.tar.gz will decompress and unzip back to original txt


A great teacher, does not provide answers, but methods to teach others "How and where to find the answers"

bsh

40 years Bell, AT&T, Lucent, Avaya
Tier 3 for 30 years and counting
[URL unfurl="true"]http://bshtele.com[/url]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top