Package ZenUtils :: Module ConfDaemon :: Class ConfDaemon
[hide private]
[frames] | no frames]

Class ConfDaemon

source code

CmdBase.CmdBase --+
                  |
                 ConfDaemon

Instance Methods [hide private]
 
__init__(self) source code
 
becomeDaemon(self)
fork twice to become a daemon
source code
 
forwardDnsLookup(self, hostname)
try the forward lookup dnstries times if it fails look in cache
source code
 
reverseDnsLookup(self, addr)
try the reverse lookup dnstries times if it fails look in cache
source code
 
_dnsLookup(self, function, target)
try dns lookup dnstries times
source code
 
getDnsTries(self) source code
 
sigTerm(self, signum, frame) source code
 
getConfig(self)
handle errors when loading config from server we try configtries times if no previous config is found
source code
 
buildOptions(self)
basic options setup sub classes can add more options here
source code

Inherited from CmdBase.CmdBase: buildParser, generate_configs, generate_xml_table, parseOptions, pretty_print_config_comment, setupLogging

Class Variables [hide private]

Inherited from CmdBase.CmdBase: doesLogging

Method Details [hide private]

__init__(self)
(Constructor)

source code 
Overrides: CmdBase.CmdBase.__init__

buildOptions(self)

source code 
basic options setup sub classes can add more options here
Overrides: CmdBase.CmdBase.buildOptions
(inherited documentation)