[Pkg-net-snmp-devel] Bug#717033: snmpd: TimeInterval intepreted as 0.001 seconds instead of 0.01 seconds

Martin.Perzl at rohde-schwarz.com Martin.Perzl at rohde-schwarz.com
Tue Jul 16 07:45:05 UTC 2013

Package: snmpd
Version: 5.4.1~dfsg-12
Severity: normal

I have set up an inform-sink in the snmpd config file. 
Querying SNMP-TARGET-MIB::snmpTargetAddrTimeout shows, that the timeout is 
set to 1000 (which is the default value in net-SNMP). 
SNMP-TARGET-MIB::snmpTargetAddrTimeout is of type TimeInterval, which is 
defined as a period of time measured in 0.01 seconds (see 
for details) 

I am assuming, that informs will be re-sent (if not acknowledged) every 
10 seconds (1000*0.01 seconds = 10 seconds) 

But in fact, the retry interval, which I observed was 1 second (instead 
of the expected 10 seconds) 

This means, that in this case, TimeInterval in interpreted as 0.001 
seconds instead of 0.01 seconds.

Either the documentation on TimeInterval is wrong, or 
snmpTargetAddrTimeout has an incorrect Datatype assigned or 
snmpTargetAddrTimeout is implemented incorrectly

-- System Information:
Debian Release: 5.0.9
  APT prefers oldstable
  APT policy: (500, 'oldstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-2-686 (SMP w/3 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages snmpd depends on:
ii  adduser                    3.110         add and remove users and 
ii  debconf                    1.5.24        Debian configuration 
management sy
ii  libc6                      2.7-18lenny7  GNU C Library: Shared 
ii  libsnmp15                  5.4.1~dfsg-12 SNMP (Simple Network 
Management Pr
ii  libwrap0                   7.6.q-16      Wietse Venema's TCP wrappers 

snmpd recommends no packages.

snmpd suggests no packages.

-- debconf information:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-net-snmp-devel/attachments/20130716/a483afac/attachment.html>

More information about the Pkg-net-snmp-devel mailing list