Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 672940 - net-analyzer/net-snmp-? - snmpd : duplicate registration: MIB modules pass_persist and pass_persist (oid .1.3.6.1.4.1.2021.255).
Summary: net-analyzer/net-snmp-? - snmpd : duplicate registration: MIB modules pass_pe...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Netmon project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-12-11 18:33 UTC by Plopmaster
Modified: 2018-12-12 08:10 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Plopmaster 2018-12-11 18:33:44 UTC
Hi,

At run, snmpd says : duplicate registration: MIB modules pass_persist and pass_persist (oid .1.3.6.1.4.1.2021.255).

I have this line in my snmpd.conf : pass_persist .1.3.6.1.4.2.2021.255 /usr/bin/timeout 10 /bin/sh /usr/local/sbin/grey_persist -v

I can't snmpwalk this OID:

$ snmpwalk -On -v2c -c public localhost .1.3.6.1.4.1.2021.255
.1.3.6.1.4.1.2021.255 = No Such Object available on this agent at this OID

I have the exact same configuration (snmpd version 5.7.3, pass_persist in snmpd.conf and shell script) on a FreeBSD, and it works on it.

equery u net-snmp : 
 * Found these USE flags for net-analyzer/net-snmp-5.7.3-r5:
 U I
 - - X                        : Add support for X11
 + + bzip2                    : Use the bzlib compression library
 - - doc                      : Add extra documentation (API, Javadoc, etc). It is recommended to enable per package instead of globally
 - - elf                      : Enable the use of elf utils to check uptime on some systems
 + + ipv6                     : Add support for IP version 6
 - - libressl                 : Use dev-libs/libressl instead of dev-libs/openssl when applicable (see also the ssl useflag)
 + + lm_sensors               : Add linux lm_sensors (hardware sensors) support
 - - mfd-rewrites             : Use MFD rewrites of mib modules where available
 - - minimal                  : Install a very minimal build (disables, for example, plugins, fonts, most drivers, non-critical features)
 + + mysql                    : Add mySQL Database support
 - - netlink                  : Use dev-libs/libnl to fetch TCP statistics instead of using /proc/net/tcp (Linux only).
 - - pci                      : Use libpci (from sys-apps/pciutils) to look up network interface description. This feature is only available on Linux.
 + + perl                     : Add optional support/bindings for the Perl language
 - - python                   : Add optional support/bindings for the Python language
 + + python_targets_python2_7 : Build with Python 2.7
 - - rpm                      : Enable monitoring of app-arch/rpm. This flag requires the bzip2 and zlib flags to be enabled as well.
 - - smux                     : Enable support for the legacy smux protocol (superseded by agentx)
 + + ssl                      : Add support for SSL/TLS connections (Secure Socket Layer / Transport Layer Security)
 + + tcpd                     : Add support for TCP wrappers
 - - ucd-compat               : Build UCD compatibility library. Increases significantly the install size.
 + + zlib                     : Add support for zlib (de)compression