[regression] SNMP missing disks in hrStorageTable
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
net-snmp (Ubuntu) |
Fix Released
|
High
|
Eric Desrochers | ||
Xenial |
Fix Released
|
High
|
Eric Desrochers | ||
Bionic |
Fix Released
|
High
|
Eric Desrochers | ||
Disco |
Fix Released
|
High
|
Eric Desrochers | ||
Eoan |
Fix Released
|
High
|
Eric Desrochers |
Bug Description
[IMPACT]
It has been brought to me the following:
Some hosts have started to cause UNKNOWN return values in Nagios for checks on their disks. This is because these hosts are no longer reporting their disks as part of the SNMP table hrStorageTable (1.3.6.
Upgrade package libsnmp-base 5.7.3+dfsg-
Upgrade package libsnmp30 5.7.3+dfsg-
Upgrade package snmpd 5.7.3+dfsg-
It seems likely that this package update is the cause.
As debug info, you can see the difference between 2 nearly identical servers, one of which received the SNMP updates, and one which did not. You can see that the one without the update is returning disks in the SNMP output:
# snmpwalk -v2c -cpublic arcprsmt01 1.3.6.1.
iso.3.6.
iso.3.6.
iso.3.6.
iso.3.6.
iso.3.6.
iso.3.6.
iso.3.6.
iso.3.6.
iso.3.6.
iso.3.6.
iso.3.6.
iso.3.6.
iso.3.6.
iso.3.6.
iso.3.6.
iso.3.6.
iso.3.6.
iso.3.6.
The other, which received SNMP updates, is returning only memory devices, such as swap and shmem:
# snmpwalk -v2c -cpublic arcprsmt02 1.3.6.1.
iso.3.6.
iso.3.6.
iso.3.6.
iso.3.6.
iso.3.6.
iso.3.6.
[Test Case]
* Install snmp snmpd
* Configure /etc/snmp/
view systemonly included .1.3.6.
* Restart snmpd
* Use snmpwalk:
** snmpwalk -v2c -cpublic localhost 1.3.6.1.
Expected behavior is to see the disk as follow:
"
iso.3.6.
iso.3.6.
iso.3.6.
iso.3.6.
iso.3.6.
iso.3.6.
iso.3.6.
iso.3.6.
iso.3.6.
iso.3.6.
iso.3.6.
iso.3.6.
iso.3.6.
iso.3.6.
iso.3.6.
"
[Potential Regression]
The fix has been tested by various impacted users (+/- 10 different impacted users), and feedback were all positives (see comments below).
Note that this fix a regression introduced by: https:/
[Other information]
# Upstream commit:
https:/
https:/
# git describe --contains 71e487212bd6583
v5.8.pre1
# rmadison:
net-snmp | 5.7.3+dfsg-1ubuntu4 | xenial | source
net-snmp | 5.7.3+dfsg-
net-snmp | 5.7.3+dfsg-
net-snmp | 5.7.3+dfsg-
net-snmp | 5.7.3+dfsg-
net-snmp | 5.7.3+dfsg-
net-snmp | 5.7.3+dfsg-
net-snmp | 5.7.3+dfsg-
net-snmp | 5.7.3+dfsg-5ubuntu1 | disco | source
net-snmp | 5.7.3+dfsg-
net-snmp | 5.7.3+dfsg-5ubuntu3 | eoan | source
Related branches
- Christian Ehrhardt (community): Approve
- Canonical Server packageset reviewers: Pending requested
- Canonical Server Core Reviewers: Pending requested
- Canonical Server: Pending requested
-
Diff: 1477 lines (+1238/-4)10 files modifieddebian/changelog (+821/-0)
debian/control (+4/-3)
debian/patches/Link-libnetsnmptrapd-against-MYSQL_LIBS.patch (+32/-0)
debian/patches/autofs-fix-a-recently-introduced-bug.patch (+36/-0)
debian/patches/autofs-skip-autofs-entries.patch (+237/-0)
debian/patches/fix-check-hr-filesys-autofs.patch (+36/-0)
debian/patches/mysql8-replace-bool.patch (+26/-0)
debian/patches/series (+5/-0)
debian/rules (+5/-1)
debian/source.apport (+36/-0)
- Rafael David Tinoco: Disapprove
-
Diff: 1460 lines (+1221/-4)10 files modifieddebian/changelog (+827/-0)
debian/control (+4/-3)
debian/patches/HOST-MIB-Fix-a-recently-introduced-bug.patch (+28/-0)
debian/patches/HOST-MIB-Skip-autofs-entries.patch (+230/-0)
debian/patches/Link-libnetsnmptrapd-against-MYSQL_LIBS.patch (+32/-0)
debian/patches/fix-check-hr-filesys-autofs.patch (+36/-0)
debian/patches/mysql8-replace-bool.patch (+18/-0)
debian/patches/series (+5/-0)
debian/rules (+5/-1)
debian/source.apport (+36/-0)
tags: | added: regression-update sts |
Changed in net-snmp (Ubuntu Bionic): | |
importance: | Undecided → High |
status: | New → In Progress |
assignee: | nobody → Eric Desrochers (slashd) |
Changed in net-snmp (Ubuntu Eoan): | |
assignee: | nobody → Eric Desrochers (slashd) |
Changed in net-snmp (Ubuntu Disco): | |
assignee: | nobody → Eric Desrochers (slashd) |
Changed in net-snmp (Ubuntu Xenial): | |
assignee: | nobody → Eric Desrochers (slashd) |
Changed in net-snmp (Ubuntu Eoan): | |
status: | Confirmed → In Progress |
Changed in net-snmp (Ubuntu Disco): | |
status: | Confirmed → In Progress |
Changed in net-snmp (Ubuntu Xenial): | |
status: | Confirmed → In Progress |
Changed in net-snmp (Ubuntu Disco): | |
importance: | Undecided → High |
Changed in net-snmp (Ubuntu Xenial): | |
importance: | Undecided → High |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
Changed in net-snmp (Ubuntu Bionic): | |
status: | Fix Committed → Fix Released |
Changed in net-snmp (Ubuntu Bionic): | |
status: | Fix Released → Fix Committed |
Others started to report the regression as well: /sourceforge. net/p/net- snmp/patches/ 1350/
https:/