Hi,

Thanks for the reply ... we also use nagios, but as we only use rtmpt behind 
Apache, just checking for a port is not acceptable.
I've written a php script that can issue commands over rtmpt (attached).

I have another question regarding this: 

I'm able to issue open commands to the server, but I get the standard red5 
error message 'Bad request, only RTMPT supported.' when I try to issue a close 
command. I followed the spec from 
http://www.joachim-bauch.de/tutorials/red5/SPEC-RTMPT.html to write this 
script. The description of the close command is a little ambiguous so maybe I 
am just doing something wrong (essentially just issuing an empty POST to 
http://myserver.com/close/${SESSION_ID_RETURNED_FROM_OPEN_COMMAND}).

I'm not entirely sure how red5 handles orphaned connections (does it leak 
memory?, are they cleaned up at some interval?, is there a timeout?). Either 
way I think it would be better if I could clean up the connections myself by 
issuing the close command. Does anyone have any knowledge of how this might 
work?

Thanks,

Jon


Date: Tue, 4 Sep 2007 11:48:21 -0400
From: [EMAIL PROTECTED]
To: [email protected]
Subject: Re: [Red5] Java Client

We use Nagios for most of our server monitoring.  It's much more detailed and 
offers more functionality than a cron job will.  You can build custom check 
commands if you figure out how to develop a more thorough check of the server 
using rtmp, but we simply check that the server is accepting TCP connections on 
that port, and that the response time is acceptable.




On 8/31/07, Jon Keys <[EMAIL PROTECTED]> wrote:




Hi,

 

I'd like to be able to monitor my red5 server using an rtmp client + cron to 
notify me if my server goes down.

I see org.red5.samples.client.SimpleClient but I'm unsure how to implement.

 

Is there any existing docs / code for an rtmp client in java?

 

Thanks,

 

Jon

Invite your mail contacts to join your friends list with Windows Live Spaces. 
It's easy! 
Try it!

_______________________________________________
Red5 mailing list
[email protected]

http://osflash.org/mailman/listinfo/red5_osflash.org




_________________________________________________________________
News, entertainment and everything you care about at Live.com. Get it now!
http://www.live.com/getstarted.aspx

Attachment: rtmptPing.php
Description: application/php

_______________________________________________
Red5 mailing list
[email protected]
http://osflash.org/mailman/listinfo/red5_osflash.org

Reply via email to