Create a new command in nagios: define command{ command_name ofbiz_ping command_line $USER1$/check_http -S -H $HOSTADDRESS$ -u /webtools/control/ping -s PONG }
(command_line is a single line) and use this command to check if the ofbiz is still active like: check_command ofbiz_ping Regards, Hans On Mon, 2010-04-12 at 11:24 +0200, Jacques Le Roux wrote: > Hi Hans, > > Not at the moment, but yes this sounds like a good idea to me. > As you can see at http://markmail.org/message/ojpjqe3xjvmsk5h6, we use a > Nagios command (at least I suppose it's Nagios): > check_command check_https!5!10 (now 10!15) > > Gavin, could we use what Hans is suggesting instead? Because we still get > almost the same number of false alerts with the change I > suggested. > > Thanks > > Jacques > > From: "Hans Bakker" <mailingl...@antwebsystems.com> > To: "Jacques Le Roux" <jacques.le.r...@les7arts.com> > Sent: Monday, April 12, 2010 2:00 AM > > are we using the /webtools/control/ping url to see if the system is up? > > > > this url will also check if he database is working... > > > > Regards, > > Hans > > > > On Sun, 2010-04-11 at 19:48 +0200, Jacques Le Roux wrote: > >> Hi, > >> > >> We get a *lot* of false alerts for vm-ofbiz from Nagios. Could we not set > >> the check_command from 5|10 to say 10|15? I suggest > >> these > >> numbers because I think they are more realistic for OFBiz which relies > >> much on caching. This would be true for both instances > >> (trunk > >> and stable). We could even increase/adjust them later again if needed, but > >> I hope not. > >> > >> Thanks > >> > >> Jacques > >> > >> > > -- > > Ofbiz on twitter: http://twitter.com/apache_ofbiz > > Myself on twitter: http://twitter.com/hansbak > > Antwebsystems.com: Quality services for competitive rates. > > > > -- Ofbiz on twitter: http://twitter.com/apache_ofbiz Myself on twitter: http://twitter.com/hansbak Antwebsystems.com: Quality services for competitive rates.