Can anyone suggest a good library or a method to parse the output similar to the following snmpwalk output.
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
The full output can be viewed here.
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