Ferenc Erdei created NIFI-10305:
-----------------------------------

             Summary: 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


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)

Reply via email to