|
|
|
incr(self)
increment the failure time of a monitored object if we are in a
new day since last failure move old day data to yearly data and reset
for todays availability this must be called once a day to work
correctly!!! |
source code
|
|
|
|
|
|
|
|
|
getAvailPercent(self,
start,
end=None)
get availability for a date range as a float between 100.0 and
0.0 |
source code
|
|
|
getAvailPercentString(self,
start,
end=None)
get availability for a date range as a string for display |
source code
|
|
|
getAvail30(self)
get the 30 day rolling availability of this object |
source code
|
|
|
getAvail30String(self)
get the 30 day rolling availability of this object |
source code
|
|
|
getDownTime(self,
start,
end=None)
calculate the down time in seconds using start and end DateTime if
no end is passed the current time is assumed |
source code
|
|
|
_getDownTime(self,
year,
start=None,
end=None)
check to see if we have year data for year and return it |
source code
|
|
|
_getYearlyData(self,
year)
get or create a YearlyDownTime object |
source code
|
|
Inherited from ZenStatus :
color ,
setStatus
|