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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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