• Forums
    • Public Forums
      • Community Connect
      • Dynatrace
        • Dynatrace Open Q&A
      • Application Monitoring & UEM
        • AppMon & UEM Open Q&A
      • Network Application Monitoring
        • NAM Open Q&A
  • Home
  • Public Forums
  • Application Monitoring & UEM
  • AppMon & UEM Open Q&A
avatar image
Question by Frank O. · Dec 04, 2012 at 01:51 AM ·

Rest Request interface - Can I send dtUser and dtPassword?

I am on 4.2 dynaTrace for Windows, and we have some Rest/Management dynaTrace dashboards that will provide xml data for long term auditing needs into a homegrown SQL Server 2008 instance. We need to stay secure with authentication in the communications process.

The 4.2 dynaTrace documentation doesn't state that dTUser and dTPassword can be sent to the REST entry point of rest/management/report/create as a REST interface parameter, similar to how "filter" works for example? How is passing username and credential possible then from SQL Server or simply on the URL, through the interface?

What are the possible , supported options and solutions?

I want to do something like the following but it's not working, I see an old note about an ASPX integration scenario, published on the community URL below, but maybe these options were deprecated or deleted. Please explain.

http://vmdtsqa01:8020/rest/management/dashboard/TestCPU?dtUser=sys_apmifsmonitoring&dtPassword=mypassword

The reference to providing dtuser and dtpassword is published in this integration document using aspx to integrate into rest/management. https://apmcommunity.compuware.com/community/download/attachments/73401116/Show+Your+Dashlet+as+an+HTML+Image.pdf?version=1&modificationDate=1330698950207

Comment

People who like this

0 Show 0
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

1 Reply

  • Sort: 
  • Most voted
  • Newest
  • Oldest
avatar image

Answer by Andreas G. · Dec 04, 2012 at 07:36 AM

Hi Frank

Username and password are sent using basic http authentication. When you enter one of these REST URLs in your browser the browser will prompt you for username/password. If you access them programically you need to specify the username/password on the HTTP Protocol. So - all you need to do is to use a REST Framework that allows you to specify username/password as part of the basic authentication model. I also wrote a blog about this for accessing our REST interfaces from .NET - maybe that helps as well: http://apmblog.compuware.com/2009/08/24/lessons-learned-from-getting-net-to-rest-with-java/

Comment

People who like this

0 Show 0 · Share
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

How to get started

First steps in the forum
Read Community User Guide
Best practices of using forum

NAM 2019 SP5 is available


Check the RHEL support added in the latest NAM service pack.

Learn more

LIVE WEBINAR

"Performance Clinic - Monitoring as a Self Service with Dynatrace"


JANUARY 15, 3:00 PM GMT / 10:00 AM ET

Register here

Follow this Question

Answers Answers and Comments

2 People are following this question.

avatar image avatar image

Forum Tags

dotnet mobile monitoring load iis 6.5 kubernetes mainframe rest api dashboard framework 7.0 appmon 7 health monitoring adk log monitoring services auto-detection uem webserver test automation license web performance monitoring ios nam probe collector migration mq web services knowledge sharing reports window java hybris javascript appmon sensors good to know extensions search 6.3+ server documentation easytravel web dashboard kibana system profile purelytics docker splunk 6.1 process groups account 7.2 rest dynatrace saas spa guardian appmon administration production user actions postgresql upgrade oneagent measures security Dynatrace Managed transactionflow technologies diagnostics user session monitoring unique users continuous delivery sharing configuration alerting NGINX splitting business transaction client 6.3 installation database scheduler apache mobileapp RUM php dashlet azure purepath agent 7.1 appmonsaas messagebroker nodejs 6.2 android sensor performance warehouse
  • Forums
  • Public Forums
    • Community Connect
    • Dynatrace
      • Dynatrace Open Q&A
    • Application Monitoring & UEM
      • AppMon & UEM Open Q&A
    • Network Application Monitoring
      • NAM Open Q&A