This works great! Wondering if there is an easy way to include the client IP address in the output? Guessing I would need to add something to this section? # Output to file "name", "model", "serial" of the device as well as the "description" and "mac" # of the client f.write(current_networks[i]['name']) f.write(',') f.write(curr_net_devices[j]['model']) f.write(',') # f.write(str(curr_net_devices[j]['name'])) # f.write(',') f.write(curr_net_devices[j]['serial']) f.write(',') f.write(str(curr_clients[k]['description'])) f.write(',') f.write(curr_clients[k]['mac']) f.write("\n")
... View more