Use this Knowledge Script to create an inventory of IP phones based on data in the Call Server Entity MIB. The inventory is in .CSV format. This script raises an event if no IP phones are found.
For CS1000 versions 4.0 and later, populate the Entity MIB with IP phone information. For more information, see Section 4.6.5, Configuring the Call Server to Count IP Phones.
NortelCS Call Server
By default, this script runs once.
Set the following parameters as needed:
Parameter |
How to Set It |
---|---|
Event Notification |
|
Raise event if NortelCS_PhoneInventory succeeds? |
Select Yes to raise an event if the PhoneInventory job succeeds in creating an inventory. The default is Yes. |
Event severity if NortelCS_PhoneInventory succeeds |
Set the severity level, from 1 to 40, to indicate the importance of an event in which the PhoneInventory job succeeds in creating an inventory. The default is 30. |
Raise event if NortelCS_PhoneInventory fails? |
Select Yes to raise an event if the PhoneInventory job fails for any reason. The default is Yes. |
Event severity if NortelCS_PhoneInventory fails |
Set the severity level, between 1 and 40, to indicate the importance of an event in which the PhoneInventory job fails. The default is 15. |
Raise event if no IP phones are found? |
Select Yes to raise an event if no IP phones are found in the Entity MIB. The default is Yes. |
Event severity if no IP phones are found |
Set the severity level, between 1 and 40, to indicate the importance of an event in which the Entity MIB contains no IP phones. The default is 15. |
Report directory’s pathname |
Specify the full local or UNC path to the root of the directory in which you want to save the phone inventory report, which will be titled NortelCS_PhoneInventory_<IP address of Call Server>.csv. Ensure the NetIQmc service (NetIQ AppManager Client Resource Monitor) is configured to run as a user that has access to the UNC path. The default setting of “local system” does not have access to the UNC path. Without access to the path, AppManager cannot save the inventory to the output folder. Leave this field blank to save the inventory report to the default location: c:\Program Files\NetIQ\temp |
The PhoneInventory Knowledge Script job uses SNMP to query the Entity MIB on the Call Server and counts the number of IP telephones in the Entity MIB. However, for this process to work, you must issue two or three commands in Overlay 117:
Tell the Call Server to generate the inventory report once every midnight
Tell the Call Server to include the IP telephones from the inventory report in the Entity MIB
Optional: Tell the Call Server to generate the inventory report immediately
NOTE:Do not issue the following commands if you are using CS1000 version 3.0. The following instructions apply only for versions 4.0 and later.
Issue the commands before running Discovery_NortelCS. If you run discovery before issuing the commands, AppManager raises an event indicating phone counting was unsuccessful because AppManager expects to find at least one phone.
Issue the following commands in Overlay 117:
INV MIDNIGHT SETS INV ENTITY SETS ON
These two commands generate an inventory report at midnight and add the phones from the inventory report to the Entity MIB. Once the phones are added to the MIB, rerun Discovery_NortelCS.
If you do not want to wait until midnight to generate the inventory report and add the phones to the Entity MIB, issue a third Overlay 117 command:
INV GENERATE SETS
NOTE:The inventory report can take hours to complete, based on the number of phones, which is why it normally runs at midnight. Because the task that generates the inventory report on the CS1000 runs at a low priority, it should not interfere with call processing.