Hi, On Wed, 23 Oct 2002, UnKnown wrote:
> Hi, sebastaan > The mrtg contacts the gateway in your case 192.168.1.254 asking for the > statistics on trafic, normaly any router like Cisco or similar has the user > public define to give away that information. If you have a linux runing as > router you have to do the magic. > so what you say is that SNMP has to be installed on a Linux box, since Linux does not 'speak' SNMP out of the box? Then I have 2 questions: 1. does SNMP eat much CPU power? (it is going to run on a PI/133MHz/40MB which is used for firewal/gateway/mailserver/proxy etc. for a small local network) 2. which package should I install? snmpd? Thanks, Sebastiaan > Cheers, > rak > PD: I haven't try that kind of magic yet, that's way I can't give you any > other advice. B) sorry > > On Wed, Oct 23, 2002 at 11:53:03AM +0200, Sebastiaan wrote: > > Hi, > > > > I am trying to visualize the traffic on my local network with mrtg, but I > > get some errors. My mrtg config file is this: > > > > # This file is for use with mrtg-2.5.4c > > > > # Global configuration > > WorkDir: /var/www/mrtg > > WriteExpires: Yes > > > > Title[^]: Traffic Analysis for > > PageTop[^]: <H1>Stats for > > MaxBytes[_]: 8000 > > Options[_]: growright > > > > Title[lan]: interface eth0 > > PageTop[lan]: interface eth0</H1> > > Target[lan]: 2:[EMAIL PROTECTED] > > > > > > > > but when running 'mrtg /etc/mrtg.cfg' I get smnp errors: > > SNMP Error: > > no response received > > SNMPv1_Session (remote host: "192.168.1.254" [192.168.1.254].161) > > community: "public" > > request ID: 1844015366 > > PDU bufsize: 8000 bytes > > timeout: 2s > > retries: 5 > > backoff: 1) > > at /usr/lib/perl5/SNMP_util.pm line 456 > > SNMPGET Problem for ifInOctets.2 ifOutOctets.2 sysUptime sysName on >[EMAIL PROTECTED] > > at /usr/bin/mrtg line 1496 > > WARNING: Expected a number but got '' > > WARNING: Expected a number but got '' > > > > > > to be onest, I have no idea where SNMP is used for, but I read in the docs > > that mrtg is able to work without extra snmp installations. I just want > > the traffic on eth0 measured. > > > > Any hints? > > > > Thanks in advance, > > Sebastiaan > > > > > > -- > > NT is the OS of the future. The main engine is the 16-bit Subsystem > > (also called MS-DOS Subsystem). Above that, there is the windoze 95/98 > > 16-bit Subsystem. Anyone can see that 16+16=32, so windoze NT is a > > *real* 32-bit system. > > > > > > > > -- > > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] > > > -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

