[tahoe-dev] awk parser for node status

Anders Genell anders.genell at gmail.com
Tue Aug 13 20:01:21 UTC 2013


Glad to hear it!

I'm thinking of using this as a starting point for a script that can test connectivity on reported as well as expected ports and auto notify, e.g. through email, if things are not dandy. 

I'll post whatever I come up with. 

Regards,
Anders




13 aug 2013 kl. 21:45 skrev Ed Kapitein <ed at kapitein.org>:

> Thanks, works like a charm!
> 
> Kind regards,
> Ed
> 
> On 08/12/13 17:14, Anders Genell wrote:
>> Try it now.
>> 
>> Regards,
>> Anders
>> 
>> 
>> 
>> 12 aug 2013 kl. 16:35 skrev Ed Kapitein <ed at kapitein.org>:
>> 
>>> Hi Anders,
>>> 
>>> Nice job, looks better then my quick and dirty cruft.
>>> 
>>> It does mangle the space characters in a nick.
>>> ( ZP Test Node became ZPTestNode )
>>> Not really important, but you might like to fix it.
>>> 
>>> Kind regards,
>>> Ed
>>> 
>>> 
>>> On Mon, 2013-08-12 at 16:13 +0200, Anders Genell wrote:
>>>> Dear list!
>>>> 
>>>> 
>>>> I have written a small awk script for parsing the WUI welcome page in
>>>> order to easily determine node status from the command line.
>>>> 
>>>> 
>>>> Typically one would do
>>>> 
>>>> 
>>>> wget -O - | awk -f check_nodes.awk
>>>> 
>>>> 
>>>> please feel free to use and abuse as you like.
>>>> 
>>>> 
>>>> Regards,
>>>> Anders
>>>> 
>>>> 
>>>> https://www.dropbox.com/s/e6re3l1sranipuy/check_nodes.awk
>>>> 
>>>> 
>>>> 
>>>> _______________________________________________
>>>> tahoe-dev mailing list
>>>> tahoe-dev at tahoe-lafs.org
>>>> https://tahoe-lafs.org/cgi-bin/mailman/listinfo/tahoe-dev
> 


More information about the tahoe-dev mailing list