Package ZenModel :: Module BasicDeviceLoader :: Class BasicDeviceLoader
[hide private]
[frames] | no frames]

Class BasicDeviceLoader

source code

Known Subclasses:
CmdDeviceLoader.cmdDeviceLoader

Load a machine

Instance Methods [hide private]
 
loadDevice(self, deviceName, devicePath='', systemPath='', manufacturer='', model='', groupPath='', locationPath='', rack='', statusMonitorName='localhost', perfMonitorName='localhost', snmpCommunity='', snmpPort=None, loginName='', loginPassword='')
load a device into the database
source code
 
getDevice(self, deviceName, devicePath, snmpCommunity, snmpPort, loginName, loginPassword)
get a device if devicePath is None try classifier
source code
 
getLocationPath(self)
get the location path for an object
source code
 
getGroupPath(self)
override if you need to derive the group name from something else
source code
 
getSystemPath(self)
override if you need to derive the system name from something else
source code
 
getStatusMonitorName(self)
return the status monitor name, default is localhost
source code
 
getPerformanceMonitorName(self)
return the performance monitor name, default is localhost
source code