Professional Documents
Culture Documents
PROTOCOL DESCRIPTION
Company Confidential
Petri Aalto
10.11.2011
0.6-0
Petri Aalto
0.6-0
Draft
Approved By
Johannes Peukalo
Draft
10.11.2011
0.6-0
Draft
TABLE OF CONTENTS
1. INTRODUCTION................................................................................................................................................4
1.1 PURPOSE OF THE DOCUMENT........................................................................................................................................4
1.2 TERMS, ABBREVIATIONS AND DEFINITIONS.....................................................................................................................4
2. PROCEDURE DESCRIPTION...........................................................................................................................5
2.1 OPENING THE CONNECTION.........................................................................................................................................5
2.1.1 SUCCESSFUL OPERATION.............................................................................................................................................5
2.1.2 UNSUCCESSFUL OPERATION.........................................................................................................................................5
2.2 SETTING NETWORK ELEMENT (SETNET)........................................................................................................................6
2.2.1 UNSUCCESSFUL OPERATION.........................................................................................................................................6
2.3 DELETING NETWORK ELEMENT (DELNET)....................................................................................................................6
2.3.1 SUCCESSFUL OPERATION.............................................................................................................................................6
2.3.2 UNSUCCESSFUL OPERATION.........................................................................................................................................6
2.4 GETTING NETWORK ELEMENTS (GETNET)....................................................................................................................7
2.4.1 UNSUCCESSFUL OPERATION.........................................................................................................................................7
2.5 SETTING OUTPUT FILES (SETOUTPUT)...........................................................................................................................7
2.5.1 UNSUCCESSFUL OPERATION.........................................................................................................................................9
2.6 GETTING OUTPUT FILES (GETOUTPUT).........................................................................................................................9
2.6.1 UNSUCCESSFUL OPERATION.........................................................................................................................................9
2.7 SETTING CONDITION (SETCOND)................................................................................................................................10
2.7.1 UNSUCCESSFUL OPERATION.......................................................................................................................................10
2.8 DELETING CONDITION (DELCOND).............................................................................................................................10
2.8.1 SUCCESSFUL OPERATION...........................................................................................................................................10
2.8.2 UNSUCCESSFUL OPERATION, IF ITEM HAS NOT BEEN FOUND............................................................................................10
2.9 GETTING CONDITION (GETCOND)..............................................................................................................................11
2.9.1 UNSUCCESSFUL OPERATION.......................................................................................................................................11
2.10 GETTING UNITS (GETUNITS)...................................................................................................................................12
2.10.1 UNSUCCESSFUL OPERATION.....................................................................................................................................12
2.11 CLOSING UNITS (CLOSEUNITS)................................................................................................................................12
2.11.1 UNSUCCESSFUL OPERATION.....................................................................................................................................12
2.12 SETTING CONDITIONS TO UNIT (SETMON).................................................................................................................13
2.12.1 SUCCESSFUL OPERATION.........................................................................................................................................13
2.12.2 UNSUCCESSFUL OPERATION.....................................................................................................................................13
2.13 REMOVING CONDITIONS (DELMON).........................................................................................................................13
2.13.1 SUCCESSFUL OPERATION.........................................................................................................................................13
2.13.2 UNSUCCESSFUL OPERATION.....................................................................................................................................13
2.14 GETTING MONITORING CONDITIONS (GETMON)........................................................................................................14
2.14.1 SUCCESSFUL OPERATION.........................................................................................................................................14
2.14.2 UNSUCCESSFUL OPERATION.....................................................................................................................................14
2.15 SETTING LOG-FETCHING CONDITIONS (SETLOG)........................................................................................................15
2.15.1 SUCCESSFUL OPERATION.........................................................................................................................................15
2.15.2 UNSUCCESSFUL OPERATION.....................................................................................................................................15
2.16 GETTING LOG-FETCHING CONDITIONS (GETLOG)......................................................................................................15
2.16.1 SUCCESSFUL OPERATION.........................................................................................................................................16
2.16.2 UNSUCCESSFUL OPERATION.....................................................................................................................................16
2.17 STARTING MONITORING (STARTMON)......................................................................................................................16
10.11.2011
0.6-0
Draft
10.11.2011
1.
INTRODUCTION
1.1
0.6-0
Draft
Telnet
RFC854
2.
10.11.2011
0.6-0
Draft
PROCEDURE DESCRIPTION
A telnet connection is created between the client and MegaMon to control the monitoring
session.
Client
MegaMon
1: Request
2: Reply
2.1
2.1.1
Successful operation
2.1.2
Unsuccessful operation
10.11.2011
0.6-0
Draft
2.2.1
IpAddress
===========
10.10.10.10
Port
====
8019
Unsuccessful operation
*** <error code> - <error reason>
2.3
2.3.1
Successful operation
The RNC1 has been deleted.
2.3.2
Unsuccessful operation
*** <error code> - <error reason>
DataPort
========
8020
10.11.2011
0.6-0
Draft
2.4.1
IpAddress
===========
10.10.10.10
10.10.10.20
Port
====
8019
8019
DataPort Status
=======
=====
8020
Opened
8020
-
Unsuccessful operation
*** <error code> - <error reason>
2.5
Directory=dir;
ASCII = {YES|NO}
ASCII-Normal text format output, don't use this format if the load is high i.e coming
volume is more than 1000 Msg/s, NO is default.
RINGBUFFER = {YES|NO}
NO is default.
TimeBased=<num in minutes>;
The megamon creates a new directory when this time has been gone by.
SizeLimit=<count>*<size in MB>;
0*0 = not in used. If the ringbuffer mode is not selected then the ring buffer count is
ignored and only the size limitation is used to use.
RemoveSize=<num as in GB>;
10.11.2011
0.6-0
Draft
The megamon removes files from <Directory> when the hard disk size is below
<RemoveItems>. 0 = not in used.
RemoveAge=<Age as in an hours>;
The megamon removes files from <Directory> when the files are older than
<RemoveAge>. 0 = not in used.
ExtraOutput= <MsgNbr>{&<MsgNbr>*2}
<Msgnbr> = 0 not in used
Example printout:
10.11.2011
0.6-0
Draft
SetOutput:Directory=\"c:\\megis\",ASCII=NO,RingBuffer=NO,TimeBased=
10,SizeLimit=0*0;
SetOutput:RemoveSize=0,RemoveAge=176,WriteMsg=YES,FilenameFormat=\
"%N_%U_%L_%B_%y%m%d_%H%M%S\",ExtraOutput=1&2&3;
2.5.1
Unsuccessful operation
*** <error code> - <error reason>
2.6
Example printout:
Output settings
===============
Directory
=
ASCII
=
RingBuffer
=
SizeLimit
=
TimeBased
=
RemoveAge
=
RemoveSize
=
WriteMsg
=
FilenameFormat =
2.6.1
c:\megis
NO
NO
Not in used.
10 minutes
Files older than 176 hours are deleted.
Not in used.
YES.
"%N_%U_%L_%B_%y%m%d_%H%M%S"
RNC_ICSU-0_4450_1B_090206_144246.mga
Unsuccessful operation
*** <error code> - <error reason>
10.11.2011
0.6-0
Draft
2.7.1
Conditions
=========
SR:(OFAM=4FD,507,508,509,4FB)AND(NOT(NUM=0001,
0002,8037,8038,0D5BA,0A340,0A339,0D9DA,0D5B8,0A
B2B))
Unsuccessful operation
*** <error code> - <error reason>
2.8
2.8.1
Successful operation
Condition TeleCom has been deleted.
2.8.2
10.11.2011
0.6-0
Draft
2.9.1
Conditions
=========
SR:(OFAM=4FD,507,508,509,4FB)AND (NOT(NUM=0001,
0002,8037,8038,0D5BA,0A340,0A339,0D9DA,0D5B8,0A
B2B))
SR:OFAM>0
Unsuccessful operation
*** <error code> - <error reason>
10.11.2011
0.6-0
Draft
2.10.1
Unit
====
OMU-0
State
====
WO-EX
OMU-1
SP-EX
IpAddress
========
L:EL0:10.10.10.20
P:EL0:10.10.10.21
P:EL0:10.10.10.22
Unsuccessful operation
The megamon replies as an error code, in an unsuccessful case.
2.11
2.11.1
Unsuccessful operation
The megamon replies as an error code, in an unsuccessful case.
10.11.2011
0.6-0
Draft
IpAddress
===========
10.10.10.20
Condition
=========
Telecom
ViaCntrlUnit
============
No
Status
=======
Ok
Successful operation
2.12.2
Unsuccessful operation
*** <error code> - <error reason>
2.13
IpAddress
===========
10.10.10.20
Condition
=========
Telecom
ViaCntrlUnit
============
No
SetMon:Unit=ICSU,State=WO-EX,Cond=Telcom;
2.13.1
Successful operation
2.13.2
Unsuccessful operation
*** <error code> - <error reason>
Status
=======
Removed
2.14
10.11.2011
0.6-0
IpAddress
===========
10.10.10.20
10.10.10.30
2.14.1
Successful operation
2.14.2
Unsuccessful operation
Condition
=========
Telecom
Telecom
ViaCntrlUnit
============
No
No
Status
=======
Ok
Opened
Draft
10.11.2011
0.6-0
Draft
Log Condition
=============
F-0xA0
2.15.1
Successful operation
2.15.2
Unsuccessful operation
*** <error code> - <error reason>
2.16
Log Condition(s)
================
F-0xA0
Successful operation
2.16.2
Unsuccessful operation
10.11.2011
0.6-0
Draft
2.17
2.17.1
Successful operation
2.17.2
Unsuccessful operation
2.18
2.18.1
Successful operation
2.18.2
Unsuccessful operation
2.19
Successful operation
2.19.2
Unsuccessful operation
2.20
10.11.2011
0.6-0
Draft
The client requests the Megamon to start computer log-monitoring with set conditions by
sending StartLog-command. Its not allowed to send this message, if the StartLogcommand has been sent already!
StartLog;
2.20.1
Successful operation
2.20.2
Unsuccessful operation
2.21
2.21.1
Successful operation
2.21.2
Unsuccessful operation
2.22
=
=
=
=
=
c:\Megis
RINGBUFFER
10 minutes, last change 14:10 21-Oct-2008
68753 KB/s (Written 123 MB)
0 KB/s (Written 0 MB)
Successful operation
2.22.2
Unsuccessful operation
10.11.2011
0.6-0
Draft
10.11.2011
0.6-0
Draft
Example:
StartIf:Name=Emil,Port=60001;
2.23.1
Unsuccessful operation
*** <error code> - <error reason>
2.24
2.24.1
Unsuccessful operation
*** <error code> - <error reason>
10.11.2011
Logging (Logging)
Opens and Closes logging-file.
Command syntax:
Logging:Type={IF|INT},Action={Open|Close};
Type
Action
:== {Open|Close}
Example:
// Opens interface logging-file
Logging:Type=IF,Action=Open;
2.25.1
Unsuccessful operation
*** <error code> - <error reason>
0.6-0
Draft
10.11.2011
0.6-0
Draft
VERSION HISTORY
Date
Issue
Author
Main changes
21.10.2008
0.1-0
Petri Aalto
Initial version
03.02.2009
0.2-0
Petri Aalto
09.02.2009
0.3-0
Petri Aalto
28.02.2009
0.4-0
Petri Aalto
02.03.2009
0.5-0
Petri Aalto
06.03.2009
0.6-0
Petri Aalto