Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Nov 1996 16:03:04 -0700 (MST)
From:      Ade Barkah <mbarkah@hemi.com>
To:        hackers@freebsd.org
Cc:        wesley.hardaker@sphys.unil.ch
Subject:   Re: Help: ucd-snmpd w/freebsd
Message-ID:  <199611182303.QAA13386@hemi.com>
In-Reply-To: <199611182122.OAA09009@hemi.com> from "Ade Barkah" at Nov 18, 96 02:22:44 pm

next in thread | previous in thread | raw e-mail | index | archive | help
Problem: the interface counters never seem to get updated once 
snmpd is running.  ... on FreeBSD 2.1 with ucd-smtpd 3.1 ...

> $ snmpget -v 1 localhost public interfaces.ifTable.ifEntry.ifInOctets.1
> interfaces.ifTable.ifEntry.ifInOctets.1 = 558046531
> 
> (five minutes later)
> 
> $ snmpget -v 1 localhost public interfaces.ifTable.ifEntry.ifInOctets.1
> interfaces.ifTable.ifEntry.ifInOctets.1 = 558046531

Nothing like replying to my own mail... some further info... if I 
use snmpwalk (which is a GET NEXT) instead of a snmpget (a plain 
GET request) then the interface counters are incremented as expected.

Incidently, doing a snmpget on system.sysUpTime.0 gets the expected
results (ticks get incremented on each subsequent calls.)

Thanks for any help,

-Ade
cc: Wesley.Hardaker@sphys.unil.ch
-------------------------------------------------------------------
Inet: mbarkah@hemi.com - HEMISPHERE ONLINE - <http://www.hemi.com/>;
-------------------------------------------------------------------



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199611182303.QAA13386>