summaryrefslogtreecommitdiff
path: root/torrus/configs/torrus-siteconfig.pl
blob: 504c0f37de1d34e9dc735ea8e6511622636894a4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Torrus Site config. Put all your site specifics here.
# You need to stop and start Apache server every time you change this file.

@Torrus::Global::xmlAlwaysIncludeFirst = ( 'defaults.xml', 'site-global.xml' );

%Torrus::Global::treeConfig =
    (
     'main' => {
         'description' => 'The main tree',
         'info'        => 'main tree', #'some tree', #per-agent?
         'xmlfiles' => [qw(routers.xml)],
         'run' => { 'collector' => 1, 'monitor' => 0 } }
     );

# Customizable look in the HTML page top
# $Torrus::Renderer::companyName = 'Your company name';
# $Torrus::Renderer::companyURL = 'http://torrus.sf.net';
# $Torrus::Renderer::siteInfo = `hostname`;

#Freeside
$Torrus::CGI::authorizeUsers = 0;
$Torrus::Renderer::rendererURL = '/freeside/torrus';
$Torrus::Renderer::plainURL    = '/freeside/torrus/plain/';
$Torrus::Freeside::FSURL = '%%%FREESIDE_URL%%%';
$Torrus::Renderer::displayReports = 1;
push (@Torrus::Collector::loadModules, 'Torrus::Collector::ExternalStorage');
$Torrus::SQL::connections{'Default'}{'dsn'} =
      'DBI:mysql:dbname=freeside'; #XXX sub in DATASOURCE
$Torrus::SQL::connections{'Default'}{'username'} = 'freeside'; #DB_USER
$Torrus::SQL::connections{'Default'}{'password'} = '';         #DB_PASSWORD

1;