Avaya Logo

Previous Topic

Next Topic

Book Contents

Book Index

dalarm command

The dalarm command administers dial out alarming. This command allows users to change and display the administrable parameter values in the dial out alarming configuration file.

Synopsis

dalarm change

[productid=productid] [trace=y|n] [dialout=y|n]

 

[maxtemp=Celsius] [track=y|n]

 

[port=ttya|ttyb]

 

[id1=ivr_id number1=phone_number speed1=modem_speed [charsize1=7|8] [parity1=odd|even|none][dialstring1="dial_string"]]

 

[id2=ivr_id number2=phone_number speed2=modem_speed [charsize2=7|8] [parity2=odd|even|none][dialstring2="dial_string"] ]

 

[id3=ivr_id number3=phone_number speed3=modem_speed [charsize3=7|8] [parity3=odd|even|none][dialstring3="dial_string"] ]

 

 

dalarm display

 

Description

The dalarm change command changes the administrable parameter values in the alerterData.cfg file and creates a backup file, alerterData.cfg.bak. If the configuration file does not exist, or any parameter value failed the field validation, the dalarm change command exits with an error message and a usage statement.

The dalarm display command displays the administrable parameters in the alerterData.cfg file. If the configuration file does not exist, the dalarm display command exits with an error message.

After the successful updating of the configuration file, the dalarm change command activates the configuration file change.

The dalarm configuration file contains the following administrable parameters:

Parameter

Description

isTraceOn

Indicate whether the trace is turned on or off

isDialOutOn

Indicate whether the dial out alarming is on or off

maxAllowedTemp

Maximum allowable temperature in degrees Celsius

trackMinorAlarms

Indicate whether the E_MINOR alarms are tracked

productID

INADS product ID

usingPort

Port used for dial out

dol1.id

Dial out location 1 Avaya IR server ID

dol1.no

Dial out location 1 phone number

dol1.baud

Dial out location 1 baud rate for making the serial connection

dol1.charSize

Number of bits in a character

dol1.parity

The parity

dol1.dialString

The send/response string for communicating with location 1(INADS by default)

dol2.id

Dial out location 2 Avaya IR server ID

dol2.no

Dial out location 2 phone number

dol2.baud

Dial out location 2 baud rate for making the serial connection

dol2.charSize

The number of bits in a character

dol2.parity

The parity

dol2.dialString

The send/response string for communicating with location 2 (pager by default)

dol3.id

Dial out location 3 Avaya IR server ID

dol3.no

Dial out location 3 phone number

dol3.baud

Dial out location 3 baud rate for making the serial connection

dol3.dialString

The send/response string for communicating with location 3

dol3.charSize

The number of bits in a character

dol3.parity

The parity

You can use the dalarm change command to administer the parameters. The following table lists the possible values for each parameter:

Configuration file parameter name

Command-line argument

Default value

Possible values

Configuration file values

isTraceOn

trace

n

n/y

no/yes

isDialOutOn

dialout

n

n/y

no/yes

maxAllowedTemp

maxtemp

40

valid degree in Celsius

valid degree in Celsius

trackMinorAlarms

track

n

n/y

no/yes

productID

productid

4000000000

a 10-digit number

a 10-digit number

usingPort

port

port1

ttya, ttyb

ttya, ttyb

dol1.id

location1

no default

Avaya IR server ID

Avaya IR server ID

dol1.no

number1

no default

phone number

phone number

dol1.baud

speed1

9600

valid modem speed

valid modem speed

dol1.charSize

charsize1

7

7, 8

7, 8

dol1.parity

parity1

odd

none, even, odd

none, even, odd

dol1.dialString

dialstring1

\datz\n\r OK\r atdt\T\n\r CONNECT\s \d\d\I so\s2

valid send/response string

valid send/response string

dol2.id

location2

no default

Avaya IR server ID

Avaya IR server ID

dol2.no

number2

no default

phone number

phone number

dol2.baud

speed2

9600

valid modem speed

valid modem speed

dol2.charSize

charsize2

7

7, 8

7, 8

dol2.parity

parity2

odd

none, even, odd

none, even, odd

dol2.dialString

dialstring2

\dATZ\n\r OK\r ATDT\T;\r OK\r \d\d\d\d\d\dATDT\i#;\r OK\r

valid send/response string

valid send/response string

dol3.id

location3

no default

Avaya IR server ID

Avaya IR server ID

dol3.no

number3

no default

phone number

phone number

dol3.baud

speed3

19200

valid modem speed

valid modem speed

dol3.charSize

charsize3

8

7, 8

7, 8

dol3.parity

parity3

none

none, even, odd

none, even, odd

dol3.dialString

dialstring3

\dASG:ALARM:\i:\T:\I\r

valid send/response string

valid send/response string

Files

The dial-out alarming configuration file is named alerterData.cfg and resides in the /vs/spool/log directory. It contains the dial-out status, E_MINOR alarms tracking status, dial-out port used, and information of up to three dial-out locations for the Alerter process. It is delivered with the Logger/Alerter package (PRISMLOG).

See also

© 2006 Avaya Inc. All Rights Reserved.