ptmp13 / weblogic-jmx-exporter

jmxexporter for weblogic. Get ports for Managed Server and set port for jmxexporter.
https://grafana.com/grafana/dashboards/17972-weblogic-server-dashboard/
3 stars 1 forks source link

Dashboard is not loading server name and JMS server graphs #2

Open Mr-TalhaRehman opened 11 months ago

Mr-TalhaRehman commented 11 months ago

image

ptmp13 commented 11 months ago

Hi. If you did all propertly. You must have open port on managed server machine (or AdminServer) For example: You have AdminServer on host1.local:7001 and managed server my_test on host2.local:8001 accordingly you must have open jmxport on host1.local:17001 and host2.local:18001

Then you can get this page using curl (or browser). You must see page with metrics. On this page you must have metrics _weblogic_jvmuptime and more.

P.S Sometimes weblogic does not propertly load jmx exporter and some metrics not display... then you must reboot problem weblogic server (i mean AdminServer or ManagedServer)

ptmp13 commented 11 months ago

Oh i understand JMS... ok I can add some metrics like weblogic_persistentstore but most JMS metrics looks like application or weblogic_threadpool metrics... (i mean have same metric name and destinguish only applicaionname label) now i dont understand how to detach JMS from application metrics...

But you can see some JMS metrics on in Web Application tab

Mr-TalhaRehman commented 11 months ago

Hi. If you did all propertly. You must have open port on managed server machine (or AdminServer) For example: You have AdminServer on host1.local:7001 and managed server my_test on host2.local:8001 accordingly you must have open jmxport on host1.local:17001 and host2.local:18001

Then you can get this page using curl (or browser). You must see page with metrics. On this page you must have metrics _weblogic_jvmuptime and more.

P.S Sometimes weblogic does not propertly load jmx exporter and some metrics not display... then you must reboot problem weblogic server (i mean AdminServer or ManagedServer)

Hi @ptmp13.. I have Admin and Managed Server on the same machine.. Admin port is 7001 and MS port is 7036.

I deployed java agent in Managed Server JAVA OPTIONS. Server name is also not showing up on the dashboard. While other tabs are working fine.

What else am I doing wrong?

ptmp13 commented 11 months ago

Do you see servername at top dashboard?

image
Mr-TalhaRehman commented 11 months ago

No, I can't see any data here.. Screenshot_2023-08-21-11-32-28-064_com android chrome-edit

ptmp13 commented 10 months ago

Look at my first answer and check your pages: adminserverhost:17001 and managedserverhost:17036

Nirzak commented 3 months ago

The problem is the domain variable. there's no such metric named "weblogic_domainUID" by which you are grabbing that domain name variable. The jmx configuration you mentioned doesn't expose this metric