You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Pierre Villard (Jira)" <ji...@apache.org> on 2022/08/08 12:58:00 UTC

[jira] [Resolved] (NIFI-10305) Incorrect values in C2 Heartbeat for Network, and CPU data

     [ https://issues.apache.org/jira/browse/NIFI-10305?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Pierre Villard resolved NIFI-10305.
-----------------------------------
    Fix Version/s: 1.18.0
       Resolution: Fixed

> Incorrect values in C2 Heartbeat for Network, and CPU data
> ----------------------------------------------------------
>
>                 Key: NIFI-10305
>                 URL: https://issues.apache.org/jira/browse/NIFI-10305
>             Project: Apache NiFi
>          Issue Type: Bug
>          Components: C2, MiNiFi
>         Environment: Windows 10
>            Reporter: Ferenc Erdei
>            Assignee: Ferenc Erdei
>            Priority: Minor
>             Fix For: 1.18.0
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> Some of the agent information fields are incorrect on windows (checked on windows 10 / windows server 2019), these are for example the IP, HOST, DEVICE ID (these are empty) CPU usage (shows negative value) fields.
>  
> The OperatingSystemMXBean.getSystemLoadAverage() returns negative value if the running OS does not support it. -> negative value is misleading so minifi shouldn't return anything in such cases.
>  
> For the ip / host / deviceid info we selected the first item from NetworkInterface.getNetworkInterfaces() even if it the getInetAddresses() returns empty list. -> we should use the first networkInterface which has InetAddress.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)