Skip to content
Snippets Groups Projects
Commit 532fe047 authored by Erik Reid's avatar Erik Reid
Browse files

added debug logging of snmp response data

parent ee1c5d07
No related branches found
No related tags found
No related merge requests found
......@@ -65,7 +65,9 @@ def walk(agent_hostname, community, base_oid):
# .resolveWithMib(mibViewController)
# for x in varBinds]
for oid, val in varBinds:
yield {"oid": "." + str(oid), "value": val.prettyPrint()}
result = {"oid": "." + str(oid), "value": val.prettyPrint()}
snmp_logger.debug(result)
yield result
def get_router_interfaces(hostname, community, config):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment