joinbox/monitor-instance

The instance sends data to the monitor.

v0.3 2023-10-06 06:32 UTC

This package is not auto-updated.

Last update: 2024-05-17 09:30:55 UTC


README

The Joinbox Monitoring tool consists of the following two parts.

When instance is enabled it sends data to the monitor as soon as the Drupal Cron hook is triggered.

Activation

Add the following lines to your settings.php file to enable functionality.

  • Project: This also is the identifier for the monitor. It should be the same project wide.
  • Environment: Make sure to use Live, Integration or Stage
$settings['instance'] = [
  'project' => 'Instance',
  'environment' => 'Live',
  'monitor' => 'https://monitor.joinbox.com',
  'user' => 'monitor',
  'password' => 'monitor',
];

Make sure the "shell_exec" PHP function is enabled on your server. (In cyon go to "Erweitert" -> "PHP-Einstellungen" and enable "shell_exec")