Monitoring tools

Need help with SmartFoxServer? You didn't find an answer in our documentation? Please, post your questions here!

Moderators: Lapo, Bax

Post Reply
quickfox
Posts: 7
Joined: 11 Jul 2007, 18:20

Monitoring tools

Post by quickfox »

Hi, has anybody created a command-line monitoring tool to check smartfox health and status? I'm looking for something that would run under linux and use the smartfox client api to get some stats from the server like you see in the AdminTool. We would plug that into our server monitoring infrastructure to graph activity over time and alert us if there's a problem. Is the source to the AdminTool available?

Thanks,
Steve
User avatar
Lapo
Site Admin
Posts: 23438
Joined: 21 Mar 2005, 09:50
Location: Italy

Post by Lapo »

The problem is using the API from a Linux command line app. The API are written for Flash Actionscript.
Maybe you could write a Flash app that talks to a custom extension and reports problems, if any occur. It could also send emails from time to time etc...

Sources of the admin tool are not available
Lapo
--
gotoAndPlay()
...addicted to flash games
quickfox
Posts: 7
Joined: 11 Jul 2007, 18:20

Monitoring number of users

Post by quickfox »

We did figure out a way to monitor number of connected users:

netstat -a -n | grep 9339 | grep ESTABLISHED

seems to correlate with AdminTool's count. This is hooked into our zenoss graphs to plot usage over time.
User avatar
Lapo
Site Admin
Posts: 23438
Joined: 21 Mar 2005, 09:50
Location: Italy

Post by Lapo »

Nice one! Thanks for sharing :)
Lapo
--
gotoAndPlay()
...addicted to flash games
patter
Posts: 1
Joined: 30 Jul 2009, 10:47

Post by patter »

Hi,

because now we have Java API , is such a tool is available ?

If it is not where we can find more information how to perform system checks with this API ? As example how to check dropped messages, currently logged users, rooms number etc.. In short all information related to server usage from flash based admin tool.
Post Reply