Hello :)
In the FMS documentation :
http://livedocs.macromedia.com/fms/2/docs/wwhelp/wwhimpl/common/html/wwhelp= ..htm?context=3DLiveDocs_Parts&file=3D00000003.html
You must read :
The Server Management ActionScript Language Reference documents
advanced ActionScript methods that you can use to extend the Flash
Media Server management console or to make your own administration and
monitoring tools.
You can find the PDF version of this manual on the Flash Media Server
CD (flashmediaserver_mgmt_asd.pdf).
All pdf are in the install path of the server.
EKA+ :)
PaulDixon a =E9crit :
[quoted text, click to view] > Can I programatically obtain the kind of performance stats you see in the
> management interface, e.g. get a count of number of connections, number of
> active streams etc.
>
> We use tools like munin and nagios for server tracking, I'd like to inte=
grate
> FMS into this.
>=20
> Can anyone recommend the best way to go about this?
I am also very interested in showing my customers reports on their usage. It
seems I cannot find any good info or tutorials on line, and am not proficient
enough yet to make it from scratch myself (without guidance).
If anyone can help, please let me know too!
I suppose the best way to do it depends on the structure of your application
and what data you need to collect. Data about connected clients and streams can
be obtained through your application, but if you want to track data transfer,
bandwidth usage, license usage, etc.... you'll need to make a connection to the
admin service.
You can use a .swf to retrieve the data as FMS-Developer mentioned, but you
can also have that happen on the server side. You can build an FMS app that
will run with no connected clients, and report server stats back to your
remoting service, XML socket server, or to any app server that accepts http
post/get requests. If you don't use an .swf, you just need to design the app so
it doesn't shut down when the server does garbage collection (return false in
your onAppStop handler), and you'd need to start it through the admin console.
Since most of the http side backend I do is PHP I prefer to use AMFPHP for
things like this, but there are a world of otheroptions. If you provide some
detail about the data you need to collect and how you need to collect it, and
about your server/application server/web service model, maybe we can come up
with ideas about the best option.