-
Notifications
You must be signed in to change notification settings - Fork 92
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Interface - bytes recd/sent not accurate #191
Comments
This may be able to be fixed with a 64bit version but I am not sure - we will have to check out psutil and verify that this will work... or find a workaround. |
Tested this on the 64 bit version of python and 32 bit version and still seem to have the same type of issue. I am asking the psutil dev to see if it's a problem with how the data is retrieved from windows. |
Asked about this issue with psutil which is by I set it to pending request: |
I've updated the psutil bug since it looks like I see why the problem is occurring. Looking into a solution to this, hopefully we will see Giampaolo look into it too. |
Another update on this. The issue has been fixed although we are working on whether or not we need to adjust it for Win XP. |
This will be fixed in 2.0.0 the build server for windows versions of NCPA already has the fixes for psutil in it and the latest builds work. |
Using agent 1.8.1
The API address /interface/Ethernet/bytes_recv (and bytes_sent) does not appear to accurately pull data when the amount the value has changes is >4Gb on the server. I'm assuming this is a 32bit variable.
For example, get-netadapterstatistics (powershell) shows 42,215,651,613 bytes received, but the API returns 4,168,549,886 (there is about 10 seconds difference in when these numbers were read).
Is there a workaround?
The text was updated successfully, but these errors were encountered: