o.g.p.usagestatistics.UsageStatsNodePeriodical - NullPointerException: Null platformName #1737
Comments
We're using os-platform-finder to determine the platform Graylog is running on. Could you please provide the contents of your |
Looking at os-platform-finder it actually uses
Since Arch is a rolling distro, it doesn't have a version |
Looks like a new fad in Linux Land… |
Yes, |
I agree that the plugin shouldn't crash with a Unfortunately the |
Please re-read #1737 (comment) I didn't post
|
@SjonHortensius Would you mind downloading the latest version of the plugin from https://repo.maven.apache.org/maven2/org/graylog/plugins/usage-statistics/1.2.2/usage-statistics-1.2.2.jar and check, if this resolves your problem on Arch Linux? Just replace the old plugin JAR file in the plugin directory of Graylog with the new version. |
@joschi I've tried that and it didn't work. I did find a machine with the same OS where version 1.2.1 works fine however. I didn't find the difference between the two installs, they use the same packages/os yet one results in:
The other one outputs:
Both these machines do not have an |
@SjonHortensius First, these systems are using different kernels at least, so maybe other packages are different as well. Second, does the error you've posted initially still appear?
|
@joschi; I'll investigate the difference between those two machines further; if I find anything else I'll let you know. The NullPointer no longer occurs, can I verify it's reporting the correct OS? |
@SjonHortensius You can verify the data collected by the Anonymous Statistics plugin via the following HTTP resource in the Graylog REST API: |
seems to work fine |
How does Graylog determine the platformName on a Linux machine? I could add a file if checks that. This machine has a
/etc/os-release
that describes the distrThe text was updated successfully, but these errors were encountered: