From owner-freebsd-hackers Wed Nov 20 12:52:51 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id MAA06327 for hackers-outgoing; Wed, 20 Nov 1996 12:52:51 -0800 (PST) Received: from zibbi.mikom.csir.co.za (zibbi.mikom.csir.co.za [146.64.24.58]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id MAA06291 for ; Wed, 20 Nov 1996 12:52:46 -0800 (PST) Received: (from jhay@localhost) by zibbi.mikom.csir.co.za (8.7.6/8.7.3) id WAA10785; Wed, 20 Nov 1996 22:52:26 +0200 (SAT) From: John Hay Message-Id: <199611202052.WAA10785@zibbi.mikom.csir.co.za> Subject: Re: Help: ucd-snmpd w/freebsd In-Reply-To: <56vo8j$irv$1@haywire.DIALix.COM> from Peter Wemm at "Nov 20, 96 08:04:35 pm" To: peter@spinner.DIALix.COM (Peter Wemm) Date: Wed, 20 Nov 1996 22:52:26 +0200 (SAT) Cc: freebsd-hackers@FreeBSD.org X-Mailer: ELM [version 2.4ME+ PL24 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-hackers@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk > > > > The result of the last request is cached by snmpd. I haven't looked > > at the code to see if this is a feature or not. Query another > > variable then query ifInOctets.1 again and you should see that it > > has changed. > > > > John Capo > > I ran into this when setting up mrtg, and disabled the "optimisation" in > the snmpd code. I was unsure whether to commit the patch to the ports > collection, it makes very little difference in cpu resource consumption > but certainly makes a lot of strange side effects disappear. > > -Peter > Yes, please put it in. At first my work-around was to configure mrtg to monitor two interfaces om the machine, until I could figure out where in the code the problem was. John -- John Hay -- John.Hay@mikom.csir.co.za