This is a generic question, not really related to Terracotta. The way I usually check if my server is running (be it Tomcat, Apache, Terracotta) is to ping their port. If you can connect to their port, that means they're still up. Or you can monitor the process id with a cron job.
Joined: 05/24/2006 14:23:21
Messages: 1665
Location: San Francisco, CA
Offline
Also,
Your L1's get a JMX event when disconnected and when reconnected to L2. Have one of your L1's listen for that event and relay it using another tech (messaging, JMX, whatever) to your monitoring tools.
gave JMX a shot...looks good..except that I have a client app that gets notifications from the L2 it is connected to... why don't I see the other L2 joining the cluster..like the admin console?..basically how to we treat everything within the cluster (All l2's and all L1's as nodes)