Re: searching a good MRTG/SNMP configuration

2007-02-05 Thread AstraSerg
What about cacti (http://cacti.net/)?

On Sunday 04 February 2007 15:06, Andreas Bihlmaier wrote:
 Hello misc@,

 hosting a lan party yesterday I started to play around with MRTG and
 SNMP, but I didn't quite get where I wanted.

 I guess somebody using OpenBSD already has a nice MRTG configuration
 showing:
   IN/OUT traffic
   [CPU] load
   memory usage
   some stuff about pf (states, blocks/pass)
   (using this patch: http://www.packetmischief.ca/openbsd/snmp/)

 Something similar to this:
 http://www.erde.co.jp/mrtg/index.html
 would be what I'm looking for. But with a better traffic report.

 Would this person be willing to share the configuration files
 (mrtg/snmp[/rrdtool]) with me and the rest of the OpenBSD community?

 While we are at it, how do you make the MRTG output accessible?
 My idea was to let every host create its own statistics and upload those
 to my central webserver, using pub-key scp/sftp with an unprivileged
 user account. The webserver would move all those reports to its
 www-chroot.


 If I need to I'll create one myself, but after fiddeling around with it
 for a couple of hours I thought about the reinvention of the wheel and
 its waste of time.

 Regards,
 ahb

--
PONEDELXNIK,  5 FEWRALQ 2007 G. 10:45:05 (MSK)



Migrating from ipfw to pf

2006-08-30 Thread AstraSerg
Good day

How can I configure pf in case with 2 external interfaces?
There is no binding to interface at all in ipfw. I just

divert 42345 ip from 192.168.0.0/16 to any
fwd 194.185.178.126 ip from 194.185.178.125 to any
divert 42345 ip from any to 194.185.178.125

In pf I have to set external interface, like this

nat on sk0 inet from 192.168.0.0/16 to any - 194.185.178.125

But traffic by default go to another interface - em1





-- 
Wed Aug 30 14:20:16 MSD 2006



Re: Migrating from ipfw to pf

2006-08-30 Thread AstraSerg
On Wednesday 30 August 2006 14:50, Stuart Henderson wrote:
 On 2006/08/30 14:21, AstraSerg wrote:
  How can I configure pf in case with 2 external interfaces?

 Read http://www.openbsd.org/faq/pf/pools.html
 load-balancing outgoing traffic.

Thanks a lot.
-- 
Wed Aug 30 15:17:38 MSD 2006