Best way to track when SFS is down and restart it

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

Moderators: Lapo, Bax

florianbrochard
Posts: 1
Joined: 21 Aug 2015, 13:00

Best way to track when SFS is down and restart it

Postby florianbrochard » 21 Aug 2015, 13:10

Hi,
I'm running SFS1.6 on Linux.
I'd like to automaticly track when SFS crash and auto restart it to prevent my user long unavailability time (at night for example)
Do you have some advice or a solution already available ?
Or a thread already talking about it, I wasn't able to find one with search engine.

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

Re: Best way to track when SFS is down and restart it

Postby Lapo » 21 Aug 2015, 14:34

Hi,
you could write a small client that attempt to connect, then login into a Zone (maybe a dedicated one, just for monitoring).
If any of the two operations fails you could have the client send you a warning via email, sms and such...

The app could be running the test every 20, 60, X minutes. A good candidate would be a Java or C# client, using the relative API.

hope it helps
Lapo
--
gotoAndPlay()
...addicted to flash games

Return to “SmartFoxServer 1.x Discussions and Help”

Who is online

Users browsing this forum: No registered users and 70 guests