Unknown storage : ^/$: ERROR after apt upgrade with check_snmp_storage

Hi all,

I have a very strange problem with some Linux servers.
Updates were installed via apt-get upgrade and after that the disk partition checks via check_snmp_storage.pl do not work anymore.
image

Apt History example of two servers
Start-Date: 2019-09-06  08:08:50
Commandline: apt-get upgrade
Upgrade: libsnmp-base:amd64 (5.7.3+dfsg-1.8ubuntu3.1, 5.7.3+dfsg-1.8ubuntu3.2), libsnmp-perl:amd64 (5.7.3+dfsg-1.8ubuntu3.1, 5.7.3+dfsg-1.8ubuntu3.2), snmpd:amd64 (5.7.3+dfsg-1.8ubuntu3.1, 5.7.3+dfsg-1.8ubuntu3.2), libsnmp30:amd64 (5.7.3+dfsg-1.8ubuntu3.1, 5.7.3+dfsg-1.8ubuntu3.2)

Start-Date: 2019-09-06  08:29:42
Commandline: apt-get upgrade
Upgrade: libfdisk1:amd64 (2.27.1-6ubuntu3.7, 2.27.1-6ubuntu3.8), libmount1:amd64 (2.27.1-6ubuntu3.7, 2.27.1-6ubuntu3.8), libsnmp-base:amd64 (5.7.3+dfsg-1ubuntu4.2, 5.7.3+dfsg-1ubuntu4.3), util-linux:amd64 (2.27.1-6ubuntu3.7, 2.27.1-6ubuntu3.8), mount:amd64 (2.27.1-6ubuntu3.7, 2.27.1-6ubuntu3.8), snmpd:amd64 (5.7.3+dfsg-1ubuntu4.2, 5.7.3+dfsg-1ubuntu4.3), libblkid1:amd64 (2.27.1-6ubuntu3.7, 2.27.1-6ubuntu3.8), libsnmp30:amd64 (5.7.3+dfsg-1ubuntu4.2, 5.7.3+dfsg-1ubuntu4.3), psmisc:amd64 (22.21-2.1build1, 22.21-2.1ubuntu0.1), libuuid1:amd64 (2.27.1-6ubuntu3.7, 2.27.1-6ubuntu3.8), libsmartcols1:amd64 (2.27.1-6ubuntu3.7, 2.27.1-6ubuntu3.8)
df output example
Filesystem                         1K-blocks     Used Available Use% Mounted on
udev                                 4053104        0   4053104   0% /dev
tmpfs                                 816848     1184    815664   1% /run
/dev/mapper/ubuntu--vg-lv_root      50307616 40253792   7468636  85% /
tmpfs                                4084232        0   4084232   0% /dev/shm
tmpfs                                   5120        0      5120   0% /run/lock
tmpfs                                4084232        0   4084232   0% /sys/fs/cgroup
/dev/loop0                             90880    90880         0 100% /snap/core/7396
/dev/loop1                             90624    90624         0 100% /snap/core/7270
/dev/sda2                             999320   146276    784232  16% /boot
//service-bla/CSV  83482620 62361768  21120852  75% /mnt/CSV
tmpfs                                 816844        0    816844   0% /run/user/0

I restarted one of the less important systems, but that didn’t help.

Tried changing the -m partition parameter to just /, didn’t help.

Ran the check_snmp_storage script with parameter -v
– only finds the “memory stuff”, no storage devices
– restarted snmpd on both the icinga and the remote server, didn’t help

Now I’m out of ideas what to do next.

image

EDIT: TADA :partying_face::poop::tada:
https://bugs.launchpad.net/ubuntu/+source/net-snmp/+bug/1843036

[regression] SNMP missing disks in hrStorageTable
Bug #1843036 reported by Eric Desrochers 1 hour ago

So this should be all good after there is a bugfix of net-snmp published.

Best regards
:slight_smile:

3 Likes