Last modified by Pascal Robert on 2013/11/24 17:08

Hide last authors
Pascal Robert 11.1 1 == Checking App for Life ==
Pascal Robert 7.1 2
Pascal Robert 11.1 3 === Chuck Hill ===
Pascal Robert 7.1 4
Pascal Robert 21.1 5 We usually just use a script that runs as a cron job. It hits a direct action on the app that returns a known "all is OK" response. If that does not get returned, alarms ring.
Pascal Robert 7.1 6
Pascal Robert 11.1 7 === Pascal Robert ===
8
Pascal Robert 21.1 9 We use [[Nagios>>url:http://nagios.org||shape="rect"]] with the check_http plugin.  This plugin actually make a HTTP (or HTTPS, if the plugin was compiled with openssl support) to our apps and check a DirectAction to see if it's answer "1".  If not, Nagios send a trigger.
David Avendasora 17.1 10
Pascal Robert 21.1 11 (% style="color: rgb(0,0,0);" %)**Ray Kiddy**
David Avendasora 17.1 12
Pascal Robert 21.1 13 We use nagios in several ways. We use check_ping to make sure the machines are alive. We use check_http to check that the front-end of our cluster is responding on port 80 and we have another service that checks WebDAV directories that we use. These last need to check that authentication is working, as well as access. We also have a DirectAction that checks the whole chain, from the web server to the apps and then to the databases. We send pages only from this last service.
David Avendasora 17.1 14
Pascal Robert 21.1 15 We check that wotaskd is running with a script that acts as a plugin. It would be nice if we could use check_http but there is no single string which tells us what the wotaskd is doing. For example, it would be helpful if there was, somewhere, a single line in the wotaskd port 1085 output which said something like "host: am1.bigserver.com, applications expected 200, applications running 200". Then we could just use the -s parameter on check_http instead of doing a bunch of extra stuff ourselves.
David Avendasora 17.1 16
17 I prefer many small checks to help diagnose problems, but sending a page in the middle of the night is only from the one service that checks the whole chain of dependencies. We now have 176 services, but I add at least a few a week. There are always more things trying to break our deployments....
Pascal Robert 19.1 18
19 == Monitoring Presentation ==
20
Pascal Robert 21.1 21 A presentation about monitoring your WebObjects applications was made in 2010, you can [[watch it here>>url:http://wocommunity.org/podcasts/MonitoringYourWOApps.mov||shape="rect"]].
22
23 == Plugin for Nagios ==
24
25 A script that acts as a Nagios plugin (without performance data) [[is available on GitHub>>url:https://github.com/wocommunity/Deployment-Tools/tree/master/Nagios||shape="rect"]].