Availability Monitoring with SmartFox

Post here your questions about SFS2X. Here we discuss all server-side matters. For client API questions see the dedicated forums.

Moderators: Lapo, Bax

vagabond
Posts: 12
Joined: 08 Aug 2011, 11:31

Availability Monitoring with SmartFox

Postby vagabond » 08 Aug 2011, 11:39

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
User avatar
Lapo
Site Admin
Posts: 23008
Joined: 21 Mar 2005, 09:50
Location: Italy

Postby Lapo » 08 Aug 2011, 16:09

We have plans to include JMX support for external monitoring in a later update. We'll keep you updated
Lapo
--
gotoAndPlay()
...addicted to flash games
vagabond
Posts: 12
Joined: 08 Aug 2011, 11:31

Postby vagabond » 08 Aug 2011, 16:27

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
User avatar
Lapo
Site Admin
Posts: 23008
Joined: 21 Mar 2005, 09:50
Location: Italy

Postby Lapo » 09 Aug 2011, 07:19

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...)
Lapo

--

gotoAndPlay()

...addicted to flash games
sadensmol
Posts: 25
Joined: 20 Feb 2018, 05:25

Re: Availability Monitoring with SmartFox

Postby sadensmol » 10 Jul 2018, 08:42

Hi @lapo What about Database Manager monitoring? Could you include beans to monitor jdbc via jmx within it?
User avatar
Lapo
Site Admin
Posts: 23008
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: Availability Monitoring with SmartFox

Postby Lapo » 10 Jul 2018, 14:55

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
Lapo

--

gotoAndPlay()

...addicted to flash games

Return to “SFS2X Questions”

Who is online

Users browsing this forum: Google [Bot] and 41 guests