Dynatrace plugin usage

  • 31 August 2023
  • 4 replies

Userlevel 1
Badge +7

I'd like to execute, with Dynatrace API v2, a GET request (synthetic - HTTP monitor execution).
- Is it possible to perform this with the Dynatrace Centreon plugin ?
- If not, is there an other way to proceed ?



Best answer by pierre1 14 September 2023, 15:22

View original

4 replies

Userlevel 1
Badge +6

Hi !

Thanks for your interest in Centreon.

Could you precise what kind of information you need to GET using Dynatrace API ?


Dynatrace Centreon plugin may help you to get some interesting metrics about problems, events, performance index or monitors availability :


If necessary, you can also query REST API using generic HTTP connector : 


Let me know is this can help you or if you need more informations.


Best regards



Userlevel 1
Badge +7

Thanks Florian,

The Dynatrace Centreon plugin doesn’t give sufficient detailed informations, that’s the reason why I’m trying to build GET requests.

I’m going to test HTTP connector, to see if it seems relevant for my needs.

Userlevel 1
Badge +7


I’ve tried the HTTP connector, it seems to be the adequate solution, but my new issue is how to configure the token requested to access to the URL I’m interested in.

I’ve checked with the help (/usr/lib/centreon/plugins/ --plugin=apps::protocols::http::plugin --mode=expected-content --help), but I didn’t find many explanations.

Does someone tried this kind of request before, with a token ?

Userlevel 1
Badge +7

Finally the issue is fixed. The solution to add the Token is provided by the option --header.


--header=’Authorization: Api-Token ValueOfTheToken’

Hoping it can help !