I am running linux based server (centos 6.0) with cpanle and WHM,
I have critical website running with a chat server which uses a openfire as the chat server backend server, I have monitored last few weeks this service crashes quite often, I have no way of knowing that, and I have to wait till the next day to restart the server. (and this can only be fixed by using server reboot as its got to do with some Java memory problem)
Is there a way I can setup a monitoring service to the server and if this service goes down server itself will reboot ?
Is this something possible or is there a better way to overcome this problem ?