|
|
__init__(self,
noopts=0)
Create any base performance directories (if necessary), load
cached configuration data and clean up any old RRD files (if
specified by --checkAgingFiles) |
source code
|
|
|
|
pickleName(self,
id)
Return the path to the pickle file for a device |
source code
|
|
|
|
|
|
|
cleanup(self,
fullPath)
Delete an old RRD file |
source code
|
|
|
|
reportOldFile(self,
fullPath)
Add an RRD file to the list of files to be removed |
source code
|
|
|
|
remote_updateDeviceList(self,
devices)
Gather the list of devices from zenhub, update all devices config
in the list of devices, and remove any devices that we know about,
but zenhub doesn't know about. |
source code
|
|
|
|
startUpdateConfig(self,
driver)
Periodically ask the Zope server for basic configuration data. |
source code
|
|
|
|
updateDeviceList(self,
responses,
requested)
Update the config for devices |
source code
|
|
|
SnmpConnInfo class
|
|
|
|
updateSnmpStatus(self,
status)
Update the SNMP failure counts from Status database |
source code
|
|
|
|
remote_deleteDevice(self,
doomed)
Allows zenhub to delete a device from our configuration |
source code
|
|
|
|
remote_updateDeviceConfig(self,
snmpTargets)
Allows zenhub to update our device configuration |
source code
|
|
|
|
|
|
|
|
|
|
setUnresponsiveDevices(self,
arg)
Remember all the unresponsive devices |
source code
|
|
|
|
readDevices(self,
unused=None)
Periodically fetch the performance values from all known
devices |
source code
|
|
|
|
reportRate(self,
*unused)
Finished reading all the devices, report stats and maybe stop |
source code
|
|
|
|
checkOldFiles(self)
Send an event showing whether we have old files or not |
source code
|
|
|
|
startReadDevice(self,
deviceName)
Initiate a request (or several) to read the performance data from
a device |
source code
|
|
|
|
badOid(self,
deviceName,
oid)
Report any bad OIDs (eg to a file log and Zenoss event) and then
remove the OID so we dont generate any further errors. |
source code
|
|
|
|
storeValues(self,
updates,
deviceName)
Decode responses from devices and store the elements in RRD
files |
source code
|
|
|
|
|
|
|
|
|
|
|
|
Inherited from SnmpDaemon.SnmpDaemon:
setPropertyItems
Inherited from RRDDaemon.RRDDaemon:
error,
errorStop,
getDevicePingIssues,
logError,
model,
remote_setPropertyItems,
sendThresholdEvent
Inherited from ZenHub.PBDaemon.PBDaemon:
connect,
connectTimeout,
eventService,
getInitialServices,
getService,
getServiceNow,
gotPerspective,
heartbeat,
pushEvents,
pushEventsLoop,
remote_getName,
remote_shutdown,
remote_updateThresholdClasses,
run,
sendEvent,
sendEvents,
setExitCode,
sigTerm,
stop
Inherited from ZenUtils.ZenDaemon.ZenDaemon:
becomeDaemon,
becomeWatchdog,
changeUser,
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,
parseOptions,
pretty_print_config_comment
Inherited from object:
__delattr__,
__getattribute__,
__hash__,
__new__,
__reduce__,
__reduce_ex__,
__repr__,
__setattr__,
__str__
|