These are the steps you need to take in order to use this software.
- Install dependencies with composer. Run
composer require 'adyax_support/monitoring_tool_client:^10.0'
- Edit settings.php to configure the server, add these settings there:
$settings['monitoring_tool'] = [
'base_url' => 'http://example.com',
'options' => [
'auth' => ['username', 'password'],
'headers' => [
'X-Foo' => 'overwrite',
'verify' => true,
],
],
];
More information about options you can read here: http://docs.guzzlephp.org/en/stable/request-options.html.
Then configure the settings on the page: /admin/config/services/monitoring-tool-client.