subscribe

Dear Support,

I'm trying to correct this in my ubuntu config.
I have adjusted my config. Php to no avail - see atatched.
I have added the relevant to the web host:

<VirtualHost *:80>

# Listen on HTTP
ServerName monitor.holycrossprep.com

# Force a redirect to HTTPS for any requests to observium. example.com
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

RedirectPermanent / https://monitor.holycrossprep.com/
</VirtualHost>

  <VirtualHost *:443>
    ServerName monitor.holycrossprep.com

    DocumentRoot /opt/observium/html
    <FilesMatch \.php$>
      SetHandler application/x-httpd-php
    </FilesMatch>
    <Directory />
            Options FollowSymLinks
            AllowOverride None
    </Directory>
    SSLEngine on
    SSLCertificateFile /etc/ssl/certs/holycrossprep.pem
    SSLCertificateKeyFile /etc/ssl/certs/holycrossprep.key



    <Directory /opt/observium/html/>
            DirectoryIndex index.php
            Options Indexes FollowSymLinks MultiViews
            AllowOverride All
            Require all granted
    </Directory>
    ErrorLog  /error.log
    LogLevel warn
    CustomLog  /access.log combined
    ServerSignature On

  </VirtualHost>

Would else should I be looking at?

Thank you,
Martin
[https://www.holycrossprepschool.co.uk/_Includes/images/banner.png]

Martin Gilhooly

IT Manager

+44 (0)20 8942 0729

[email protected]<mailto:[email protected]>
www.holycrossprepschool.co.uk   
[https://www.holycrossprepschool.co.uk/_Includes/images/hcp_logo.png]

[advertisement]<https://www.holycrossprepschool.co.uk>

Holy Cross Preparatory School * George Road * Kingston Upon Thames * Surrey * 
KT27NU

CONFIDENTIALITY NOTICE, DISCLAIMER AND MONITORING: This email is intended for 
the person to whom it is addressed. The message and any attachments may contain 
confidential information. If you are not the intended recipient or have 
received this email in error, please notify the sender and delete the email 
from your computer systems. You should not make any unauthorized use of the 
information contained in the email. While all reasonable precautions are taken 
to ensure that no viruses are transmitted with this message, Holy Cross 
Preparatory School will not be liable for any loss or damage caused by the 
transmission of this message. Please note that Holy Cross Preparatory School 
reserves the right to monitor emails in accordance with the School IT policy.
<?php

## Check http://www.observium.org/docs/config_options/ for documentation of 
possible settings

## It's recommended that settings are edited in the web interface at /settings/ 
on your observium installation.
## Authentication and Database settings must be hardcoded here because they 
need to work before you can reach the web-based configuration interface

// Database config ---  This MUST be configured
$config['db_extension'] = 'mysqli';
$config['db_host']      = 'localhost';
$config['db_user']      = 'observium';
$config['db_pass']      = 'lKRLFZVQ52Avx2u';
$config['db_name']      = 'observium';

// https setting

$config['base_url'] = 'https://monitor.holycrossprep.com';

// Base directory
#$config['install_dir'] = "/opt/observium";

// Default community list to use when adding/discovering
$config['snmp']['community'] = array("0beyonerules");

// Authentication Model
$config['auth_mechanism'] = "mysql";    // default, other options: ldap, 
http-auth, please see documentation for config help

//wmi config

//$config['wmi']['domain'] = "HCNET";
//$config['wmi']['user']   = "observium" ;
//$config['wmi']['pass']   = "";

//$config['poller_modules']['wmi'] = 1;
//House Keeping

$config['housekeeping']['syslog']['age'] = 2592000;
$config['housekeeping']['eventlog']['age'] = 2592000;
$config['housekeeping']['alertlog']['age'] = 2592000;
$config['housekeeping']['inventory']['age'] = 259200;
$config['housekeeping']['rrd']['age'] = 7776000;
$config['housekeeping']['deleted_ports']['age'] = 604800;
$config['housekeeping']['timing']['age'] = 604800;

// Enable alerter
// $config['poller-wrapper']['alerter'] = TRUE;

//$config['web_show_disabled'] = FALSE;    // Show or not disabled devices on 
major pages.

// Set up a default alerter (email to a single address)
//$config['email']['default']        = "[email protected]";
//$config['email']['from']           = "Observium 
<[email protected]>";
//$config['email']['default_only']   = TRUE;

// End config.php
_______________________________________________
observium mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to