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

# Class ConfDaemon

source code

         object --+
                  |
    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=None, frame=None) | 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. | source code
Inherited from `CmdBase.CmdBase`: `buildParser`, `checkLogpath`, `generate_configs`, `generate_xml_configs`, `generate_xml_table`, `getConfigFileDefaults`, `getGlobalConfigFileDefaults`, `getParamatersFromConfig`, `loadConfigFile`, `parseOptions`, `pretty_print_config_comment`, `setupLogging`, `validateConfigFile`

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. Other classes should call this before adding more options Overrides: CmdBase.CmdBase.buildOptions (inherited documentation)