rastream

Carter Bullard carter at qosient.com
Sat Sep 8 12:56:11 EDT 2012


To get rastream to reconnect, use the RA_RELIABLE_CONNECT=yes
variable in its own rarc file.

   rastream -F rarc.file -d -n -M time 5m -S 192.168.10.10:562 -w /nsmon/lib/argus_data/%Y%m%d/nsmon.%Y.%m.%d.%H.%M.%S.arg3 -B 10s -f /nsmon/etc/rastream.sh

or something like that.

Carter

On Sep 8, 2012, at 9:39 AM, CS Lee <geek00l at gmail.com> wrote:

> hi Carter,
> 
> Currently there are rasqlinsert and rastream connecting to the radium. Rastream is generating file, and perform the tasks I assign in the rastream.sh without problem, only thing is the termination is random.
> 
> Now I'm waiting for rastream to hit the same problem again but it hasn't happened yet, it keeps running, by the way I'm running it with -d now, one question is does rastream will try to reconnect when running in the daemon mode?
> 
> Cheers!
> 
> On Sat, Sep 8, 2012 at 8:58 PM, Carter Bullard <carter at qosient.com> wrote:
> All ra* clients, when they do not receive 3 management records in a row, close the connection,
> assuming that the source of the argus data has gone away.
> How long is a while?  rastream() does have its scheduling tasks to deal with, but other than that,
> its really is the same as rasplit().  Are there any other messages in the system log around this
> time?  Do the output files that rastream() is generating, look as expected?
> Is rastream() the only program connecting to that specific radium()?
> 
> Carter
> 
> 
> 
> On Sep 8, 2012, at 1:15 AM, CS Lee <geek00l at gmail.com> wrote:
> 
>> hi Carter,
>> 
>> I'm testing argus-clients-3.0.7.1, when I use rastream to connect to the radium, after a while the connection will be terminated which has similar behaviour to rasqlinsert last time -
>> 
>> rastream -n -M time 5m -S 192.168.10.10:562 -w /nsmon/lib/argus_data/%Y%m%d/nsmon.%Y.%m.%d.%H.%M.%S.arg3 -B 10s -f /nsmon/etc/rastream.sh
>> rastream[19087]: 11:34:44.127549 ArgusReadStream 192.168.10.10: idle stream: closing
>> 
>> I can connect to same radium daemon in the server without this issue using rasplit, rasqlinsert and it has been running for days, this problem only happens to rastream.
>> 
>> Cheers!
>> 
>> -- 
>> Best Regards,
>> 
>> CS Lee<geek00L[at]gmail.com>
>> 
>> http://geek00l.blogspot.com
>> http://defcraft.net
> 
> 
> 
> 
> -- 
> Best Regards,
> 
> CS Lee<geek00L[at]gmail.com>
> 
> http://geek00l.blogspot.com
> http://defcraft.net

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist1.pair.net/pipermail/argus/attachments/20120908/2fbb0e3a/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2589 bytes
Desc: not available
URL: <https://pairlist1.pair.net/pipermail/argus/attachments/20120908/2fbb0e3a/attachment.bin>


More information about the argus mailing list