Package Products :: Package ZenEvents :: Module Availability
[hide private]
[frames] | no frames]

Module Availability

source code

Classes [hide private]
Availability
Report
Determine availability by counting the amount of time down
Functions [hide private]
 
_severityGreaterThanOrEqual(sev)
function to return a list of severities >= the given severity; defines severity priority using arbitrary order, instead of assuming numeric ordering
source code
 
_lookupUuid(catalog, cls, identifier)
function to retrieve uuid given an object's catalog, type, and identifier
source code
 
_round(value) source code
 
_findComponent(device, name) source code
 
query(dmd, *args, **kwargs) source code
Variables [hide private]
  ALL_EVENT_STATUSES = set([STATUS_NEW, STATUS_ACKNOWLEDGED, STA...
  CLOSED_EVENT_STATUSES = set([STATUS_CLOSED, STATUS_CLEARED, ST...
  OPEN_EVENT_STATUSES = ALL_EVENT_STATUSES-CLOSED_EVENT_STATUSES
  CACHE_TIME = 60.
  _cache = Map.Locked(Map.Timed({}, CACHE_TIME))
Variables Details [hide private]

ALL_EVENT_STATUSES

Value:
set([STATUS_NEW, STATUS_ACKNOWLEDGED, STATUS_SUPPRESSED, STATUS_CLOSED\
, STATUS_CLEARED, STATUS_DROPPED, STATUS_AGED])

CLOSED_EVENT_STATUSES

Value:
set([STATUS_CLOSED, STATUS_CLEARED, STATUS_DROPPED, STATUS_AGED])