Timeout plus grand pour voir si Monit tourne.

darcs-hash:20051103063101-d1718-9a94ca34e1f00faeb0849e05acf02b053768bbda.gz
This commit is contained in:
bernat 2005-11-03 07:31:01 +01:00
parent 8e2469449b
commit 7eb88b5e13

View file

@ -21,7 +21,7 @@ def NotRunningHosts() :
"""
hosts = []
for host in os.listdir(statusfolder) :
if os.path.getmtime('/usr/scripts/monit/status/%s' % host) < time.time() - 180 :
if os.path.getmtime('/usr/scripts/monit/status/%s' % host) < time.time() - 240 :
hosts.append(host)
return hosts