Received: (at submit) by bugs.debian.org; 15 Aug 2000 21:31:37 +0000 From admin@ferret.phonewave.net Tue Aug 15 16:31:37 2000 Return-path: Received: from ferret.phonewave.net (tarot.mentasm.org) [::ffff:208.138.51.183] by master.debian.org with esmtp (Exim 3.12 1 (Debian)) id 13OoJ6-0003ya-00; Tue, 15 Aug 2000 16:31:37 -0500 Received: from admin by tarot.mentasm.org with local (Exim 3.12 #1 (Debian)) id 13OoJ3-0004pP-00; Tue, 15 Aug 2000 14:31:33 -0700 From: Subject: mrtg: uptime statistics in the produced html files are incorrect To: submit@bugs.debian.org X-Mailer: bug 3.2.10 Message-Id: Date: Tue, 15 Aug 2000 14:31:33 -0700 Delivered-To: submit@bugs.debian.org Package: mrtg Version: 2.8.9-1 Severity: normal From file://localhost/var/www/mrtg/ferret.phonewave.net.html, The statistics were last updated Tuesday, 15 August 2000 at 14:20 , at which time 'tarot' had been up for 0:14:21. tarot:/var/www/mrtg# uptime 2:18pm up 14 days, 20:37, 8 users, load average: 0.19, 0.10, 0.08 It appears that mrtg is returning a value corresponding to snmpd's running time instead of the system uptime, as I can stop and start snmpd. Lo and behold: The statistics were last updated Tuesday, 15 August 2000 at 14:30 , at which time 'tarot' had been up for 0:04:22. -- System Information Debian Release: 2.2 Kernel Version: Linux tarot 2.2.17-usb #1 Wed Jul 19 00:12:45 PDT 2000 i586 unknown Versions of the packages mrtg depends on: ii freetype2 1.3.1-1 The FREE TrueType Font Engine, shared library files. ii libc6 2.1.3-10 GNU C Library: Shared libraries and Timezone data ii libgd1g 1.7.3-0.1 GD Graphics Library ii libpng2 1.0.5-1 PNG library - runtime ii libsnmp-session-per 0.75-1 Perl support for accessing SNMP-aware devices ii zlib1g 1.1.3-5 compression library - runtime ^^^ (Provides virtual package libz1) ii perl-5.004 5.004.05-6 Larry Wall's Practical Extracting and Report Language. ^^^ (Provides virtual package perl5) --- Begin /etc/mrtg.cfg (modified conffile) WorkDir: /var/www/mrtg WriteExpires: Yes Title[^]: Traffic Analysis for Target[tarot.mentasm.org]: 2:mentasm@tarot MaxBytes[tarot.mentasm.org]: 1250000 Title[tarot.mentasm.org]: tarot (tarot.mentasm.org): eth0 PageTop[tarot.mentasm.org]:

Traffic Analysis for eth0

System:tarot in Unknown (configure /etc/snmp/snmp.local.conf)
Maintainer:Root (configure /etc/snmp/snmp.local.conf)
Interface:eth0 (2)
IP:tarot.mentasm.org (192.168.1.1)
Max Speed: 1250.0 kBytes/s (ethernetCsmacd)
Target[ferret.phonewave.net]: 3:mentasm@tarot MaxBytes[ferret.phonewave.net]: 1250000 Title[ferret.phonewave.net]: tarot (ferret.phonewave.net): eth1 PageTop[ferret.phonewave.net]:

Traffic Analysis for eth1

System:tarot in Unknown (configure /etc/snmp/snmp.local.conf)
Maintainer:Root (configure /etc/snmp/snmp.local.conf)
Interface:eth1 (3)
IP:ferret.phonewave.net (208.138.51.183)
Max Speed: 1250.0 kBytes/s (ethernetCsmacd)
--- End /etc/mrtg.cfg