Page 1 of 1

Monitoring tools

Posted: 11 Jul 2007, 18:25
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

Posted: 13 Jul 2007, 06:29
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

Monitoring number of users

Posted: 19 Jul 2007, 18:25
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.

Posted: 20 Jul 2007, 06:42
by Lapo
Nice one! Thanks for sharing :)

Posted: 30 Jul 2009, 10:53
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.