snmp2xml is a program to convert snmpget output to XML. The output from snmpget, snmpwalk, or snmpbulkwalk is first filtered to correct for SNMP agent flaws and then processed into XML. This XML can be passed through xmllint to tidy it up or it can be processed by an XQuery or XSLT processor. The XML output represents all the SNMP data such that the original SNMP output can be reproduced if desired with an XSLT stylesheet (which is included). The snmp2xml converter has been tested on 7 SNMP agents: Mac OS X, Apple Time Capsule, the Billion ADSL router, the Huawei S9306 switch, the Foundry/Brocade CES and MLX-4 switches, and the Nortel 425 switch.
|Operating Systems||Linux Unix Mac OS X|
|Implementation||Awk libxml2 xmllint|