| Trees | Index | Help |
|
|---|
| Package ZenEvents :: Module EventManagerBase :: Class EventManagerBase |
|
object --+
|
DbAccessBase --+
|
object --+ |
| |
Base --+ |
| |
object --+ | |
| | |
Persistent --+ |
| |
Persistent --+ |
| |
ObjectCache --+
|
object --+ |
| |
Base --+ |
| |
Historical --+ |
| |
object --+ | |
| | |
Base --+ | |
| | |
EtagSupport --+ | | |
| | | |
LockableItem --+ | |
| | |
Resource --+ | |
| | |
Collection --+ | |
| | |
object --+ | | |
| | | |
Base --+ | | |
| | | |
CopyContainer --+ | |
| | |
object --+ | | |
| | | |
Base --+ | | |
| | | |
Navigation --+ | |
| | |
object --+ | | |
| | | |
Base --+ | | |
| | | |
object --+ | | | |
| | | | |
Persistent --+ | | |
| | | |
Persistent --+ | |
| | |
object --+ | | |
| | | |
Base --+ | | |
| | | |
Tabs --+ | |
| | |
Traversable --+ | |
| | |
object --+ | | |
| | | |
Base --+ | | |
| | | |
Acquirer --+ | |
| | |
ObjectManager --+ | |
| | |
object --+ | | |
| | | |
Base --+ | | |
| | | |
RoleManager --+ | | |
| | | |
RoleManager --+ | | |
| | | |
object --+ | | | |
| | | | |
Base --+ | | | |
| | | | |
object --+ | | | | |
| | | | | |
Base --+ | | | | |
| | | | | |
CopySource --+ | | | |
| | | | |
object --+ | | | | |
| | | | | |
Base --+ | | | | |
| | | | | |
Owned --+ | | | |
| | | | |
object --+ | | | | |
| | | | | |
Base --+ | | | | |
| | | | | |
Tabs --+ | | | |
| | | | |
Traversable --+ | | | |
| | | | |
ZItem --+ | | |
| | | |
object --+ | | | |
| | | | |
Base --+ | | | |
| | | | |
Acquirer --+ | | |
| | | |
PrimaryPathManager --+ | |
| | |
object --+ | | |
| | | |
Base --+ | | |
| | | |
CopyContainer --+ | | |
| | | |
RelCopyContainer --+ | |
| | |
object --+ | | |
| | | |
Base --+ | | |
| | | |
UndoSupport --+ | |
| | |
PrimaryPathObjectManager --+ | |
| | |
object --+ | | |
| | | |
Base --+ | | |
| | | |
Node --+ | | | |
| | | | |
Element --+ | | | |
| | | | |
ElementWithAttributes --+ | | |
| | | |
PropertyManager --+ | | |
| | | |
ZenPropertyManager --+ | |
| | |
RelationshipManager --+ |
| |
object --+ | |
| | |
ZenModelBase --+ |
| |
object --+ | |
| | |
ZenPacker --+ |
| |
ZenModelRM --+
|
EventManagerBase
MySqlEventManager| Method Summary | |
|---|---|
__init__(self,
id,
title,
hostname,
username,
password,
database,
port,
defaultWhere,
defaultOrderby,
defaultResultFields)
| |
Perform convertion of value coming from database value if nessesary. | |
Convert a date to its database format. | |
Convert a date from database format to string. | |
defaultAvailabilityEnd(self)
| |
defaultAvailabilityStart(self)
| |
deleteEvents(self,
whereClause,
reason)
| |
Prepare string values for db by escaping special characters. | |
Are there event controls on this event list. | |
Fetch the counts on all components matching statClass | |
getAvailability(self,
state,
**kw)
| |
getAvgFieldLength(self,
fieldname)
| |
see IEventStatus | |
Return a dictionary that has all info for the dashboard. | |
return device info for bad device to dashboard | |
Return list of tuples (device, count, total) of events for all devices with events. | |
Return devices with ping problems. | |
see IEventStatus | |
Return only status issues. | |
Return a list of possible event actions. | |
getEventBatchME(self,
me,
selectstatus,
resultFields,
where,
orderby,
severity,
state,
startdate,
enddate,
offset,
rows,
getTotalCount,
filter,
goodevids,
badevids,
**kwargs)
| |
return the css class name to be used for this event. | |
Return an EventDetail object for a particular event. | |
getEventDetailFromStatusOrHistory(self,
evid,
dedupid,
better)
| |
see IEventList. | |
getEventListME(self,
me,
**kwargs)
| |
Return a list of userids that correspond to the events in where. | |
Return list of event owners based on passed in managed entity. | |
Result fields for everything else. | |
Return a list of possible event states. | |
Return a list of tuples with number of events and the color of the severity that the number represents. | |
Return a list of tuples with number of events and the color of the severity that the number represents. | |
Return a list of all fields in the status table of the backend. | |
Return status based on a where clause defined for the me event_type. | |
Return all heartbeat issues list of tuples (device, component, secs) | |
getHeartbeatObjects(self,
failures,
simple,
limit,
db)
| |
Event data in JSON format. | |
getJSONFields(self,
context)
| |
getOrganizerDashboard(self)
| |
see IEventStatus | |
Return list of tuples (org, count) for all organizers with events. | |
Return systems info for dashboard. | |
Return a list of tuples of priorities [('Warning', 3), ...] | |
Return the priority name | |
Return a list of tuples of severities [('Warning', 3), ...] | |
Return a list of tuples of severities [('Warning', 3), ...] | |
getStatusCssClass(self,
status)
| |
Return the img source for a status number | |
getStatusME(self,
me,
statusclass,
**kwargs)
| |
Build summary of serveral zope servers | |
Return devices with WMI connection failures. | |
Install skins into portal. | |
Check to see if a column is of type date. | |
Load schema from database. | |
Lookup database field for managed entity default is event_key. | |
Lookup and result fields for managed entity. | |
Lookup and build where clause for managed entity. | |
Ack the given event ids | |
add a new EventCommand | |
Create an event from user supplied data | |
Add a log message to an event | |
Reset cache values | |
truncate heartbeat table | |
Create an event map from an event or list of events. | |
Delete the events for a given Device (used for deleting the device | |
add a new EventCommand | |
Delete the given event ids | |
manage_deleteHeartbeat(self,
devname,
REQUEST)
| |
Reset cache values | |
Call zmanage_editProperties then take care of saving a few values to ZenEventHistory | |
get the conversion information from the omnibus server | |
manage_setEventStates(self,
eventState,
evids,
REQUEST)
| |
Move the given event ids into status and delete from history | |
Send an event to the backend. | |
Send a group of events to the backend. | |
undeleteEvents(self,
whereClause,
reason)
| |
updateEvents(self,
stmt,
whereClause,
reason,
table,
toLog)
| |
Need to handle editing of history event fields differently | |
Inherited from ZenModelRM:
changePythonClass,
creator,
editableDeviceList,
getCreatedTimeString,
getDmdKey,
getModificationTimeString,
getSubObjects,
getTreeItems,
getZenRootNode,
index_object,
primarySortKey,
reindex_all,
rename,
unindex_object,
viewName,
zmanage_addProperty,
zmanage_delObjects,
zmanage_delProperties,
zmanage_exportObject,
zmanage_importObject,
zmanage_importObjects
Inherited from ZenModelBase:
__call__,
__hash__,
all_meta_types,
breadCrumbs,
callZenScreen,
checkValidId,
createHierarchyObj,
custPropertyIds,
custPropertyMap,
getDmd,
getDmdObj,
getDmdRoot,
getHierarchyObj,
getIdLink,
getNowString,
getObjByPath,
getPrimaryDmdId,
getZopeObj,
helpLink,
isLocalName,
manage_deleteObjects,
prepId,
saveCustProperties,
todayDate,
view,
visibleCustPropertyMap,
yesterdayDate,
zenpathjoin,
zenpathsplit,
zenScreenUrl,
zentinelTabs
Inherited from RelationshipManager:
addRelation,
buildRelations,
cb_isMoveable,
checkRelations,
exportXml,
exportXmlProperties,
exportXmlRelationships,
getRelationshipManagerId,
getRelationshipNames,
getRelationships,
lookupSchema,
manage_addRelation,
manage_beforeDelete,
manage_removeRelation,
manage_workspace,
removeRelation
Inherited from RelCopyContainer:
manage_linkObjects,
manage_renameObject,
manage_unlinkObjects
Inherited from CopyContainer:
cb_dataItems,
cb_dataValid,
manage_clone,
manage_CopyContainerAllItems,
manage_CopyContainerFirstItem,
manage_copyObjects,
manage_cutObjects,
manage_pasteObjects,
manage_renameObjects,
validClipData
Inherited from ObjectManager:
__class_init__,
__getitem__,
_checkId,
filtered_meta_types,
hasObject,
list_imports,
manage_afterAdd,
manage_afterClone,
manage_delObjects,
manage_exportObject,
manage_FTPlist,
manage_FTPstat,
manage_hasId,
manage_importObject,
objectIds,
objectIds_d,
objectItems,
objectItems_d,
objectMap,
objectMap_d,
objectValues,
objectValues_d,
superValues,
tpValues
Inherited from Navigation:
manage_zmi_logout
Inherited from Tabs:
class_manage_path,
filtered_manage_options,
tabs_path_default,
tabs_path_info
Inherited from Persistent:
__getattribute__,
bobobase_modification_time,
locked_in_version,
modified_in_version
Inherited from Persistent:
__delattr__,
__getstate__,
__reduce__,
__setattr__,
__setstate__
Inherited from Collection:
dav__init,
DELETE,
HEAD,
listDAVObjects,
PUT
Inherited from Resource:
COPY,
dav__simpleifhandler,
dav__validate,
LOCK,
manage_DAVget,
MKCOL,
MOVE,
OPTIONS,
PROPFIND,
PROPPATCH,
TRACE,
UNLOCK
Inherited from LockableItem:
wl_clearLocks,
wl_delLock,
wl_getLock,
wl_hasLock,
wl_isLocked,
wl_lockItems,
wl_lockmapping,
wl_lockTokens,
wl_lockValues,
wl_setLock
Inherited from EtagSupport:
http__etag,
http__parseMatchList,
http__processMatchHeaders,
http__refreshEtag
Inherited from Traversable:
absolute_url,
absolute_url_path,
getPhysicalPath,
restrictedTraverse,
unrestrictedTraverse,
virtual_url_path
Inherited from PrimaryPathManager:
getPrimaryId,
getPrimaryParent,
getPrimaryPath,
getPrimaryUrlPath,
primaryAq
Inherited from ZItem:
__len__,
__repr__,
getId,
manage_editedDialog,
raise_standardErrorMessage,
this,
title_and_id,
title_or_id,
tpURL
Inherited from CopySource:
cb_isCopyable,
cb_userHasCopyOrMovePermission
Inherited from Owned:
changeOwnership,
getOwner,
getOwnerTuple,
getWrappedOwner,
manage_fixupOwnershipAfterAdd,
owner_info,
userCanTakeOwnership
Inherited from RoleManager:
ac_inherited_permissions,
access_debug_info,
acquiredRolesAreUsedBy,
get_local_roles,
get_local_roles_for_userid,
get_valid_userids,
has_local_roles,
manage_access,
manage_defined_roles,
manage_editRoles,
manage_role,
permission_settings,
permissionsOfRole,
possible_permissions,
rolesOfPermission,
userdefined_roles,
users_with_local_role,
valid_roles,
validate_roles,
validRoles
Inherited from RoleManager:
manage_getPermissionMapping
Inherited from UndoSupport:
get_request_var_or_attr,
manage_undo_transactions,
undoable_transactions
Inherited from ZenPropertyManager:
deleteZenProperty,
isLocal,
manage_editProperties,
saveZenProperties,
setZenProperty,
zenPropertyIds,
zenPropertyItems,
zenPropertyMap,
zenPropertyOptions,
zenPropertyPath,
zenPropertyString,
zenPropertyType,
zenPropIsPassword
Inherited from PropertyManager:
getProperty,
getPropertyType,
hasProperty,
manage_addProperty,
manage_changeProperties,
manage_changePropertyTypes,
manage_delProperties,
propdict,
propertyIds,
propertyItems,
propertyLabel,
propertyMap,
propertyValues,
valid_property_id
Inherited from ElementWithAttributes:
getAttribute,
getAttributeNode,
getAttributes
Inherited from Element:
getChildNodes,
getElementsByTagName,
getFirstChild,
getLastChild,
getNextSibling,
getNodeName,
getNodeType,
getParentNode,
getPreviousSibling,
getTagName
Inherited from Node:
getNodeValue,
getOwnerDocument,
hasChildNodes
Inherited from Historical:
manage_afterHistoryCopy,
manage_beforeHistoryCopy,
manage_change_history,
manage_historicalComparison,
manage_historyCompare,
manage_historyCopy
Inherited from ZenPacker:
addToZenPack,
findObject
Inherited from ObjectCache:
addToCache,
checkCache,
cleanCache,
clearCache,
getCache,
getCacheClearthresh,
getCacheTimeout,
initCache
Inherited from DbAccessBase:
cleanstring,
close,
connect
Inherited from Base:
__getnewargs__
Inherited from object:
__reduce_ex__,
__str__
| |