Hi,
By default, the status lifetime is 20 or 30 minutes.
TO change it, you have to edit the dbcheck.pl script and seek the status line and add a new time: "status+XXXXX" (XXXX is in seconds). In your case 2h = 7200 seconds. You can add a little more to be sure it won't be purple ... 7400 for instance (status+7400).
Hope it will help you.
Regards, Nico
On Thu, 12 Mar 2009 20:55:23 +0100, "L.M.J" <linuxmasterjedi at free.fr> wrote:
Hi,
I'm using dbcheck.pl to monitor my Oracle database but check them every 30min produce too much overload. I used dhcheck slow mode (every 2h) but this a way too long for my Hobbit server : the db color switch to purple. Is there a way to define the among of time before the server switch to purple? Any other ideas is also welcome on dbcheck tweaks.
Thanks by advance,
LMJ