version 1.2, 2005/05/15 10:04:27
|
version 1.3, 2005/05/15 10:46:29
|
Line 80 class checkStation(SimpleItem):
|
Line 80 class checkStation(SimpleItem):
|
{'label':'Overview Stations','action':'overviewStations'}, |
{'label':'Overview Stations','action':'overviewStations'}, |
{'label':'change check','action':'changeCheckStationForm'}, |
{'label':'change check','action':'changeCheckStationForm'}, |
{'label':'checkRebootDead','action':'checkRebootDead'}, |
{'label':'checkRebootDead','action':'checkRebootDead'}, |
|
{'label':'Reboot Overview','action':'rebootOverview'}, |
) |
) |
def asctime(self): |
def asctime(self): |
return time.asctime(tm) |
return time.asctime(tm) |
Line 150 class checkStation(SimpleItem):
|
Line 151 class checkStation(SimpleItem):
|
def checkRebootDead(self,timer=5): |
def checkRebootDead(self,timer=5): |
"""checks and reboots non responding firefox""" |
"""checks and reboots non responding firefox""" |
self.lastCheck=time.localtime() |
self.lastCheck=time.localtime() |
ret="" |
ret="<html><body><p>" |
|
|
for modul in self.getModuls(): |
for modul in self.getModuls(): |
|
|
Line 163 class checkStation(SimpleItem):
|
Line 164 class checkStation(SimpleItem):
|
self.modulOverview[modul]=time.localtime() |
self.modulOverview[modul]=time.localtime() |
|
|
|
|
|
|
def rebootOverview(self): |
def rebootOverview(self): |
"""give Overview""" |
"""give Overview""" |
pt=zptFile(self,'zpt/rebootOverview.zpt') |
pt=zptFile(self,'zpt/rebootOverview.zpt') |