Closed rohan1202 closed 6 years ago
@rohan1202 what version of java (jstat) are you using?
also looks like you specified -p
without actually giving the process id, is that a copy/paste error?
We just merged and release a bunch of changes, can you please use the latest and confirm this does not fix your issue?
closing due to inactivity.
I am facing issues with sensu-plugins-java. I have installed plugin in our server and I need to use check-java-heap-pcnt.rb to monitor the heap size in our server, but it is not showing proper output when I try to run the check locally. Here's how I tried to run the check locally:
# ./check-java-heap-pcnt.rb -n java -w 70 -c 85 -j /usr/java/defaults/bin/ -p
Here's the output it generated:Maybe I am not using the correct syntax pattern. Please guide me as i need to monitor the jvm heap size for my production server.