title: Parsing snmp walk output using python
body: <p>Can anyone suggest a good library or a method to parse the output similar to the following snmpwalk output.</p>
  
  <p>The output is from a juniper box. I want to be able to extract things like the serial numbers and associate with the relevant components</p>
  
  <p><a href="https://ippacket.com.au/show-snmp-mib-walk-jnxboxanatomy-1-3-6-1-4-1-2636-3-1/" rel="nofollow noreferrer">The full output can be viewed here.</a></p>
  
  <pre><code>SOME_DEVICE_NAME,2636.3.1.1.0 : OBJECT IDENTIFIER: .iso.org.dod.internet.private.enterprises.2636.1.1.1.1.40.0
  SOME_DEVICE_NAME,2636.3.1.2.0 : OCTET STRING- (ascii):     node1 Juniper SRX650 Internet Router
  SOME_DEVICE_NAME,2636.3.1.3.0 : OCTET STRING- (ascii):     AJ5113AK0055
  SOME_DEVICE_NAME,2636.3.1.4.0 : OCTET STRING- (ascii):
  SOME_DEVICE_NAME,2636.3.1.5.0 : Timeticks: (2147483647) 248 days, 13:13:56.47
  </code></pre>