|
__init__(self,
*args,
**kwargs)
Initializer that takes care of basic daemon options. |
source code
|
|
list of dictionaries
|
loadDeviceList(self,
args=None)
Read through all of the files listed as arguments and return a list
of device entries. |
source code
|
|
|
|
|
applyCustProps(self,
device,
device_specs)
Custom schema properties |
source code
|
|
|
|
|
addLGSOrganizer(self,
lgsType,
paths=[])
Add any new locations, groups or organizers |
source code
|
|
|
addOrganizer(self,
device_specs)
Add any organizers as required, and apply zproperties to them. |
source code
|
|
|
|
|
runLoader(self,
loader,
device_specs)
It's up to the loader now to figure out what's going on. |
source code
|
|
|
processDevices(self,
device_list)
Read the input and process the devices
* create the device entry
* set zproperties
* set custom schema properties
* model the device |
source code
|
|
|
reportException(self,
msg,
devName='',
**kwargs)
Report exceptions back to the the event console |
source code
|
|
|
reportResults(self,
processed,
totalDevices)
Report the success + total counts from loading devices. |
source code
|
|
|
notifyNewDeviceCreated(self,
deviceName)
Report that we added a new device. |
source code
|
|
DMD device object
|
|
|
|
list of dictionaries
|
parseDevices(self,
data)
From the list of strings in rawDevices, construct a list of device
dictionaries, ready to load into Zenoss. |
source code
|
|
dictionary
|
|
Inherited from ZenUtils.ZCmdBase.ZCmdBase :
closeAll ,
closedb ,
findDevice ,
getConnection ,
getContext ,
getDataRoot ,
getDmdObj ,
login ,
logout ,
opendb ,
sigTerm ,
syncdb ,
zodbConnect
Inherited from ZenUtils.ZenDaemon.ZenDaemon :
becomeDaemon ,
becomeWatchdog ,
changeUser ,
convertSocketOption ,
logname ,
niceDoggie ,
openPrivilegedPort ,
setupLogging ,
sighandler_USR1 ,
watchdogCycleTime ,
watchdogMaxRestartTime ,
watchdogStartTimeout ,
writePidFile
Inherited from ZenUtils.CmdBase.CmdBase :
buildParser ,
checkLogpath ,
generate_configs ,
generate_xml_configs ,
generate_xml_table ,
getConfigFileDefaults ,
getGlobalConfigFileDefaults ,
getParamatersFromConfig ,
loadConfigFile ,
parseOptions ,
pretty_print_config_comment ,
validateConfigFile
|