Sorry for the trouble..I just got it working by running the following: # sh /usr/local/share/symon/c_smrrds.sh all
I see then this script starts to create the rrds. Thx. On Apr 25, 2008, at 4:12 AM, Parvinder Bhasin wrote: > Hi, > > I am having trouble getting symon, symux and syweb to give me nice > graphs. > I have configured my /etc/symon.conf file as: > > # > # $Id: symon.conf,v 1.12 2004/02/26 22:48:08 dijkstra Exp $ > # > # Demo configuration for symon. See symon(8) for BNF. > > monitor { if(rl0), if(fxp1), if(fxp0), if(sk0), > io(wd0), > cpu(0), mem } stream to 127.0.0.1 2100 > > > my /etc/symux.conf file looks like: > > # $Id: symux.conf,v 1.22 2004/02/26 22:48:08 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(lo0), > 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/symon/rrds/localhost" > } > > Whenever I try to run symux , I get this: > > # /usr/local/libexec/symux > warning: /etc/symux.conf:21: file '/var/www/symon/rrds/localhost/ > io_wd0.rrd', guessed by datadir, cannot be opened > warning: /etc/symux.conf:21: file '/var/www/symon/rrds/localhost/ > io_cd0.rrd', guessed by datadir, cannot be opened > warning: /etc/symux.conf:21: file '/var/www/symon/rrds/localhost/ > io_wd3.rrd', guessed by datadir, cannot be opened > warning: /etc/symux.conf:21: file '/var/www/symon/rrds/localhost/ > io_wd2.rrd', guessed by datadir, cannot be opened > warning: /etc/symux.conf:21: file '/var/www/symon/rrds/localhost/ > io_wd1.rrd', guessed by datadir, cannot be opened > warning: /etc/symux.conf:21: file '/var/www/symon/rrds/localhost/ > if_wi0.rrd', guessed by datadir, cannot be opened > warning: /etc/symux.conf:21: file '/var/www/symon/rrds/localhost/ > if_de0.rrd', guessed by datadir, cannot be opened > warning: /etc/symux.conf:21: file '/var/www/symon/rrds/localhost/ > if_xl0.rrd', guessed by datadir, cannot be opened > warning: /etc/symux.conf:21: file '/var/www/symon/rrds/localhost/ > proc_httpd.rrd', guessed by datadir, cannot be opened > warning: /etc/symux.conf:21: file '/var/www/symon/rrds/localhost/ > sensor0.rrd', guessed by datadir, cannot be opened > warning: /etc/symux.conf:21: file '/var/www/symon/rrds/localhost/ > mbuf.rrd', guessed by datadir, cannot be opened > warning: /etc/symux.conf:21: file '/var/www/symon/rrds/localhost/ > pf.rrd', guessed by datadir, cannot be opened > warning: /etc/symux.conf:21: file '/var/www/symon/rrds/localhost/ > if_lo0.rrd', guessed by datadir, cannot be opened > warning: /etc/symux.conf:21: file '/var/www/symon/rrds/localhost/ > mem.rrd', guessed by datadir, cannot be opened > warning: /etc/symux.conf:21: file '/var/www/symon/rrds/localhost/ > cpu0.rrd', guessed by datadir, cannot be opened > warning: /etc/symux.conf: no filename specified for stream 'io(wd0)' > in source '127.0.0.1' > warning: /etc/symux.conf: no filename specified for stream 'io(cd0)' > in source '127.0.0.1' > warning: /etc/symux.conf: no filename specified for stream 'io(wd3)' > in source '127.0.0.1' > warning: /etc/symux.conf: no filename specified for stream 'io(wd2)' > in source '127.0.0.1' > warning: /etc/symux.conf: no filename specified for stream 'io(wd1)' > in source '127.0.0.1' > warning: /etc/symux.conf: no filename specified for stream 'if(wi0)' > in source '127.0.0.1' > warning: /etc/symux.conf: no filename specified for stream 'if(de0)' > in source '127.0.0.1' > warning: /etc/symux.conf: no filename specified for stream 'if(xl0)' > in source '127.0.0.1' > warning: /etc/symux.conf: no filename specified for stream > 'proc(httpd)' in source '127.0.0.1' > warning: /etc/symux.conf: no filename specified for stream > 'sensor(0)' in source '127.0.0.1' > warning: /etc/symux.conf: no filename specified for stream 'mbuf()' > in source '127.0.0.1' > warning: /etc/symux.conf: no filename specified for stream 'pf()' in > source '127.0.0.1' > warning: /etc/symux.conf: no filename specified for stream 'if(lo0)' > in source '127.0.0.1' > warning: /etc/symux.conf: no filename specified for stream 'mem()' > in source '127.0.0.1' > warning: /etc/symux.conf: no filename specified for stream 'cpu(0)' > in source '127.0.0.1' > > Can anyone shed some light on this? > > I have checked the permission on the /var/www/symon directory and > they all appear fine (?) > > drwxr-xr-x 3 www daemon 512 Apr 24 20:55 symon > > > Thanks