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:
On any Bionic system:
$ apt install snmpd snmp snmp-mibs-downloader
# Add to /etc/snmp/snmpd.conf
view systemonly included .1.3.6.1.2.1.25
rocommunity public localhost
$ systemctl restart snmpd
$ snmpbulkget -v2c -c public -Cn1 -Cr1 -Os localhost HOST-RESOURCES-MIB::hrSWInstalledTable
hrSWInstalledIndex.0 = INTEGER: 0
Installed from the ppa:
$ snmpbulkget -v2c -c public -Cn1 -Cr1 -Os localhost HOST-RESOURCES-MIB::hrSWInstalledTable
hrSWInstalledIndex.1 = INTEGER: 1
Also the upgrade was smooth, with all that in place (MP, Test, ...) ready to upload.
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:
On any Bionic system: downloader snmpd.conf MIB::hrSWInstal ledTable dex.0 = INTEGER: 0
$ apt install snmpd snmp snmp-mibs-
# Add to /etc/snmp/
view systemonly included .1.3.6.1.2.1.25
rocommunity public localhost
$ systemctl restart snmpd
$ snmpbulkget -v2c -c public -Cn1 -Cr1 -Os localhost HOST-RESOURCES-
hrSWInstalledIn
Installed from the ppa: MIB::hrSWInstal ledTable dex.1 = INTEGER: 1
$ snmpbulkget -v2c -c public -Cn1 -Cr1 -Os localhost HOST-RESOURCES-
hrSWInstalledIn
Also the upgrade was smooth, with all that in place (MP, Test, ...) ready to upload.