[Bug 1843036] Re: [regression] SNMP missing disks in hrStorageTable

2019-09-09 Thread Joseph Gooch
Confirmed working Xenial: snmpd: Installed: 5.7.3+dfsg-1ubuntu4.4 Candidate: 5.7.3+dfsg-1ubuntu4.4 Version table: *** 5.7.3+dfsg-1ubuntu4.4 500 500 http://us.archive.ubuntu.com/ubuntu xenial-proposed/main amd64 Packages 100 /var/lib/dpkg/status And Bionic: snmpd:

[Bug 1843036] Re: [regression] SNMP missing disks in hrStorageTable

2019-09-06 Thread Joseph Gooch
Confirmed testpkg20190906b3 fixes the issue for me as well. I imagine there will need to be a xenial backport too? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1843036 Title: [regression] SNMP

[Bug 1843005] Re: disk usage not showing up in HOST-RESOURCES-MIB::hrStorageTable after latest update

2019-09-06 Thread Joseph Gooch
*** This bug is a duplicate of bug 1843036 *** https://bugs.launchpad.net/bugs/1843036 ** This bug is no longer a duplicate of bug 1842924 hrStorage Not Available In 5.7.3+dfsg-1ubuntu4.3 ** This bug has been marked a duplicate of bug 1843036 [regression] SNMP missing disks in

[Bug 1842924] Re: hrStorage Not Available In 5.7.3+dfsg-1ubuntu4.3

2019-09-06 Thread Joseph Gooch
*** This bug is a duplicate of bug 1843036 *** https://bugs.launchpad.net/bugs/1843036 Dev is apparently happening on this ticket FYI https://bugs.launchpad.net/ubuntu/+source/net-snmp/+bug/1843036 ** This bug has been marked a duplicate of bug 1843036 [regression] SNMP missing disks in

[Bug 1843036] Re: [regression] SNMP missing disks in hrStorageTable

2019-09-06 Thread Joseph Gooch
Docker test case attached - if you untar this, and cd DockerTestCase docker build . It'll run through, download the pkg from your PPA and illustrate that OIDs above 30 are missing. 8ubuntu3.1 returns this: 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 =

[Bug 1843036] Re: [regression] SNMP missing disks in hrStorageTable

2019-09-06 Thread Joseph Gooch
Duplicate of https://bugs.launchpad.net/ubuntu/+source/net- snmp/+bug/1842924 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1843036 Title: [regression] SNMP missing disks in hrStorageTable To

[Bug 1843036] Re: [regression] SNMP missing disks in hrStorageTable

2019-09-06 Thread Joseph Gooch
Need this too if you haven't included it... ** Patch added: "fix_hrstorage_after_autofs.patch" https://bugs.launchpad.net/ubuntu/+source/net-snmp/+bug/1843036/+attachment/5287145/+files/fix_hrstorage_after_autofs.patch -- You received this bug notification because you are a member of

[Bug 1842924] Re: hrStorage Not Available In 5.7.3+dfsg-1ubuntu4.3

2019-09-06 Thread Joseph Gooch
Patch provided on upstream bugreport https://sourceforge.net/p/net-snmp/patches/1350/ Here's the quilt version of the chatter... ** Patch added: "fix_hrstorage_after_autofs.patch"

[Bug 1842924] Re: hrStorage Not Available In 5.7.3+dfsg-1ubuntu4.3

2019-09-06 Thread Joseph Gooch
Or not, I think I found it. This line: /* Skip AUTOFS entries */ if (entry->type == NETSNMP_FS_TYPE_AUTOFS) continue; Looks really innocuous until you run it through gcc -E: if (entry->type == 7 | 0x1000 | 0x2000) continue; At which point you

[Bug 1842924] Re: hrStorage Not Available In 5.7.3+dfsg-1ubuntu4.3

2019-09-06 Thread Joseph Gooch
I removed #if HAVE_GETFSSTAT And #endif /* HAVE_GETFSSTAT */ Based on looking at the Check_HR_FileSys_NFS function earlier in the file, it was structured like: #if HAVE_GETFSSTAT something that looks nothing like the autofs function above with different constants #else something that looks

[Bug 1842924] Re: hrStorage Not Available In 5.7.3+dfsg-1ubuntu4.3

2019-09-05 Thread Joseph Gooch
While that's wrong it must be more than that because changing it didn't fix it. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1842924 Title: hrStorage Not Available In 5.7.3+dfsg-1ubuntu4.3 To

[Bug 1842924] Re: hrStorage Not Available In 5.7.3+dfsg-1ubuntu4.3

2019-09-05 Thread Joseph Gooch
This part looks questionable: @@ -839,6 +839,27 @@ Check_HR_FileSys_NFS (void) return 0; /* no NFS file system */ } +/* This function checks whether current file system is an AutoFs + * HRFS_entry must be valid prior to calling this function + * return 1 if AutoFs, 0 otherwise + */

[Bug 1842924] Re: hrStorage Not Available In 5.7.3+dfsg-1ubuntu4.3

2019-09-05 Thread Joseph Gooch
Some behavior seen here, on Xenial but also on Bionic @ 5.7.3+dfsg-1.8ubuntu3.2 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1842924 Title: hrStorage Not Available In 5.7.3+dfsg-1ubuntu4.3 To