The Monitoring Satellite provides data about your Contao CMS for the Monitoring Station.
$ composer require marcosimbuerger/contao-monitoring-satellite
Add the basic authentication credentials to the parameters.yml file.
Use vendor/bin/contao-console security:hash-password
to generate the password hash.
Use the InMemoryUser
class to hash the password.
# app/config/parameters.yml
parameters:
...
monitoring_satellite:
basic_auth:
username: foo
password: '$argon2id$v=19$m=65536,t=4,p=1$ofPY6RT+0rCE74M0AlPpzQ$BeiGUhv27D4/6FBmNKC0r4dhImZqj55EfOwYqjxaVbE'
Call /monitoring-satellite/v1/get
.
It should be protected by basic authentication and return the data after successful authentication.
Add this Monitoring Satellite to the Monitoring Station. See documentation of the Monitoring Station.
This bundle is released under the MIT license. See the included LICENSE file for more information.