On Saturday, October 8, 2016 at 6:57:49 PM UTC-7, mwall wrote:
>
> btw, here it is with a better sed expression for the filter:
>
> ngrep -l -q -d eth0 '0004a369e0d6' | sed '/mac=/!d' | xargs -n 1 curl 
> http://localhost:9999 -s -d
>
> m
>

Ah yes. That filter is a bit more efficient, isn't it? I've confirmed it 
works, too.

Unfortunately, I get nothing but empty queue messages in syslog. :

~~~
root@raspberrypi:/home/pi# ngrep -l -q -d eth0 '0004a369e0d6' | sed 
'/mac=/!d' | xargs -n 1 curl http://localhost:9999 -s -d
~~~

Oct  8 20:09:20 raspberrypi weewx[676]: interceptor: MainThread: empty queue
Oct  8 20:09:30 raspberrypi weewx[676]: interceptor: MainThread: empty queue
Oct  8 20:09:40 raspberrypi weewx[676]: interceptor: MainThread: empty queue
Oct  8 20:09:50 raspberrypi weewx[676]: interceptor: MainThread: empty queue
Oct  8 20:09:50 raspberrypi rsyslogd-2007: action 'action 17' suspended, 
next retry is Sat Oct  8 20:11:20 2016 [try http://www.rsyslog.com/e/2007 ]
Oct  8 20:10:00 raspberrypi weewx[676]: interceptor: MainThread: empty queue
Oct  8 20:10:10 raspberrypi weewx[676]: interceptor: MainThread: empty queue
Oct  8 20:10:20 raspberrypi weewx[676]: interceptor: MainThread: empty queue
Oct  8 20:10:30 raspberrypi weewx[676]: interceptor: MainThread: empty queue
Oct  8 20:10:40 raspberrypi weewx[676]: interceptor: MainThread: empty queue
Oct  8 20:10:50 raspberrypi weewx[676]: interceptor: MainThread: empty queue
Oct  8 20:11:00 raspberrypi weewx[676]: interceptor: MainThread: empty queue
Oct  8 20:11:10 raspberrypi weewx[676]: interceptor: MainThread: empty queue
Oct  8 20:11:20 raspberrypi weewx[676]: interceptor: MainThread: empty queue
Oct  8 20:11:20 raspberrypi rsyslogd-2007: action 'action 17' suspended, 
next retry is Sat Oct  8 20:12:50 2016 [try http://www.rsyslog.com/e/2007 ]
Oct  8 20:11:30 raspberrypi weewx[676]: interceptor: MainThread: empty queue
Oct  8 20:11:40 raspberrypi weewx[676]: interceptor: MainThread: empty queue
Oct  8 20:11:50 raspberrypi weewx[676]: interceptor: MainThread: empty queue
Oct  8 20:12:00 raspberrypi weewx[676]: interceptor: MainThread: empty queue
Oct  8 20:12:10 raspberrypi weewx[676]: interceptor: MainThread: empty queue
Oct  8 20:12:20 raspberrypi weewx[676]: interceptor: MainThread: empty queue
Oct  8 20:12:30 raspberrypi weewx[676]: interceptor: MainThread: empty queue

I rebooted, just to be sure something wasn't being stupid, and it made no 
difference. I did try to unbuffer curl, but that didn't work, either. 

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to