Page 1 of 1

Availability Monitoring with SmartFox

Posted: 08 Aug 2011, 11:39
by vagabond
Hello,

I've been looking into ways to monitor our smartfox 2X server and I have been using the administrator console which is really nice but it requires someone to be sitting in front of it to monitor the activity.

Is there any built in functionality within smartfox to setup automatic monitoring?

I'm thinking in terms of triggers that can be setup so that if smartfox becomes unavailable, an email or notification is sent to an administrator so that they can take care of it right away.

Thanks
Danielle

Posted: 08 Aug 2011, 16:09
by Lapo
We have plans to include JMX support for external monitoring in a later update. We'll keep you updated

Posted: 08 Aug 2011, 16:27
by vagabond
Hey Lapo,

That would be a great feature. I hope it comes out in an update soon!

Until then, do you know of any external plugins or applications that I could use that would monitor the server. What I would really like is a program that would automatically try to login into the server every 5 minutes and only report back to me if it was unable to connect to the server, unable to login or unable to communicate with the database.

If you know of anything, please let me know.
Thanks
Danielle

Posted: 09 Aug 2011, 07:19
by Lapo
That sort of utility can be written very rapidly and easily with the C#/.Net API or Java API. Then you can run it on any server and monitor SFS.

Additionally you should look into jconsole and VisualVM for monitoring vital JVM parameters (Garbage collection, Threads, Heap size...)

Re: Availability Monitoring with SmartFox

Posted: 10 Jul 2018, 08:42
by sadensmol
Hi @lapo What about Database Manager monitoring? Could you include beans to monitor jdbc via jmx within it?

Re: Availability Monitoring with SmartFox

Posted: 10 Jul 2018, 14:55
by Lapo
Hi,
we can look into it but I am not sure if it can be done easily. We use DBCP 1.4 to pool JDBC connections and as far as I know it does not support JMX. I think DBCP 2.0 does support it, but we need to investigate and understand what changes and make sure the update doesn't break anything.

Cheers