Bug 1433734

Summary: Strange statsd nic metrics
Product: [oVirt] vdsm Reporter: Yaniv Bronhaim <ybronhei>
Component: ServicesAssignee: Yaniv Bronhaim <ybronhei>
Status: CLOSED CURRENTRELEASE QA Contact: Lukas Svaty <lsvaty>
Severity: high Docs Contact:
Priority: unspecified    
Version: 4.20.0CC: bugs, lsvaty, mperina, stirabos, ybronhei, ykaul
Target Milestone: ovirt-4.1.3Flags: rule-engine: ovirt-4.1+
Target Release: 4.19.16   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-07-06 13:09:24 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Infra RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Yaniv Bronhaim 2017-03-19 15:19:29 UTC
Description of problem:
In fluentd we receive strange nic metrics format to statsd plugin:
nic_183
nic_182

The actual nics' names are enp4s0f1.183 and enp4s0f1.182
So looks like vdsm ignores the string before the dot

Expected result should be 

hosts.nic.VLAN183.tx
hosts.nic.VLAN183.tx_dropped

hosts.nic.enp4s0f1_182.tx
hosts.nic.enp4s0f1_182.tx_dropped

dots in nic or volume name should be dropped or changed to underscore

Version-Release number of selected component (if applicable):
4.20

How reproducible:
always

Comment 4 Lukas Svaty 2017-06-05 16:56:31 UTC
verified in ovirt-engine-metrics-1.0.3-1.el7ev.noarch

"_source": {
    "collectd": {
      "interface": {
        "if_errors": {
          "rx": null,
          "tx": null
        }
      },
      "plugin": "interface",
      "interval": 10,
      "type": "if_errors",
      "type_instance": "",
      "dstypes": "derive",
      "plugin_instance": "eth0.test"
    },