GithubHelp home page GithubHelp logo

ptmp13 / weblogic-jmx-exporter Goto Github PK

View Code? Open in Web Editor NEW
3.0 3.0 1.0 334 KB

jmxexporter for weblogic. Get ports for Managed Server and set port for jmxexporter.

Home Page: https://grafana.com/grafana/dashboards/17972-weblogic-server-dashboard/

Python 39.01% Shell 60.99%
jmx-exporter weblogic

weblogic-jmx-exporter's Introduction

weblogic-jmx-exporter's People

Contributors

ptmp13 avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

Forkers

mr-talharehman

weblogic-jmx-exporter's Issues

Weblogic - dynamic cluster

Hi,

I have an issue during starting the managed servers. Admin server port 18001 is up and it is fine.
During starting the managed servers i m getting the following error:

Starting WLS with line:
/usr/jdk/jdk1.8.0_77/bin/java -server -d64 -Xms1536m -Xmx4096m -Dorg.apache.xml.dtm.DTMManager=org.apache.xml.dtm.ref.DTMManagerDefault -Dorg.apache.xerces.xni.parser.XMLParserConfiguration=org.apache.xerces.parsers.XML11Configuration -Dweblogic.threadpool.MinPoolSize=100 -Dweblogic.threadpool.MaxPoolSize=100 -Djava.awt.headless=true -XX:MaxPermSize=512m -XX:+UseParallelOldGC -XX:ParallelGCThreads=4 -Dweblogic.Name=FCUBSProduction-2 -Djava.security.policy=/export/home/oracle/Oracle/Middleware/Oracle_Home/wlserver/server/lib/weblogic.policy -Dweblogic.system.BootIdentityFile=/export/home/oracle/Oracle/Middleware/Oracle_Home/user_projects/domains/orienubs_domain/servers/FCUBSProduction-2/data/nodemanager/boot.properties -Dweblogic.nodemanager.ServiceEnabled=true -Dweblogic.nmservice.RotationEnabled=true -Djava.system.class.loader=com.oracle.classloader.weblogic.LaunchClassLoader -javaagent:./app/jmx_prometheus_javaagent.jar=1:./config/jmxexporter.yml -javaagent:/export/home/oracle/Oracle/Middleware/Oracle_Home/wlserver/server/lib/debugpatch-agent.jar -da -Dwls.home=/export/home/oracle/Oracle/Middleware/Oracle_Home/wlserver/server -Dweblogic.home=/export/home/oracle/Oracle/Middleware/Oracle_Home/wlserver/server -Dweblogic.management.server=http://172.16.51.17:8001 -Dweblogic.management.username=weblogic -Dweblogic.management.password=orien001 weblogic.Server
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=512m; support was removed in 8.0
Exception in thread "main" java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at sun.instrument.InstrumentationImpl.loadClassAndStartAgent(InstrumentationImpl.java:386)
at sun.instrument.InstrumentationImpl.loadClassAndCallPremain(InstrumentationImpl.java:401)
Caused by: java.net.SocketException: Permission denied
at sun.nio.ch.Net.bind0(Native Method)
at sun.nio.ch.Net.bind(Net.java:433)
at sun.nio.ch.Net.bind(Net.java:425)
at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:223)
at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74)
at sun.net.httpserver.ServerImpl.bind(ServerImpl.java:133)
at sun.net.httpserver.HttpServerImpl.bind(HttpServerImpl.java:54)
at io.prometheus.jmx.shaded.io.prometheus.client.exporter.HTTPServer.(HTTPServer.java:145)
at io.prometheus.jmx.shaded.io.prometheus.jmx.JavaAgent.premain(JavaAgent.java:31)
... 6 more
FATAL ERROR in native method: processing of -javaagent failed

Grafana Dashboard is showing no data

No data is appearing on Grafana dashboard as I tried to implement this project on new server, however, prometheus is successfully collecting metrics from server.

image

Various panels are not working

Hi. Many panels are not working because the exposed metrics are not as the way in which the dashboard is using them.

For example: if we use the jmxexporter.yml that you have mentioned in this repo then the exposed metrics are like below:

weblogic_server_activation_time{instance="instance", job="job", name="name"}

weblogic_application_internal{instance="instance", job="job", name="name", runtime="serverruntime"}

so there are only instance, runtime, name like labels. No domainUID, clusterName, serverName labels that you have used in the dashboard. The configuration is also saying so. there are no labels like domainUID, clusterName and serverName is mentioned on the jmxexporter.yml file.

As a result, many panels are not working properly. Can you please kindly check if the mentioned jmxexporter.yml file is the one that you are using.

Thanks

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.