[Bug 1314760] Re: first hrSWInstalledIndex is 0, should be 1

2018-03-02 Thread Launchpad Bug Tracker
This bug was fixed in the package net-snmp - 5.7.3+dfsg-1.8ubuntu3 --- net-snmp (5.7.3+dfsg-1.8ubuntu3) bionic; urgency=medium * d/p/0001-swinst_apt.c-Fix-indexing-of-hrSWInstalledTable-to-s.patch: set first hrSWInstalledIndex to 1 to follow RFC 2790 (LP: #1314760) -- Christia

[Bug 1314760] Re: first hrSWInstalledIndex is 0, should be 1

2018-03-01 Thread ChristianEhrhardt
Needed some help in proposed migration, but it is ready now. Yet it is blocked behind the perl migration - once that succeeds it will get into bionic-release as well. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launch

[Bug 1314760] Re: first hrSWInstalledIndex is 0, should be 1

2018-02-27 Thread ChristianEhrhardt
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: O

[Bug 1314760] Re: first hrSWInstalledIndex is 0, should be 1

2018-02-26 Thread Vince N
Attaching a rough pysnmp (4.2.5) test $ python ./hrSwInstall.py centos6_srv.example.com 161 v2comm HOST-RESOURCES-MIB::hrSWInstalledIndex."1" 1 HOST-RESOURCES-MIB::hrSWInstalledIndex."2" 2 HOST-RESOURCES-MIB::hrSWInstalledIndex."3" 3 HOST-RESOURCES-MIB::hrSWInstalledIndex."4" 4 HOST-RESOURCES-MIB:

[Bug 1314760] Re: first hrSWInstalledIndex is 0, should be 1

2018-02-26 Thread Vince N
@paelzer Check your snmpd.conf, make sure the OID you are searching for (.1.3.6.1.2.1.25.6) is included in the view for the community you are using. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/131476

[Bug 1314760] Re: first hrSWInstalledIndex is 0, should be 1

2018-02-26 Thread Vince N
Download attached dockerfile and build a docker image $ docker build -t snmptest:latest . Start snmpd container: $ docker run --name snmpd --rm -it snmptest:latest Run the snmpbulkget in another ephemeral container: $ docker run --network="container:snmpd" --rm -it snmptest:latest \ snmpbulkget -

[Bug 1314760] Re: first hrSWInstalledIndex is 0, should be 1

2018-02-26 Thread Vince N
Happy to help. Sorry my current testing environment is not suited for this, I hope docker is OK enough. Attaching snmpd.conf, steps to follow. ** Attachment added: "snmpd.conf" https://bugs.launchpad.net/ubuntu/+source/net-snmp/+bug/1314760/+attachment/5063675/+files/snmpd.conf -- You recei

[Bug 1314760] Re: first hrSWInstalledIndex is 0, should be 1

2018-02-22 Thread ChristianEhrhardt
I thought I found it. 1. get extra MIBs (I had that already before) $ apt install snmp-mibs-downloader # modify to actually load all of them $ cat /etc/snmp/snmp.conf mibs +ALL # restart the daemon $ systemctl restart snmpd But this exposes maybe another bug: Bad operator (INTEGER): At line 73

[Bug 1314760] Re: first hrSWInstalledIndex is 0, should be 1

2018-02-22 Thread ChristianEhrhardt
Hmm, this is unfortunate. We really have everything together for a fix to be pushed, except valid steps to reproduce. And I'm not snmp'ish enough to fix it up (in the constraint of my patience) it seems. The initially reported command always gives me: .1.3.6.1.2.1.25.6.3 = No more variables left

[Bug 1314760] Re: first hrSWInstalledIndex is 0, should be 1

2018-02-22 Thread Andreas Hasenack
** Changed in: net-snmp (Ubuntu) Assignee: (unassigned) => ChristianEhrhardt (paelzer) ** Changed in: net-snmp (Ubuntu) Status: Confirmed => In Progress -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpa

[Bug 1314760] Re: first hrSWInstalledIndex is 0, should be 1

2018-02-20 Thread ChristianEhrhardt
PPA to test is at https://launchpad.net/~ci-train-ppa-service/+archive/ubuntu/3167 MP: https://code.launchpad.net/~paelzer/ubuntu/+source/net-snmp/+git/net-snmp/+merge/338099 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bu

[Bug 1314760] Re: first hrSWInstalledIndex is 0, should be 1

2018-02-20 Thread Launchpad Bug Tracker
** Merge proposal linked: https://code.launchpad.net/~paelzer/ubuntu/+source/net-snmp/+git/net-snmp/+merge/338099 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1314760 Title: first hrSWInstalled

[Bug 1314760] Re: first hrSWInstalledIndex is 0, should be 1

2017-12-08 Thread ChristianEhrhardt
** Tags added: server-next -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1314760 Title: first hrSWInstalledIndex is 0, should be 1 To manage notifications about this bug go to: https://bugs.launchp

[Bug 1314760] Re: first hrSWInstalledIndex is 0, should be 1

2017-10-17 Thread Ubuntu Foundations Team Bug Bot
The attachment "The upstream fix for the bug" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team. [This is an automated message performed by a Launchpad user owned by

[Bug 1314760] Re: first hrSWInstalledIndex is 0, should be 1

2017-10-17 Thread Eugene M. Kim
The upstream has a bugfix (yet to be released), which I am attaching here. Please consider locally applying it for the time being. ** Patch added: "The upstream fix for the bug" https://bugs.launchpad.net/ubuntu/+source/net-snmp/+bug/1314760/+attachment/4974338/+files/0001-swinst_apt.c-Fix-in

[Bug 1314760] Re: first hrSWInstalledIndex is 0, should be 1

2017-10-17 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: net-snmp (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1314760 Title: f

[Bug 1314760] Re: first hrSWInstalledIndex is 0, should be 1

2014-05-01 Thread Robie Basak
** Changed in: net-snmp (Ubuntu) Importance: Undecided => Medium -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1314760 Title: first hrSWInstalledIndex is 0, should be 1 To manage notifications a

[Bug 1314760] Re: first hrSWInstalledIndex is 0, should be 1

2014-04-30 Thread Vince N
apport information ** Tags added: apport-collected saucy ** Description changed: According to RFC 2790 the hrSWInstalledIndex should start at 1: hrSWInstalledIndex OBJECT-TYPE SYNTAX Integer32 (1..2147483647) MAX-ACCESS read-only STATUS current