3.2 AddPhone

Use this Knowledge Script to add Avaya IP phones as objects to be monitored. You must add a phone before you can monitor it with the PhoneQuality script. This script raises an event when phones are added or if phones cannot be added.

3.2.1 Resource Object

AvayaCM Station folder

3.2.2 Default Schedule

By default, this script runs once.

3.2.3 Setting Parameter Values

Set the following parameters as needed:

Parameter

How to Set It

General Settings

Job Failure Notification

Event severity when job fails

Set the event severity level, from 1 to 40, to indicate the importance of the failure of the AddPhone job. The default is 5.

Retrieve SNMP configuration data for these phones?

Select Yes to retrieve SNMP configuration data for these phones. This parameter is deselected by default. If you select Yes, you can run the addPhone script without first running the RetrieveConfigData script. If you select this parameter for a call manager that does not support SNMP data collection (indicated by the station folder details which display “no” for the SNMP capability), Avaya ignores the selection. If you do not select Yes, you must run RetreiveConfigData before running AddPhone.

Configuration Settings

List of phone extensions

Provide a list of the extension numbers of the Avaya phones that you want to monitor. You can type one extension, a list of extensions, or a list of extension ranges. Separate multiple extensions with a comma. For example:

20001-20040,30001-30050,40000

NOTE:If you have many extension numbers, you can list the extensions in a separate file and then use the following parameter to access that file.

Full path to file with list of phone extensions

If you have many extensions to monitor, you can type the full path to a file that contains a list of the phone extensions. Each extension or range of extensions in the file should be on a separate line. For example:

20001-20040
30001-30050
40000

Because the file must be accessible from the AppManager agent, the path must be a local directory on the proxy computer or a UNC path.

Important If you type a UNC path, then the netiqmc service must be running as a user that has access to the path.

Event Notification

Raise event if all phones are added successfully?

Select Yes to raise an event if the specified phones are successfully added to the TreeView pane. The default is Yes.

Event severity when phones are added successfully

Set the event severity level, from 1 to 40, to indicate the importance of an event in which the specified phones are added successfully. The default is 25.

Raise event if configuration retrieval succeeds?

Select Yes to raise an event if the Knowledge Script successfully retrieved SNMP configuration information for these phones. The default is unselected.

Event severity when the configuration retrieval succeeds

Set the event severity level, from 1 to 40, to indicate the importance of an event in which the Knowledge Script successfully retrieved SNMP configuration information for these phones. The default is 25.