Configuring the HuaweiU2000Imanager collector
To use data from the HuaweiU2000Imanager collector in a network discovery, you must configure the connection details between the EMS and Network Manager.
Procedure
- Edit the collector configuration file:$NCHOME/precision/collectors/perlCollectors/HuaweiU2000iManagerTL1/HuaweiU2000iManagerTL1Collector.cfg
- Edit the
Generalsection of the configuration file. Configure the following properties:- Debug
- The collector debug mode. Set the property to
0to turn off debug. Set the property to1to turn debug on. The collector prints debug to the display (stdout). - Listen
The port that the collector listens on for XML-RPC requests from Network Manager.
This port is also used by the collector to provide XML-RPC responses to Network Manager. By default the port is
8081. The port must match the port you have configured in the insert into the collectorFinder.collectorRules table in the DiscoCollectorFinderSeeds.cfg file when seeding the collector for a first discovery.- Timeout
- Timeout for the communication from the collector to Network Manager. The timeout is measured in seconds. The default value is 15 seconds.
The following example shows the default values of these properties:
General => { Debug => 0, Listen => 8081, Timeout => 15 }, - Edit the
DataSourcesection of the configuration file. Specify the hostname and port of the EMS, and the username and password to connect to the EMS, as shown in the following example:DataSource => { Host => 192.168.1.2, Port => 8080 Username => 'oss', Password => 'myPa55w0rd' GetEntities => 1 DataAcquisition => { StoreONTs => 1, } … … ,Set GetEntities to 1 if you want to collect entity information from the collector.
Set StoreONTs to 1 if you want to retrieve Optical Network Termination (ONT) data.
-
You can optionally configure details about the originating EMS by adding a
SourceInfosubsection to theDataSourcesection of the configuration file. If you configure this EMS information , then data from these fields will be used by Network Manager to model the EMS.To configure details about the EMS, set values for the fields shown in the following code snippet:SourceInfo => { Id => 1, Descr => 'Primary Data Source', # EmsHost => '', # EmsName => '', # EmsVersion => '', # EmsIdentifier => '', # EmsRole => '', # EmsStatus => '', }, - Save the collector configuration file.