ffnord / ffnord-puppet-gateway

Deploy and manage your Freifunk community gateway, mostly compatible with Gluon.
15 stars 13 forks source link

Helper for extracting informations from fastd socket. #74

Closed sargon closed 9 years ago

sargon commented 9 years ago

This pr introduces a new script fastd-query, which given a fastd socket via a enviroment variable, helps extracting often needed informations from the json string provided by fastd. The script utilises socat to retrieve the json from fastd status socket and jq for query data on that json blob.

Some of the target objects allow further filtering by appending jq querys.

ohrensessel commented 9 years ago

would you mind adding some explanation to the readme?

sargon commented 9 years ago

Good point :)