Dynatrace-MoM TODO
dynatrace-reinhard-pilz / dynatrace-mom Goto Github PK
View Code? Open in Web Editor NEWDynatrace-MoM
Dynatrace-MoM
See SUPDT-38282 in inp2-092617.supportarchive.zip\Server\LRTP77.fmr.com\dtserver\79648\logs\Server.0.0.log
2017-09-26 09:33:03 SEVERE [SecureHttpServletCtx] Unable to handle security: com.dynatrace.mom.utils.SecureHttpServletCtx handleSecurity:157
java.lang.NoSuchMethodError: com.dynatrace.diagnostics.server.security.PermissionManager.synchronizedLogin(Lcom/dynatrace/diagnostics/server/security/AbstractSessionContext;)V
at com.dynatrace.mom.utils.SecureHttpServletCtx.handleSecurity(SecureHttpServletCtx.java:142)
at com.dynatrace.mom.utils.SecureHttpServletCtx.checkUserSessionContext(SecureHttpServletCtx.java:110)
at com.dynatrace.mom.utils.BufferedHttpServletCtx.doGet(BufferedHttpServletCtx.java:41)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:687)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:808)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:587)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
at com.dynatrace.diagnostics.webservices.SecureHttpServiceContext.handle(SourceFile:310)
at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:577)
at com.dynatrace.diagnostics.jetty.internal.NoTraceSecurityHandler.handle(NoTraceSecurityHandler.java:76)
at com.dynatrace.diagnostics.jetty.internal.ChainingSecurityHandler.handle(ChainingSecurityHandler.java:73)
at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:223)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1127)
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515)
at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1061)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:110)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)
at org.eclipse.jetty.server.handler.StatisticsHandler.handle(StatisticsHandler.java:159)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)
at org.eclipse.jetty.server.Server.handle(Server.java:499)
at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:310)
at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:257)
at org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:540)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635)
at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555)
at java.lang.Thread.run(Thread.java:745)
Test New Issue
Hey Reini,
I would like to create the following:
User Group | Dashboard | Permission | Auto Open |
---|---|---|---|
Developers | Triage Dashboard | Read_Write | Yes |
Operations | Monitoring Dashboard | Read | Yes |
I would like each user group to only have access to the DB named above (i.e., Operations should not have access to the Triage DB).
When I run the following command:
java -Dconfig.server.host=localhost:8021 -Dconfig.server.user=admin -Dconfig.server.pass=admin -Dvariable.environment=%env% -Dvariable.application=%app% -Dvariable.tier=CustomerFrontEnd -Dconfig.templates.profile="{@application} {@environment}" -Dconfig.user.groups.dev.name=Developers -Dconfig.user.groups.dev.management.role=Guest -Dconfig.user.groups.dev.profile.role=Administrator -Dconfig.dashboards.triage.name="{@environment}_{@application}_TRIAGE_DASHBOARD" -Dconfig.user.groups.dev.dashboards.triage.permission=Read_Write -Dconfig.user.groups.ops.name=Operations -Dconfig.user.groups.ops.management.role=Guest -Dconfig.user.groups.ops.profile.role=Guest -Dconfig.dashboards.monitoring.name="{@environment}_{@application}_JBoss Monitoring" -Dconfig.user.groups.ops.dashboards.monitoring.permission=Read -jar dt-onboarding.jar
I end up with both User Groups having access to both Dashboards and both Dashboards are set to auto open. Is my command syntax incorrect or is this not currently possible?
Also, is there a way to assign read/read_write access to dashboard?
thanks,
ted
Hey Reini,
We chatted about this about a month ago and I just realized I had never followed up on creating an issue.
I would like to be able to set permissions for the dashboard and the System Profile.
Use case would be where I want the ‘easyTravel Developers’ group to have Read/Write on the easyTravel Triage Dashboard and administrator rights to the easyTravel_Dev System Profile, but Read access to other dashboards and guest rights to other System Profiles.
I do not have any customers asking for this, by the way, it's just something that I think would be cool. ;-)
thanks,
ted
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.