Hi Stefan,
in my case all symon & symux & syweb are on the same machie, you can change
127.0.0.1 t your desired machine address.
------------------------------
$ cat /etc/symon.conf
monitor { cpu(0),cpu(1),cpu(2),cpu(3), mem,
if(bnx0), if(bnx1),
pf,pfq(bnx1),
mbuf,
sensor(cpu0.temp0),
# proc(httpd),
# if(xl0), if(de0), if(wi0),
io(sd0),df(sd0h)
} stream to 127.0.0.1 2100
----------------------------------------------
$ cat /etc/symux.conf
mux 127.0.0.1 2100
source 127.0.0.1 {
accept { cpu(0),cpu(1),cpu(2),cpu(3), mem,
if(bnx0), if(bnx1),
pf,pfq(bnx1),
mbuf,
sensor(cpu0.temp0),
# proc(httpd),
# if(xl0), if(de0), if(wi0),
io(sd0),df(sd0h)
}
datadir "/var/www/symon/rrds/localhost"
}
-----------------------------------
don't forget to run following commands ( from the documentation )
(cd /usr/ports/net/rrdtool && make install) &&
make &&
make install &&
vi /etc/symux.conf /etc/symon.conf &&
~symon/symux/c_smrrds.sh all &&
/usr/local/libexec/symux &&
useradd -d /var/empty -L daemon -c 'symon Account' -s
/sbin/nologin _symon
/usr/local/libexec/symon
Regards,
On Wed, Oct 26, 2011 at 2:43 PM, Stefan N <[email protected]> wrote:
> Hi Hassan,
>
> I could see the traffic going out(using tcpdump) from my OpenBSD machine
> with symon installed.
> I am in the midst doing the configuration of symux, syweb and rrdtool on
> another machine(linux)
> Do you have the sample configuration of symux, syweb and rrdtool?
>
> Thank you in advance.
>
> Regards,
> Stefan
>
> ------------------------------
> *From:* Hassan Monfared <[email protected]>
> *To:* Stefan N <[email protected]>
> *Cc:* "[email protected]" <[email protected]>
> *Sent:* Wednesday, October 26, 2011 5:08 PM
>
> *Subject:* Re: Question: c_config.sh and symon.conf on symon for OpenBSD
> PF
>
> sure,
> I can send my sample configuration to you if you needed.
>
> On Wed, Oct 26, 2011 at 12:09 PM, Stefan N <[email protected]> wrote:
>
> > Hi Hassan,
> >
> > Okay thanks. I will try again.
> >
> > Regards,
> > Stefan
> >
> > ------------------------------
> > *From:* Hassan Monfared <[email protected]>
> > *To:* Stefan N <[email protected]>
> > *Cc:* "[email protected]" <[email protected]>
> > *Sent:* Wednesday, October 26, 2011 2:07 PM
> > *Subject:* Re: Question: c_config.sh and symon.conf on symon for OpenBSD
>
> > PF
> >
> > Hi, Stefan,
> > there is no need to any change other than symon.conf. its enough.
> >
> > On Wed, Oct 26, 2011 at 6:59 AM, Stefan N <[email protected]>
> wrote:
> >
> > Hi Guys,
> >
> > This is the first time I tried to install symon on OpenBSD and my main
> goal
> > is to monitor OpenBSD interface,disk,cpu as well as PF statistic.
> > As per symon documentation on
> > http://wpd.home.xs4all.nl/symon/documentation.html, the symon config
> file
> > is located in /etc/symon.conf
> > However, I found another file (c_config.sh) contains an example of shell
> > script for collecting info of interface and io. Before I move forward to
> > install and configure symux, I have the following doubts about symon.conf
> > and c_config.sh script/
> >
> > My questions about symon:
> > 1.Do I need to configure symon.conf only? Do I need to customize
> > c_config.sh to meet my specific requirement because c_config.sh file
> > contains and collect interface and io information only?
> > 2.The default location of firewall rule file will be read from
> > /etc/pf.conf. How do I change the setting if my firewall config is
> located
> > in different folder(for example on /etc/fw/pf.conf?)
> >
> > Thank you in advance.
> >
> > Regards,
> > Stefan