| Trees | Index | Help |
|
|---|
| Package ZenModel :: Module Device :: Class Device |
|
AdministrativeRoleable --+
|
Commandable --+
|
object --+ |
| |
Lockable --+
|
MaintenanceWindowable --+
|
DeviceResultInt --+ |
| |
object --+ | |
| | |
EventView --+ |
| |
object --+ | |
| | |
RRDView --+ |
| |
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 --+ |
| |
ManagedEntity --+
|
Device
TerminalServer,
UBRRouter| Method Summary | |
|---|---|
__init__(self,
id)
| |
__getattr__(self,
name)
| |
add a device group to the database and this device | |
Create a local template on a device | |
Add a new location and relate it to this device | |
Add a manufacturer to the database | |
add new status monitor to the database and this device | |
add a systems to this device using its system path | |
Apply a datamap passed as a list of dicts through XML-RPC. | |
Apply zProperties inherited from Product Contexts. | |
availability(self,
*args,
**kw)
| |
This will bind available templates to the zDeviceTemplates | |
Read current RRD values for all of a device's components | |
collect the configuration of this device. | |
Delete device from the DMD | |
support DeviceResultInt mixin class | |
Add export of our child objects. | |
Return the ips that our indirect routs point to which aren't currently connected to devices. | |
Returns all available templates for this device | |
returns data ready for serialization | |
Return list of command definitions in the form (device, user, pass [(cmdinfo,),...]) | |
Returns a list of the available datasource options as a list of (display name, dsOption) | |
Return list of all DeviceComponents on this device. | |
get the device group names for this device | |
Return the expanded zComment property | |
getHTMLEventSummary(self,
severity)
| |
Return the hardware manufacturer name of this device. | |
Get our HW product by productKey. | |
Return the hardware product name of this device. | |
Return our hardware serial number. | |
Return DateTime of last change detected on this device. | |
Return date string of last change detected on this device. | |
set the value of the snmpUpTime status object | |
Return an a link to the devices location. | |
return the full location name ie /Location/SubLocation/Rack | |
Return the management interface of a device based on its manageIp. | |
Return the management ip for this device. | |
Return the management ipobject for this device. | |
Return list of monitored DeviceComponents on this device. | |
get a graph representing the relative routers as well as the networks | |
Return the OS manufacturer name of this device. | |
Return process monitoring configuration. | |
Get our OS product by productKey. | |
Return the OS product name of this device. | |
build a list of all device paths that have the python class pyclass | |
return device performance server | |
return device performance server | |
Return the pingStatus as a string | |
Return the device priority as a string. | |
Return the prodstate as a string. | |
get a graph representing the relative routers | |
getRRDNames(self)
| |
getRRDTemplate(self)
| |
getRRDTemplates(self)
| |
getSnmpConnInfo(self)
| |
getSnmpLastCollection(self)
| |
getSnmpLastCollectionString(self)
| |
Return information for snmp collection on this device in the form... | |
Return the snmpStatus as a string | |
return status monitor names | |
get the system names for this device | |
get the system names for this device as a string | |
Return url for page which manages user commands | |
Get the environment that provides context for the tales evaluation of a UserCommand. | |
Called by Commandable.doCommand() to ascertain objects on which a UserCommand should be executed. | |
Return information for xmlrpc collection on this device in the form... | |
return true if pydot is installed. | |
Device only propagates afterAdd if it is the added object. | |
Not really sure when this is called. | |
Device only propagates beforeDelete if we are being deleted or copied. | |
Delete this device's heartbeats. | |
edit device relations and attributes | |
Reorder the sequecne of the RRDGraphs. | |
Reset the snmp community using the zSnmpCommunities variable. | |
Is device production state >= zProdStateThreshold. | |
Device has more SNMP failures than maxFailures on its status mon. | |
This will result in a push of all the devices to live collectors | |
Deletes the local zProperty, zDeviceTemplates | |
Rename device from the DMD | |
set the list of groups for this device based on a list of paths | |
set the productName of this device | |
Set our HW product by productKey. | |
Set our hardware serial number. | |
Set the changed datetime for this device. | |
set the value of the snmpUpTime status object | |
set the location of a device within a generic location path | |
Set the manage ip, if ip is not passed perform DNS lookup. | |
set the productName of this device | |
Set our OS product by productKey. | |
set the performance monitor for this device if newPerformanceMonitor is passed in create it | |
Set a device's priority as an integer. | |
Set a device's production state as an integer. | |
Set the last time snmp collection occurred. | |
Set Status Monitor by list statusMonitors | |
set a list of systems to this device using their system paths | |
setTerminalServer(self,
termservername)
| |
snmpAgeCheck(self,
hours)
| |
Is this device subject to SNMP monitoring? | |
sysUpTime(self)
| |
traceRoute(self,
target,
ippath)
| |
return a textual representation of the snmp uptime | |
Provide a set of default options for a ZProperty | |
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_editProperties,
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_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_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,
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 DeviceResultInt:
getDeviceClassName,
getDeviceClassPath,
getDeviceIp,
getDeviceIpAddress,
getDeviceLink,
getDeviceMacaddress,
getDeviceName,
getDeviceUrl,
getPingStatus,
getPingStatusNumber,
getProdState,
getSnmpStatus,
getSnmpStatusNumber,
getXmlRpcStatus,
getXmlRpcStatusNumber,
isResultLockedFromDeletion,
isResultLockedFromUpdates,
sendEventWhenResultBlocked
Inherited from EventView:
getEventHistory,
getEventManager,
getEventOwnerList,
getEventSummary,
getJSONEventsInfo,
getJSONFields,
getJSONHistoryEventsInfo,
getStatus,
getStatusCssClass,
getStatusImgSrc,
getStatusString,
manage_ackBatchEvents,
manage_ackEvents,
manage_createEventMap,
manage_deleteBatchEvents,
manage_deleteEvents,
manage_setEventStates,
manage_undeleteBatchEvents,
manage_undeleteEvents
Inherited from RRDView:
cacheRRDValue,
getDefaultGraphs,
getRRDDataPoint,
getRRDDataPoints,
getRRDFileName,
getRRDGraphUrl,
getRRDPaths,
getRRDSum,
getRRDTemplateByName,
getRRDTemplateName,
getRRDValue,
getRRDValues,
getThresholds,
makeLocalRRDTemplate,
removeLocalRRDTemplate,
rrdPath,
snmpIgnore
Inherited from Commandable:
compile,
doCommandForTarget,
getAqChainForUserCommands,
getUserCommand,
getUserCommands,
manage_addUserCommand,
manage_deleteUserCommand,
manage_doUserCommand,
manage_editUserCommand,
redirectToUserCommands,
write
Inherited from Lockable:
getNextLockableParent,
isLockedFromDeletion,
isLockedFromUpdates,
isUnlocked,
lockFromDeletion,
lockFromUpdates,
lockStatus,
lockWarning,
sendEventWhenBlocked,
setSendEventWhenBlockedFlag,
unlock,
unsetSendEventWhenBlockedFlag
Inherited from MaintenanceWindowable:
manage_addMaintenanceWindow,
manage_deleteMaintenanceWindow
Inherited from AdministrativeRoleable:
manage_addAdministrativeRole,
manage_deleteAdministrativeRole,
manage_editAdministrativeRoles
Inherited from Base:
__getnewargs__
Inherited from object:
__reduce_ex__,
__str__
| |
| Class Variable Summary | |
|---|---|
tuple |
__ac_permissions__ = (('Change Device', ('setStatusMonit...
|
PermissionRole |
addDeviceGroup__roles__ = <PermissionRole object at 0x32...
|
PermissionRole |
addManufacturer__roles__ = <PermissionRole object at 0x3...
|
PermissionRole |
addStatusMonitor__roles__ = <PermissionRole object at 0x...
|
PermissionRole |
addSystem__roles__ = <PermissionRole object at 0x320d038...
|
PermissionRole |
collectDevice__roles__ = <PermissionRole object at 0x320...
|
str |
comments = ''
|
str |
default_catalog = 'deviceSearch'
|
PermissionRole |
deleteDevice__roles__ = <PermissionRole object at 0x320d...
|
PermissionRole |
device__roles__ = <PermissionRole object at 0x320d080>
|
str |
event_key = 'Device'
|
tuple |
factory_type_information = ({'product': 'ZenModel', 'des...
|
PermissionRole |
getDeviceGroupNames__roles__ = <PermissionRole object at...
|
PermissionRole |
getLastChange__roles__ = <PermissionRole object at 0x320...
|
PermissionRole |
getLastChangeString__roles__ = <PermissionRole object at...
|
PermissionRole |
getLastPollSnmpUpTime__roles__ = <PermissionRole object ...
|
PermissionRole |
getLocationName__roles__ = <PermissionRole object at 0x3...
|
PermissionRole |
getManageInterface__roles__ = <PermissionRole object at ...
|
PermissionRole |
getManageIp__roles__ = <PermissionRole object at 0x320d0...
|
PermissionRole |
getNetworkGraph__roles__ = <PermissionRole object at 0x3...
|
PermissionRole |
getPerformanceServer__roles__ = <PermissionRole object a...
|
PermissionRole |
getPerformanceServerName__roles__ = <PermissionRole obje...
|
PermissionRole |
getRouterGraph__roles__ = <PermissionRole object at 0x32...
|
PermissionRole |
getSnmpLastCollection__roles__ = <PermissionRole object ...
|
PermissionRole |
getSnmpLastCollectionString__roles__ = <PermissionRole o...
|
PermissionRole |
getStatusMonitorNames__roles__ = <PermissionRole object ...
|
PermissionRole |
getSystemNames__roles__ = <PermissionRole object at 0x32...
|
PermissionRole |
getSystemNamesString__roles__ = <PermissionRole object a...
|
tuple |
manage_afterAdd__roles__ = ('Manager',)
|
tuple |
manage_afterClone__roles__ = ('Manager',)
|
tuple |
manage_beforeDelete__roles__ = ('Manager',)
|
tuple |
manage_deleteHeartbeat__roles__ = ('Manager',)
|
PermissionRole |
manage_editDevice__roles__ = <PermissionRole object at 0...
|
PermissionRole |
manage_resequenceRRDGraphs__roles__ = <PermissionRole ob...
|
PermissionRole |
manage_snmpCommunity__roles__ = <PermissionRole object a...
|
str |
manageIp = ''
|
str |
meta_type = 'Device'
|
tuple |
meta_types = ()
|
str |
portal_type = 'Device'
|
int |
previousProductionState = 1000 |
int |
priority = 3 |
int |
productionState = 1000 |
int |
rackSlot = 0 |
str |
relationshipManagerPathRestriction = '/Devices'
|
PermissionRole |
renameDevice__roles__ = <PermissionRole object at 0x320d...
|
PermissionRole |
setGroups__roles__ = <PermissionRole object at 0x320d038...
|
PermissionRole |
setHWProduct__roles__ = <PermissionRole object at 0x320d...
|
PermissionRole |
setLastChange__roles__ = <PermissionRole object at 0x320...
|
PermissionRole |
setLastPollSnmpUpTime__roles__ = <PermissionRole object ...
|
PermissionRole |
setLocation__roles__ = <PermissionRole object at 0x320d0...
|
PermissionRole |
setManageIp__roles__ = <PermissionRole object at 0x320d0...
|
PermissionRole |
setOSProduct__roles__ = <PermissionRole object at 0x320d...
|
PermissionRole |
setPerformanceMonitor__roles__ = <PermissionRole object ...
|
PermissionRole |
setPriority__roles__ = <PermissionRole object at 0x320d0...
|
PermissionRole |
setProdState__roles__ = <PermissionRole object at 0x320d...
|
PermissionRole |
setSnmpLastCollection__roles__ = <PermissionRole object ...
|
PermissionRole |
setStatusMonitors__roles__ = <PermissionRole object at 0...
|
PermissionRole |
setSystems__roles__ = <PermissionRole object at 0x320d03...
|
PermissionRole |
setTerminalServer__roles__ = <PermissionRole object at 0...
|
str |
snmpAgent = ''
|
str |
snmpContact = ''
|
str |
snmpDescr = ''
|
str |
snmpLocation = ''
|
str |
snmpOid = ''
|
str |
snmpSysName = ''
|
str |
sysedgeLicenseMode = ''
|
PermissionRole |
uptimeStr__roles__ = <PermissionRole object at 0x320d080...
|
Inherited from ManagedEntity:
monitor,
snmpindex
Inherited from ZenModelRM:
getDmdKey__roles__,
isInTree,
primarySortKey__roles__,
rename__roles__,
viewName__roles__,
zmanage_editProperties__roles__
Inherited from ZenModelBase:
breadCrumbs__roles__,
getPrimaryDmdId__roles__,
helpLink__roles__,
index_html,
manage_deleteObjects__roles__,
sub_meta_types,
view__roles__,
zentinelTabs__roles__
Inherited from RelationshipManager:
manage_addRelation__roles__,
manage_main,
manage_main__roles__,
manage_options,
manage_removeRelation__roles__,
manage_workspace__roles__
Inherited from CopyContainer:
__implemented__,
__providedBy__,
| |