Page 2 of 2

Re: Nagios Monitoring for JMX/JVM.

Posted: Wed Jun 03, 2015 9:43 am
by haile711
Hey tgriep,
Yeah, I have edited the jolokia-access.xml and repacked with <remote> tag remove to allow all access. I'm still getting "UNKNOWN - Error: 404 Error while fetching http://<hostname>:8080/jolokia/ :

404 Not Found". I can issue the same check command on the local server and it would give me a return "OK - Heap-Memory: 17.50% used (218.71 MB / 1.22 GB) | [MEMORY_HEAP_USED]=229332880B;;:1048576000;0;1310720000".. Thanks for helping btw!!

Re: Nagios Monitoring for JMX/JVM.

Posted: Wed Jun 03, 2015 9:57 am
by tgriep
Could be an firewall blocking access to the server.
Try running this on the XI server to see if the firewall is open.

Code: Select all

nmap -p 8080 <IP address of your server>

Re: Nagios Monitoring for JMX/JVM.

Posted: Thu Jun 04, 2015 10:14 am
by haile711
hey tgriep,
I have ran the nmap and I got the following output "8080/tcp open http-proxy". I have edit the jolokia-access.xml to allow the nagios server, and also repack and redeployed the jolokia.war agent already. Thxs again!!

Re: Nagios Monitoring for JMX/JVM.

Posted: Thu Jun 04, 2015 1:13 pm
by tgriep
Can you login to the JMX server and check the log files for any errors?

Re: Nagios Monitoring for JMX/JVM.

Posted: Mon Jun 08, 2015 7:48 am
by haile711
Hey tgriep,
I am using a different plugin now, check_jmx, but for this I had to configured jboss to have jmx.remote enable. Thanks for helping out!! much appreciated.
P.S. If anyone got a monitoring plugin for CPU and Garbage Collection, please let me know. I'm trying to set this up now. Thanks again.

Re: Nagios Monitoring for JMX/JVM.

Posted: Mon Jun 08, 2015 9:52 am
by tgriep
Your welcome. Is it alright if we close this post then?

Re: Nagios Monitoring for JMX/JVM.

Posted: Mon Jun 08, 2015 12:33 pm
by haile711
yea tgriep you can closed it. Thanks