You are here

public function StatuspageController::__construct in Nagios Monitoring 8

File

src/Controller/StatuspageController.php, line 24

Class

StatuspageController
Class StatuspageController produces the HTTP output that the bash script in the nagios-plugin directory understands.

Namespace

Drupal\nagios\Controller

Code

public function __construct() {
  $this->config = \Drupal::config('nagios.settings');
  _nagios_update_os_user();
}