As part of the new node dashboards, we need to gather info from the nodes and pass it to the frontend dashboard app. There were some shell scripts but they weren't very complete and I couldn't find them yesterday, so I sat down to learn awk. Awk is very graceful for parsing data out of text, but I found it cumbersome generating json from the data in its memory.

SO I just did it with Go. Go compiles to machine code that will run easily on the routers (unlike js). Also, it will be good for doing other things to build up the data, like pinging endpoints etc. Here is the repo: https://github.com/sudomesh/node-info-go

I will be at the meeting tomorrow to talk about how to harvest the rest of the data we need to build a full dashboard.

-Jehan