Igor Sobreira

Command line interface to FMS Admin

I've been working with Flash Media Server for the last 8 months now, and one tool that really annoys me is the Administration Console. I miss a command line interface to accomplish tasks like see all live streams, reload an app, etc.

That's why I've started the fms-admin-api. It's a command line client to Flash Media Server Administration API. Since it's written in ruby, it's possible to use the ruby client class directly. Use rubygems to install:

$ gem install fms-admin-api

The way it works is really simple. Here is an example: there is a reloadApp() method available that accepts the arguments host, auser, apswd and appInst. The command line interface just replaces from camelCase syntax to underscore:

$ fmsapi reload_app --host=fms.example.com --auser=fms --apswd=secret --app_inst=live

There are improvements to be made and help is welcome.

blog comments powered by Disqus

My name is Igor Sobreira and is my website. I'm a software developer working at Real Geeks. I currently live in Hawaii doing the two things that I like most: windsurfing and writing software.

See more about me and get in touch.