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

Performance data output for HeapMemoryUsage not in proper format #22

Open
GoogleCodeExporter opened this issue Sep 14, 2015 · 2 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. The command used and output is below.
./check_jmx -U service:jmx:rmi:///jndi/rmi://localhost:8686/jmxrmi -O 
java.lang:type=Memory -A HeapMemoryUsage -K used -I HeapMemoryUsage -J used 
-vvvv -w 731847066 -c 1045495808 -username admin -password adminadmin
JMX OK - HeapMemoryUsage.used=94996088 | 
HeapMemoryUsage.used=94996088,committed=373665792;init=16777216;max=2075918336;u
sed=94996088

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

According to Nagios documentation, 
(http://nagiosplug.sourceforge.net/developer-guidelines.html#AEN201) it should 
be in the format below

'label'=value[UOM];[warn];[crit];[min];[max]

What version of the product are you using? On what operating system?
1.3 on Ubuntu hitting Glassfish 2.2 JVM

Please provide any additional information below.

First, it was a joy to find this project because it actually worked.  I was 
planning to build a pnp4nagios template using the performance data output, but 
I don't think the HeapMemoryUsage values are mapped properly.

Original issue reported on code.google.com by [email protected] on 27 Nov 2012 at 9:07

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