sk2/autonetkit — Issue #196: netkit data collection doesn't work
Author: coaj
Created: 2012-01-25 08:38:43+00:00
State: open

$ ank_collect_data
INFO Loading most recent snapshot: autonetkit_20120125_183036
INFO Restoring network
INFO Running collect data 1 times, 0 seconds between each iteration
INFO Collect iteration 0/1
INFO Connecting to monster
INFO Connected to monster
INFO rY.AS2: running zebra: show route

"show route" is wrong command. must be "show ip route"

trying to change that in autonetkit.cfg gives the following error:
$ ank_collect_data
Error loading configuration file:
Invalid key "collect data commands" in section "Netkit Hosts, hostname"

the config snippet:
[Netkit Hosts]
[[hostname]]
active = 1
collect data = 1
collect data commands = 'show ip route'