Using SNMP on variable (switching) oids

Please add proper formatting to things you mark as a solution. Your current solution will not work for anyone when they copy and paste because the formatting for the post is incorrect. Edit your post, add ``` before and after your code seconds to turn it into a codeblock. This is all described in the FAQ point 11.