View Single Post
  #8   (View Single Post)  
Old 20th July 2009
badguy badguy is offline
Fdisk Soldier
 
Join Date: Jul 2009
Location: MD, USA
Posts: 59
Default

Okay so i have all the component i need to get symon running and i have php up and running. however i still can not get symon working. browsing to the localhost just produces my php page. i ve included the config file ive modified? i cant figure out what i am doing wrong. any help out pls


configuration is as follows

# pkg_info

gcc-4.2.20070307p11 GNU compiler collection: core C compiler
gettext-0.17p0 GNU gettext
libart-2.3.20p0 high-performance 2D graphics library
libiconv-1.12 character set conversion library
libxml-2.6.32p2 XML parsing library
mysql-client-5.0.77 multithreaded SQL database (client)
mysql-server-5.0.77 multithreaded SQL database (server)
p5-DBD-mysql-4.010 MySQL drivers for the Perl DBI
p5-DBI-1.607 unified perl interface for database access
p5-Net-Daemon-0.43 extension for portable daemons
p5-PlRPC-0.2018p0 module for writing rpc servers and clients
php5-core-5.2.8p0 server-side HTML-embedded scripting language
png-1.2.33 library for manipulating PNG images
rrdtool-1.2.30 system to store and display time-series data
symon-2.78 active monitoring tool
syweb-0.55p1 web frontend to symon



#vi /etc/symon.conf


#
# $Id: symon.conf,v 1.12 2004/02/26 22:48:08 dijkstra Exp $
#
# Demo configuration for symon. See symon(8) for BNF.

monitor { cpu(0), mem,
if(vic0),
# pf,
# mbuf,
# sensor(0),
# proc(httpd),
# if(xl0), if(de0), if(wi0),
# io(wd1), io(wd2), io(wd3), io(cd0)
io(wd0)
} stream to 127.0.0.1 2100
~
~

#vi /etc/symux.conf


# $Id: symux.conf,v 1.23 2007/11/29 13:13:18 dijkstra Exp $
#
# Demo symux configuration. See symux(8) for BNF.

mux 127.0.0.1 2100

source 127.0.0.1 {
accept { cpu(0), mem,
if(vic0),
# pf,
# mbuf,
# sensor(0),
# proc(httpd),
# if(xl0), if(de0), if(wi0),
# io(wd1), io(wd2), io(wd3), io(cd0)
io(wd0)
}
datadir "/var/www/htdocs/syweb/localhost"
}


#vi /var/www/htdocs/syweb/setup.inc


/* running OpenBSD, apache chrooted:
$symon['rrdtool_path']='/usr/local/bin/rrdtool';
$symon['cache_dir']='/var/www/htdocs/syweb/cache';
$symon['host_tree']='/var/www/htdocs/syweb';
$symon['layout_dir']='/var/www/htdocs/syweb';
*/

/* running OpenBSD, apache not chrooted: */
$symon['rrdtool_path']='/usr/local/bin/rrdtool';
$symon['cache_dir']='/var/www/htdocs/syweb/cache';
$symon['host_tree']='/var/www/htdocs/syweb';
$symon['layout_dir']='/var/www/htdocs/syweb';


/* running FreeBSD, apache not chrooted:
$symon['rrdtool_path']='/usr/local/bin/rrdtool';
$symon['cache_dir']='/usr/local/www/symon/cache';
$symon['host_tree']='/usr/local/www/symon/rrds';
$symon['layout_dir']='/usr/local/www/symon';
*/

$symon['cache_duration']=20;
$symon['isolate_hosts']=1;
$symon['combine']['pfq']=1;
$symon['combine']['io']=1;
$symon['options']['df']='bytes';
/* $symon['options']['df']='blocks'; */
Reply With Quote