Gather is a simple tool to that gathers a large amount of searchable information from your IT infrastructure. Gather requires a list of your infrastructure devices and a list of commands you want to issue to the devices to extract data.
The command file is a text file consisting of commands you want to issue on your infrastructure devices.
The target file consists of a list of devices that Gather will ssh to and issue the commands specified in the...command file ;)
Gathering data is as simple as following the prompts
The output file is a simply the output of the commands issued on each device. Gather's secret sauce is how the data is tagged. Each line of the output is tagged with the device name and the command name. The tags added to the command enable the output information to be searched and consolidated in an infinite amount of combinations.
In this example, we will search for the type and number of each type of OS image in your infrastructure. The unix search we use in this example is:
grep "show version" output.txt | grep "Software image version" | awk '{print $NF}' | uniq -c
In this example, we will search for physical layer errors across the entire network infrastructure. The unix search we use in this example is:
grep "show interface counters error" output.txt | grep -v "0 0 0 0 0 0 0"
In this example we search the running configuration of every network device to audit the local usernames. The unix search we use in this example is:
grep "show running" output.txt | grep -i user