fix some font nonsense

git-svn-id: http://www.observium.org/svn/observer/trunk@539 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
Adam Amstrong
2009-11-30 22:52:40 +00:00
parent 61e336bdc2
commit 74c6f736d3
23 changed files with 8 additions and 6 deletions

View File

@@ -9,7 +9,7 @@ $config['db_name'] = "observer";
### Locations
$config['install_dir'] = "/opt/observer";
$config['html_dir'] = $config['install_dir'] . "/html";
$config['rrd_dir'] = "/mnt/filesystem/rrd";
$config['rrd_dir'] = "/opt/observer/rrd";
$config['temp_dir'] = "/tmp";
$config['observer_log'] = $config['install_dir'] . "/observer.log";
@@ -34,7 +34,7 @@ $config['snmpset'] = "/usr/bin/snmpset";
# Set the general colours and other settings for rrdtool graphs
$config['rrdgraph_def_text'] = " -c BACK#CCCCCC -c SHADEA#c5c5c5 -c SHADEB#c5c5c5 -c FONT#000000 -c CANVAS#FFFFFF -c GRID#a5a5a5 ";
$config['rrdgraph_def_text'] = " -c BACK#EEEEEE -c SHADEA#c5c5c5 -c SHADEB#c5c5c5 -c FONT#000000 -c CANVAS#FFFFFF -c GRID#a5a5a5 ";
$config['rrdgraph_def_text'] .= " -c MGRID#FF9999 -c FRAME#5e5e5e -c ARROW#5e5e5e -R normal";
$config['overlib_defaults'] = ",FGCOLOR,'#e5e5e5', BGCOLOR, '#c0c0c0', BORDER, 5, CELLPAD, 4, CAPCOLOR, '#050505'";
@@ -46,8 +46,8 @@ $config['nets'] = array ("89.21.224.0/19", "212.9.12.0/24", "212.9.13.0/24");
$config['mydomain'] = "jerseytelecom.com";
$config['page_title'] = "JT Observer";
$config['title_image'] = "images/observer-logo.jpg";
$config['stylesheet'] = "css/styles.css";
$config['mono_font'] = "DejaVuSansMono";
$config['stylesheet'] = "css/styles.css";
$config['mono_font'] = "DejaVuSansMono";
$config['header_color'] = "#133A7B";
$config['favicon'] = "favicon.ico";
@@ -120,6 +120,8 @@ $config['allow_entity_sensor']['specialEnum'] = 1;
### Mountpoints to ignore
$config['ignore_mount'] = array("/kern", "/mnt/cdrom", "/dev", "/dev/pts", "/proc/bus/usb");
$config['ignore_mount_regex'] = array();
$config['ignore_mount_string'] = array();
### Style Options

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -20,7 +20,7 @@ if($_GET['bg']) { $rrd_options .= " -c CANVAS#" . mres($_GET['bg']) . " "; }
#$rrd_options .= " -c BACK#FFFFFF";
if($height < "99") { $rrd_options .= " --only-graph"; }
if($width <= "300") { $rrd_options .= " --font LEGEND:7:".$config['mono_font']." --font AXIS:6:".$config['mono_font']." --font-render-mode normal";
} else { $rrd_options .= " --font LEGEND:8:".$config['mono_font']." --font AXIS:7:".$config['mono_font']." --font-render-mode normal"; }
if($width <= "300") { $rrd_options .= " --font LEGEND:7:".$config['mono_font']." --font AXIS:6:".$config['mono_font'];
} else { $rrd_options .= " --font LEGEND:8:".$config['mono_font']." --font AXIS:7:".$config['mono_font']; }
?>