Re: searching a good MRTG/SNMP configuration

2007-02-10 Thread Andreas Bihlmaier
On Sun, Feb 04, 2007 at 04:04:56PM +0100, Henning Brauer wrote:
 * Andreas Bihlmaier [EMAIL PROTECTED] [2007-02-04 14:04]:
  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/)
 
 save yourself the trouble and just go for ports/sysutils/symon/

Thanks everybody who responded.
I eventually went with symon and used a shell script based on:
http://www.benzedrine.cx/statistics.html
but heavily modified.

Results:
http://bihlmaier.org/stats

Problems:
- The new two-level sensor framework is not supported, meaning
  sensor() is useless ATM.
- df() did not give usefull stats.

If somebody has further suggestions or is interested in my setup
(every hosts generates graphs, pushes them to central host, which
creates html pages) please contact me on or off list.

Regards,
ahb



Re: searching a good MRTG/SNMP configuration

2007-02-10 Thread Constantine A. Murenin

On 10/02/07, Andreas Bihlmaier [EMAIL PROTECTED] wrote:

On Sun, Feb 04, 2007 at 04:04:56PM +0100, Henning Brauer wrote:
 * Andreas Bihlmaier [EMAIL PROTECTED] [2007-02-04 14:04]:
  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/)

 save yourself the trouble and just go for ports/sysutils/symon/

Thanks everybody who responded.
I eventually went with symon and used a shell script based on:
http://www.benzedrine.cx/statistics.html
but heavily modified.

Results:
http://bihlmaier.org/stats

Problems:
- The new two-level sensor framework is not supported, meaning
  sensor() is useless ATM.


There is a patch for symon for allowing it to adapt to the old
one-level or the new two-level sensor framework at compile time:

http://marc.theaimsgroup.com/?l=openbsd-portsm=116917726601827w=2

Willem Dijkstra, author of symon, has this patch, but he told me he is
too overwhelmed with other work, so I don't know if a new version of
symon is coming out anytime soon. Maybe someone could put this patch
into the ports tree before OpenBSD 4.1 freeze?

Cheers,
Constantine.



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)



Re: searching a good MRTG/SNMP configuration

2007-02-05 Thread Brian A. Seklecki
You still need a list of valid SNMP OIDs that the agent is capable of 
mapping from real-world values into vendor-independent MIBs.


Good speed you my son.

~BAS


On Mon, 5 Feb 2007, AstraSerg wrote:


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)




l8*
-lava (Brian A. Seklecki - Pittsburgh, PA, USA)
   http://www.spiritual-machines.org/

...from back in the heady days when helpdesk meant nothing, diskquota
meant everything, and lives could be bought and sold for a couple of pages
of laser printout - and frequently were.



searching a good MRTG/SNMP configuration

2007-02-04 Thread Andreas Bihlmaier
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



Re: searching a good MRTG/SNMP configuration

2007-02-04 Thread Henning Brauer
* Andreas Bihlmaier [EMAIL PROTECTED] [2007-02-04 14:04]:
 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/)

save yourself the trouble and just go for ports/sysutils/symon/

-- 
Henning Brauer, [EMAIL PROTECTED], [EMAIL PROTECTED]
BS Web Services, http://bsws.de
Full-Service ISP - Secure Hosting, Mail and DNS Services
Dedicated Servers, Rootservers, Application Hosting - Hamburg  Amsterdam