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 -v2c -c public -Cn1 -Cr1 -Os localhost 
HOST-RESOURCES-MIB::hrSWInstalledTable

Result:
hrSWInstalledIndex.0 = INTEGER: 0

If these steps are not good enough for your processes I can try to
reproduce it from a 17.10 virtual machine.



** Attachment added: "Dockerfile"
   
https://bugs.launchpad.net/ubuntu/+source/net-snmp/+bug/1314760/+attachment/5063685/+files/Dockerfile

-- 
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.launchpad.net/ubuntu/+source/net-snmp/+bug/1314760/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to