mrtg configuration
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:public@192.168.1.254
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 public@192.168.1.254
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.
Reply to: