-
Notifications
You must be signed in to change notification settings - Fork 0
/
config-sample.php
49 lines (47 loc) · 1.12 KB
/
config-sample.php
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
<?php
/*
* LG - Looking Glass
*
* @author: Johan Hedberg <[email protected]>
*
* @license: See LICENSE file here: https://github.com/crazzy/lg
*/
$global_config = array(
'companyname' => 'MyCompany',
'companylink' => 'http://example.org',
'companylogo' => '', # URL for img-tag
'theme' => 'basic',
'memcache_host' => '127.0.0.1',
'memcache_port' => '11211',
'memcache_prefix' => 'lg',
'ratelimit_global' => 60, # Per minute
'ratelimit_perip' => 5, # Per minute
'ratelimit_whitelist' => array(), # List of v4/v6 ip's/cidr's as strings
'checks_enabled' => array('ping', 'traceroute', 'dns', 'bgp')
);
$routers = array(
'rtr1' => array(
'address' => '10.0.0.1',
'plugin' => 'ssh_openbgpd',
'pluginparams' => array(
'ssh_username' => 'secret',
'ssh_password' => 'secret'
)
),
'rtr2' => array(
'address' => '10.0.0.2',
'plugin' => 'ssh_cisco',
'pluginparams' => array(
'ssh_username' => 'secret',
'ssh_password' => 'secret'
)
),
'rtr3' => array(
'address' => '10.0.0.3',
'plugin' => 'ssh_quagga',
'pluginparams' => array(
'ssh_username' => 'secret',
'ssh_password' => 'secret'
)
)
);