Vous êtes sur la page 1sur 18

AMOS

Advanced Managed Object Scripting (Basics)


What is AMOS?
Amos is a text based Operation and
Maintenance (O&M) client providing access to
various services including:
Alarm Service
Configuration Service
Notification Service
Log Service
File Transfer
Command Line
Naming Conventions
RDN-Relative Distinguished Name:
Identifies MO in relation to its nearest parent in the MO tree. E.g
ExternalGsmCell=IB31936
LDN- Local Distinguished Name:
Identifies MO uniquely within a network element. E.g
ManagedElement=1,ENodeBFunction=1,EUtranCellFDD=LIB00271

FDN- Full Distinguished Name:


Identifies MO uniquely within a network. E.g

SubNetwork=ONRM_ROOT_MO_R,SubNetwork=WaridLTE,MeContext=IEIB0027,Man
agedElement=1,ENodeBFunction=1,EUtranCellFDD=LIB00271,GeranFreqGroupRelat
ion=1,GeranCellRelation=LIB00271-IB30231
Search and Print Mos
Use lpr/pr command:
Lpr/pr [<MOGroup>|<MOFilter>]
Prints MO LDNs for all or part of MO tree currently
loaded in AMOS. MOFilter is a string used to search for
the pattern in MO tree. Regular expressions can be used
in MoFilter. If command starts with l then search string
will match for LDNs in MO Tree. If it does not start with
l then pattern will match against RDN. E.g
lpr EutrancellFDD=LLH1373 gets MOs whose LDN contains Eutrancell
=LLH1373.
pr EutrancellFDD=LLH1373 gets MOs whose RDN contains Eutrancell
=LLH1373.
Regular Expressions (meta
characters)
Regular expressions example
More examples
Alarms
Al:
prints an overview of alarms. Use al | grep Crit to
display all critical alarms
Ala:
prints active alarms with detailed description .
Alt:
prints alarms chronologically.
Alk:
to check if alarms have been acknowleged.
Help
Use h command to search for help :
h <command>
Viewing MOM descriptions
Momt:
to view the whole MO tree. Also to view all parents and children of specified
MO class. e.g
momt gerancellrelation
Similarly momc command is used to view children/grandchildren of MO
class.

MOM:
to view description of MO class/attribute. e.g
mom . pusch lists all MOs/attributes related to pusch along with
descriptions similar to the one found in ALEX library.
Cont
Reading attributes
Get:
To read CM/FM attributes from MO. E.g
get eutrancellfdd=LLH13742 qrxlevmin gives the value of
qrxlevemin for the cell LH13742 in the MO eutrancellfdd.

get externalgerancell.*LH1004 (ncc|bcc) returns the values


of ncc and bcc in the externalgerancell MO for the 2G cell
LH1004.

Kget:
Similar to get command but displays attributes in exportable
format.
Performance Management
Pmom:
Displays descriptions of pm counters. E.g
Pget
Reads pm attributes from MO. E.g
Pmx
Displays counter values extracted from
statistics ROP (report output period). Format:
pmx[hfdn] [<mofilter>|<mogroup>] [<counter-filter>] [-l <PMfiles-
directory>] [-m <minushours>] [-p <plushours>] [-s startdate>[.<starttime>]]
[-e <enddate>[.<endtime>]] [-a|-d|-h] [| <unix-command>]

E.g:
Pmr
Produces KPI reports based on counter values
in ROP files and formulas in CPI documents.
Format :
pmr[ag] [-r <report(s)>] [-l <PMfiles-directory>] [-i <iubCellModule-file>] [-
f<formulafile>] [-c <configfile>] [-m <minushours>] [-p <plushours>] [-
s<startdate>[.<starttime>]] [-e <enddate>[.<endtime>]] [-o
<outputFormat>]
Thats all folks
AZ

Vous aimerez peut-être aussi