--- checkStation/checkStation.py 2005/05/15 12:12:15 1.5 +++ checkStation/checkStation.py 2005/06/23 17:12:56 1.6 @@ -6,7 +6,7 @@ import os import os.path import time -module_list=['11150','11220','11240','11340','12010','13110','13210','13310','13500','20610','21210','21600','22310','23110','24110','24212','24231','24241','24251','24321','24341','24411','24421','24431','24441','24511','24521','30511','31111','31120','31131','31142','31151','31161','31171','31221','31231','31252','31305','31410','32010','33100'] +module_list=['10010','11150','11220','11240','11340','12010','13110','13210','13310','13500','20610','21210','21600','22310','23110','24110','24212','24231','24241','24251','24321','24341','24411','24421','24431','24441','24511','24521','30511','31111','31120','31131','31142','31151','31161','31171','31211','31221','31231','31252','31305','31410','32010','33100'] # station non checked: 31211 @@ -105,7 +105,7 @@ class checkStation(SimpleItem): self.id=id self.modulOverview={} - def checkStation(self,nr,time=10,formats=["VID","BRA","ZOG"]): + def checkStation(self,nr,time=7,formats=["VID","BRA","ZOG","TXT","IMG"]): """check station with nr nr""" txt=[] @@ -163,10 +163,10 @@ class checkStation(SimpleItem): retStr+=str%(ip,process) + "
" return retStr - def checkRebootDead(self,timer=10): + def checkRebootDead(self,timer=7): """checks and reboots non responding firefox""" self.lastCheck=time.localtime() - ret="

" + ret="

check and reboot

" for modul in self.getModuls(): @@ -178,7 +178,7 @@ class checkStation(SimpleItem): setattr(self,'modulOverview',{}) self.modulOverview[modul]=time.localtime() - return ret + return ret+"

" def rebootOverview(self): """give Overview"""