You have been subscribed to a public bug by Eric Desrochers (slashd): [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.1.2.1.25.2.3.1 ) - only memory devices are being reported. The affected hosts that I have investigated received updates for SNMP: Upgrade package libsnmp-base 5.7.3+dfsg-1.8ubuntu3.1 to 5.7.3+dfsg-1.8ubuntu3.2 Upgrade package libsnmp30 5.7.3+dfsg-1.8ubuntu3.1 to 5.7.3+dfsg-1.8ubuntu3.2 Upgrade package snmpd 5.7.3+dfsg-1.8ubuntu3.1 to 5.7.3+dfsg-1.8ubuntu3.2 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.2.1.25.2.3.1.3 iso.3.6.1.2.1.25.2.3.1.3.1 = STRING: "Physical memory" iso.3.6.1.2.1.25.2.3.1.3.3 = STRING: "Virtual memory" iso.3.6.1.2.1.25.2.3.1.3.6 = STRING: "Memory buffers" iso.3.6.1.2.1.25.2.3.1.3.7 = STRING: "Cached memory" iso.3.6.1.2.1.25.2.3.1.3.8 = STRING: "Shared memory" iso.3.6.1.2.1.25.2.3.1.3.10 = STRING: "Swap space" iso.3.6.1.2.1.25.2.3.1.3.31 = STRING: "/" iso.3.6.1.2.1.25.2.3.1.3.37 = STRING: "/run" iso.3.6.1.2.1.25.2.3.1.3.39 = STRING: "/dev/shm" iso.3.6.1.2.1.25.2.3.1.3.40 = STRING: "/run/lock" iso.3.6.1.2.1.25.2.3.1.3.41 = STRING: "/sys/fs/cgroup" iso.3.6.1.2.1.25.2.3.1.3.67 = STRING: "/run/snapd/ns" iso.3.6.1.2.1.25.2.3.1.3.70 = STRING: "/var/lib/docker/containers/3cad3d36991b677c37b08b374a7bfeceddf36a6b6754edaa1ff687b00111a6b8/mounts/shm" iso.3.6.1.2.1.25.2.3.1.3.73 = STRING: "/var/lib/docker/containers/c605c4b76dea65d562ba024212a38e24fb710186c499187b6604478b7ff678e9/mounts/shm" iso.3.6.1.2.1.25.2.3.1.3.82 = STRING: "/run/user/2002" iso.3.6.1.2.1.25.2.3.1.3.253 = STRING: "/var/lib/docker/containers/dc74a157fbaaa284e0e5b8ca4afc88769bf625eb796d89a5d26f98a540cabf35/mounts/shm" iso.3.6.1.2.1.25.2.3.1.3.256 = STRING: "/var/lib/docker/containers/6ce6193433f9c1c95cccbfbbe08a3f3385bdbc4f2e3f0baa02d11baf3866dfd2/mounts/shm" iso.3.6.1.2.1.25.2.3.1.3.258 = STRING: "/run/user/1000" The other, which received SNMP updates, is returning only memory devices, such as swap and shmem: # snmpwalk -v2c -cpublic arcprsmt02 1.3.6.1.2.1.25.2.3.1.3 iso.3.6.1.2.1.25.2.3.1.3.1 = STRING: "Physical memory" iso.3.6.1.2.1.25.2.3.1.3.3 = STRING: "Virtual memory" iso.3.6.1.2.1.25.2.3.1.3.6 = STRING: "Memory buffers" iso.3.6.1.2.1.25.2.3.1.3.7 = STRING: "Cached memory" iso.3.6.1.2.1.25.2.3.1.3.8 = STRING: "Shared memory" iso.3.6.1.2.1.25.2.3.1.3.10 = STRING: "Swap space" [Test Case] * Install/configure snmp snmpd * Run snmpwalk: (e.g. snmpwalk -v2c -cpublic localhost 1.3.6.1.2.1.25.2.3.1.3) [Potential Regression] None, the fix has been tested by various impacted users, and feedbacks were all positives. This fix a regression introduced by : https://bugs.launchpad.net/bugs/1835818 [Other information] # Upstream commit: https://github.com/net-snmp/net-snmp/commit/71e487212bd65839e7454df9701524d08cf0d74f # git describe --contains 71e487212bd65839e7454df9701524d08cf0d74f v5.8.pre1~7^2~14^2~15^2~22 # rmadison: net-snmp | 5.7.3+dfsg-1ubuntu4 | xenial | source net-snmp | 5.7.3+dfsg-1ubuntu4.2 | xenial-security | source net-snmp | 5.7.3+dfsg-1ubuntu4.2 | xenial-updates | source net-snmp | 5.7.3+dfsg-1ubuntu4.3 | xenial-proposed | source net-snmp | 5.7.3+dfsg-1.8ubuntu3 | bionic | source net-snmp | 5.7.3+dfsg-1.8ubuntu3.1 | bionic-security | source net-snmp | 5.7.3+dfsg-1.8ubuntu3.1 | bionic-updates | source net-snmp | 5.7.3+dfsg-1.8ubuntu3.2 | bionic-proposed | source net-snmp | 5.7.3+dfsg-5ubuntu1 | disco | source net-snmp | 5.7.3+dfsg-5ubuntu1.1 | disco-proposed | source net-snmp | 5.7.3+dfsg-5ubuntu3 | eoan | source ** Affects: net-snmp (Ubuntu) Importance: High Assignee: Eric Desrochers (slashd) Status: Fix Committed ** Affects: net-snmp (Ubuntu Xenial) Importance: High Assignee: Eric Desrochers (slashd) Status: In Progress ** Affects: net-snmp (Ubuntu Bionic) Importance: High Assignee: Eric Desrochers (slashd) Status: In Progress ** Affects: net-snmp (Ubuntu Disco) Importance: High Assignee: Eric Desrochers (slashd) Status: In Progress ** Affects: net-snmp (Ubuntu Eoan) Importance: High Assignee: Eric Desrochers (slashd) Status: Fix Committed ** Tags: patch regression-update sts -- [regression] SNMP missing disks in hrStorageTable https://bugs.launchpad.net/bugs/1843036 You received this bug notification because you are a member of STS Sponsors, which is subscribed to the bug report. -- Mailing list: https://launchpad.net/~sts-sponsors Post to : [email protected] Unsubscribe : https://launchpad.net/~sts-sponsors More help : https://help.launchpad.net/ListHelp

