Skip to content
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

JavaMelody reports OS as Linux unknown #439

Closed
GoogleCodeExporter opened this issue Jun 21, 2015 · 4 comments
Closed

JavaMelody reports OS as Linux unknown #439

GoogleCodeExporter opened this issue Jun 21, 2015 · 4 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. Run JIRA or Confluence on CentOS
2. Browse to JavaMelody and expand "System Information" -> Details
3. See what OS JavaMelody reports

What is the expected output? What do you see instead?

I expect to see something like:

Linux 2.6.18-371.12.1.el5 amd64/64 (4 cores)

or:

CentOS release 5.10 (Final) (x86_64)

JavaMelody is actually displaying:  "Linux unknown, amd64/64 (4 cores)"


What version of the product are you using? On what application server, JDK, 
operating system?

JavaMelody v1.52.0 (also affects 1.53 snapshot)
Application server: Apache Tomcat/7.0.55 (also 7.0.52).
JDK:  1.8.0_20-b26 (also 1.7.0_60-b19)
Operating System: Linux 2.6.18-371.12.1.el5  (also Linux 2.6.18-194.26.1.el5)



Please provide any additional information below.


Original issue reported on code.google.com by msymo...@gmail.com on 28 Sep 2014 at 3:27

@GoogleCodeExporter
Copy link
Author

"Linux unknown, amd64/64" are the java system properties "os.name 
sun.os.patch.level, os.arch/sun.arch.data.model"

You are right, I should add "os.version" and remove "sun.os.patch.level" on 
Linux.
This would give something like:
- "Linux, 2.6.32-358.23.2.el6.x86_64, amd64/64" on Linux
- "Windows 7, Service Pack 1, x86/32" on Windows

Original comment by evernat@free.fr on 28 Sep 2014 at 4:35

@GoogleCodeExporter
Copy link
Author

It's done in trunk as said above (revision 3927) and ready for the next release 
(1.53).

Thanks!

Original comment by evernat@free.fr on 28 Sep 2014 at 4:37

  • Changed state: Fixed

@GoogleCodeExporter
Copy link
Author

[deleted comment]

@GoogleCodeExporter
Copy link
Author

Everything look great.

Tested with JavaMelody 1.53.0-SNAPSHOT (build #304 from Sept 28th 2014) on 
Confluence

Original comment by msymo...@gmail.com on 30 Sep 2014 at 1:44

Attachments:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant