The SolutionPack supports some metrics that are not part of the installation. This sample procedure shows you the steps to follow when adding these new metrics to the Stream collector.

This sample procedure adds new metrics to the counter names VS.AttCellUpdt.RLFail, VS.FailCellUpdt.RLFail.NoReply and VS.SuccCellUpdt.RLFail, which are in counter group ID 67109382 . These metrics are listed in the SolutionPack for Huawei iManager M2000 Counter Prerequisites spreadsheet.

Procedure

  1. Back up the original collector and parser files. For example: huawei-collecting-name.xml to huawei-collecting-name.xml.bak and huawei-parsing.xml to huawei-parsing.xml.bak.
  2. Search for the counter name VSAttCellUpdtRLFail (without '.' ) in huawei-collecting-name.xml.
  3. If found in huawei-collecting-name.xml, uncomment the following lines:
    <values required="false"context-key=VS.AttCellUpdt.RLFail;">
    <name>VSAttCellUpdtRLFail</name>
    <unit>Nb</unit>
    </values>
  4. If not found in huawei-collecting-name.xml, do the following:
    1. Check the contents of the counter group ID 67109382. For example: cat pmresult_67109382_30_201302201600_201302201630.csv
      Result Time,Granularity Period,Object Name,Reliability,"VS.AttCellUpdt.RLFail","VS.FailCellUpdt.RLFail.NoReply","VS.SuccCellUpdt.RLFail"
      ,Minutes,,,none,none,none
      2013-02-20 16:00,30,"RNC/BSC6900UCell:Label=PO230A1, CellID=32301",Reliable,0,0,0
      2013-02-20 16:00,30,"RNC/BSC6900UCell:Label=PO430B2, CellID=32305",Reliable,0,0,0
      2013-02-20 16:00,30,"RNC/BSC6900UCell:Label=PO430B1, CellID=32302",Reliable,0,0,0
      2013-02-20 16:00,30,"RNC/BSC6900UCell:Label=PO230A2, CellID=32304",Reliable,0,0,0
      
    2. Match one of the above object name patterns with an object name in this table. The Stream collector extracts required performance management data from the object name. The object type is the logical grouping of the counter group IDs.
      Table 1. Object name examples
      PM file name example Object name example Object type
      pmresult_67109379_*.csv RNC/BSC6900UCell:Label=PO230A1 obj1
      pmresult_67109377_*.csv
      pmresult_67109381_*.csv
      pmresult_67109471_*.csv
      pmresult_67109391_*.csv
      pmresult_67109365_*.csv
      pmresult_67109367_*.csv
      pmresult_67109368_*.csv
      pmresult_67109369_*.csv
      pmresult_67109372_*.csv
      pmresult_67109373_*.csv
      pmresult_67109376_*.csv
      pmresult_67109385_*.csv
      pmresult_67109390_*.csv
      pmresult_67109420_*.csv RNC/BSC6900UMTSFunction:RNC obj2
      pmresult_67109421_*.csv
      pmresult_67109446_*.csv
      pmresult_67109473_*.csv
      pmresult_67109519_*.csv RNC/CNOPERATOR:CNNAME=0, CNINDEX=0 obj3
      pmresult_67109516_*.csv "RNC/DPU:SRN=0, SN=9, BT=DPUB"

      AND

      "BSC/DPU:Slot No.=11, Subrack No=0, Subsystem No.=0"

      obj4
      pmresult_50331652_*.csv RM190/NodeB:RM190/MocID:2/Operator:-1 obj5
      pmresult_1275069419_*.csv BSC/GCELL:LABEL=RML190A, CellIndex=0, CGI=42601006F076D obj6
      pmresult_1275072526_*.csv
      pmresult_1275072528_*.csv
      pmresult_1275072525_*.csv
      pmresult_1275072527_*.csv
      pmresult_1275071435_*.csv
      pmresult_1275072618_*.csv
      mresult_1275071427_*.csv
      pmresult_1275071429_*.csv
      pmresult_1275072018_*.csv BSC/BSCRPT:BSC
    3. Since the object name pattern RNC/BSC6900UCell:Label=PO230A1 matches one that is of obj1 type, search for <hardcoded-properties key="hwobjid">obj1</hardcoded-properties>
    4. Add these values to the metrics:
      <values required="false" context-key=VS.AttCellUpdt.RLFail >
      <name> VSAttCellUpdtRLFail </name>
      <unit>Nb</unit>
      </values>
      <values required="false" context-key=VS.FailCellUpdt.RLFail.NoReply >
      <name>VSFailCellUpdtRLFailNoReply</name>
      <unit>Nb</unit>
      </values>
      <values required="false" context-key=VS.SuccCellUpdt.RLFail >
      <name>VSSuccCellUpdtRLFail</name>
      <unit>Nb</unit>
      </values>
      
    5. Save huawei-collecting-name.xml.
      In this example, the performance data is formatted by the counter name. If data is formatted by the counter ID or the counter description, you must add the metric information to huawei-collecting-id.xml or huawei-collecting-desc.xml, respectively, instead of huawei-collecting-name.xml.
  5. Append this directory file-pattern to the huawei-parsing.xml file:
    <directory file-pattern="pmresult_67109379_*.csv|pmresult_67109377_*.csv|pmresult_ 67109382 *.csv" recursive="true">data/</directory>
  6. Save huawei-parsing.xml.
  7. Restart the Stream collector.