1 How to use this monitoring scripts:
2 -----------------------------------
4 1) Copy .monitor-config.sh to ${HOME}/.monitor-addressbook-war-cron.sh
5 Please note that your clone path must be 'addressbook-war' then.
7 2) Execute "crontab -e" as same user
11 PATH="/bla/foo/bin:/bar/bin"
14 */10 * * * * cd ${HOME}/checkouts/addressbook-war/monitor/ && ./monitor-cron.sh
16 Please make sure PATH and SHELL are set (maybe prevents some problems).
18 4) Save the file and let it install it.
22 Now every 10 minutes the connection to your glassfish is tested by a HEAD
23 request. Please don't set it to high as this may cause huge load on your server
24 even when it is only a HEAD request.