This bug was fixed in the package net-snmp - 5.7.3+dfsg-1.8ubuntu3
---
net-snmp (5.7.3+dfsg-1.8ubuntu3) bionic; urgency=medium
* d/p/0001-swinst_apt.c-Fix-indexing-of-hrSWInstalledTable-to-s.patch:
set first hrSWInstalledIndex to 1 to follow RFC 2790 (LP: #1314760)
-- Christia
Needed some help in proposed migration, but it is ready now.
Yet it is blocked behind the perl migration - once that succeeds it will get
into bionic-release as well.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launch
I agree to "I've worked around this for a few years now; it would be
nice to see an upstream fix merged.". If the upstream policy on
releasing would not be that bad Debian and Ubuntu would also have that
for years already.
Anyway no time to complain ... with your suggestions I got a repro case:
O
Attaching a rough pysnmp (4.2.5) test
$ python ./hrSwInstall.py centos6_srv.example.com 161 v2comm
HOST-RESOURCES-MIB::hrSWInstalledIndex."1" 1
HOST-RESOURCES-MIB::hrSWInstalledIndex."2" 2
HOST-RESOURCES-MIB::hrSWInstalledIndex."3" 3
HOST-RESOURCES-MIB::hrSWInstalledIndex."4" 4
HOST-RESOURCES-MIB:
@paelzer Check your snmpd.conf, make sure the OID you are searching for
(.1.3.6.1.2.1.25.6) is included in the view for the community you are
using.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/131476
Download attached dockerfile and build a docker image
$ docker build -t snmptest:latest .
Start snmpd container:
$ docker run --name snmpd --rm -it snmptest:latest
Run the snmpbulkget in another ephemeral container:
$ docker run --network="container:snmpd" --rm -it snmptest:latest \
snmpbulkget -
Happy to help. Sorry my current testing environment is not suited for
this, I hope docker is OK enough.
Attaching snmpd.conf, steps to follow.
** Attachment added: "snmpd.conf"
https://bugs.launchpad.net/ubuntu/+source/net-snmp/+bug/1314760/+attachment/5063675/+files/snmpd.conf
--
You recei
I thought I found it.
1. get extra MIBs (I had that already before)
$ apt install snmp-mibs-downloader
# modify to actually load all of them
$ cat /etc/snmp/snmp.conf
mibs +ALL
# restart the daemon
$ systemctl restart snmpd
But this exposes maybe another bug:
Bad operator (INTEGER): At line 73
Hmm,
this is unfortunate.
We really have everything together for a fix to be pushed, except valid steps
to reproduce.
And I'm not snmp'ish enough to fix it up (in the constraint of my patience) it
seems.
The initially reported command always gives me:
.1.3.6.1.2.1.25.6.3 = No more variables left
** Changed in: net-snmp (Ubuntu)
Assignee: (unassigned) => ChristianEhrhardt (paelzer)
** Changed in: net-snmp (Ubuntu)
Status: Confirmed => In Progress
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpa
PPA to test is at
https://launchpad.net/~ci-train-ppa-service/+archive/ubuntu/3167
MP:
https://code.launchpad.net/~paelzer/ubuntu/+source/net-snmp/+git/net-snmp/+merge/338099
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bu
** Merge proposal linked:
https://code.launchpad.net/~paelzer/ubuntu/+source/net-snmp/+git/net-snmp/+merge/338099
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1314760
Title:
first hrSWInstalled
** Tags added: server-next
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1314760
Title:
first hrSWInstalledIndex is 0, should be 1
To manage notifications about this bug go to:
https://bugs.launchp
The attachment "The upstream fix for the bug" seems to be a patch. If
it isn't, please remove the "patch" flag from the attachment, remove the
"patch" tag, and if you are a member of the ~ubuntu-reviewers,
unsubscribe the team.
[This is an automated message performed by a Launchpad user owned by
The upstream has a bugfix (yet to be released), which I am attaching
here. Please consider locally applying it for the time being.
** Patch added: "The upstream fix for the bug"
https://bugs.launchpad.net/ubuntu/+source/net-snmp/+bug/1314760/+attachment/4974338/+files/0001-swinst_apt.c-Fix-in
Status changed to 'Confirmed' because the bug affects multiple users.
** Changed in: net-snmp (Ubuntu)
Status: New => Confirmed
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1314760
Title:
f
** Changed in: net-snmp (Ubuntu)
Importance: Undecided => Medium
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1314760
Title:
first hrSWInstalledIndex is 0, should be 1
To manage notifications a
apport information
** Tags added: apport-collected saucy
** Description changed:
According to RFC 2790 the hrSWInstalledIndex should start at 1:
hrSWInstalledIndex OBJECT-TYPE
SYNTAX Integer32 (1..2147483647)
MAX-ACCESS read-only
STATUS current
18 matches
Mail list logo