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) x.__init__(...) initializes x; see x.__class__.__doc__ for signature | 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`, `parseOptions`, `pretty_print_config_comment`, `setupLogging` Inherited from `object`: `__delattr__`, `__getattribute__`, `__hash__`, `__new__`, `__reduce__`, `__reduce_ex__`, `__repr__`, `__setattr__`, `__str__`

Class Variables | [hide private]
Inherited from `CmdBase.CmdBase`: `doesLogging`

Properties | [hide private]
Inherited from `object`: `__class__`

Method Details | [hide private]

### __init__(self) (Constructor) | source code
x.__init__(...) initializes x; see x.__class__.__doc__ for signature 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)