Hello team,
I am able to monitor other JAVA parameters of weblogic server like heap size, Garbage collector and threadcount.
We are unable to monitor Hogging threads count, standby count, Queue count & Executing threads count.
I am using the below link,
https://github.com/ppresto/org.ctl.jmx. ... ry/scripts
./check_jmx -U service:jmx:rmi:///jndi/rmi://host.example.com:17703/jmxrmi -O com.bea:ServerRuntime=qcquotinge2e1,Name=ThreadPoolRuntime,Type=ThreadPoolRuntime -A ExecuteThreadTotalCount -w 100 -c 200
how or where can i find com.bea:ServerRuntime=?
/usr/local/nagios/libexec/check_jmx -U service:jmx:rmi:///jndi/rmi://$IP:$port/jmxrmi -O com.bea:ServerRuntime=ap_prd_domain,Name=ThreadPoolRuntime,Type=ThreadPoolRuntime -A ExecuteThreadTotalCount -w 100 -c 200
I am not sure about this value ap_prd_domain, this is domain name of weblogic server.
Please help.
Thx.
monitor Hogging Threads count using check_jmx in nagios
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: monitor Hogging Threads count using check_jmx in nagios
I'm not familiar with the pluign but I think it is a bad example and should be
Code: Select all
/usr/local/nagios/libexec/check_jmx -U service:jmx:rmi:///jndi/rmi://$IP:$port/jmxrmi -O com.bea:ServerRuntime=ap_prd_domain,Name=ap_prd_domain,Type=ThreadPoolRuntime -A ExecuteThreadTotalCount -w 100 -c 200
Re: monitor Hogging Threads count using check_jmx in nagios
That particular MBean is used to filter your request for a particular WebLogic instance. In the example provided by @scottwilkerson, It's sort of like saying "please give me the ap_prd_domain instance". You additionally need to specify which metric you want (ThreadPoolRuntime for example) for that particular instance, otherwise you'll be provided with whatever top-level attributes that MBean has which may or may not totally break check_jmx.padu_3891 wrote:how or where can i find com.bea:ServerRuntime=?
Here's the official documentation for WebLogic's MBeans:
https://docs.oracle.com/cd/E13222_01/wl ... ndWLS.html
Here's the section which references the ServerRuntime MBean:
https://docs.oracle.com/cd/E13222_01/wl ... ml#1116185
And the official javadocs for that object:
https://docs.oracle.com/cd/E11035_01/wl ... MBean.html
Former Nagios employee
https://www.mcapra.com/
https://www.mcapra.com/
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: monitor Hogging Threads count using check_jmx in nagios
Thanks for sharing the additional docs
Re: monitor Hogging Threads count using check_jmx in nagios
Thank you Both
Re: monitor Hogging Threads count using check_jmx in nagios
Let us know if you have any more questions or if we are okay to close this thread.