marcosimbuerger/contao-monitoring-satellite

Monitoring Satellite for Contao

1.1.0 2023-01-08 12:42 UTC

This package is auto-updated.

Last update: 2025-05-08 18:29:29 UTC


README

The Monitoring Satellite provides data about your Contao CMS for the Monitoring Station.

Installation

$ composer require marcosimbuerger/contao-monitoring-satellite

Configuration

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'

Test

Call /monitoring-satellite/v1/get.

It should be protected by basic authentication and return the data after successful authentication.

Add the Satellite to the Station

Add this Monitoring Satellite to the Monitoring Station. See documentation of the Monitoring Station.

License

This bundle is released under the MIT license. See the included LICENSE file for more information.