Package Products :: Package ZenEvents :: Module zeneventd :: Class ZenEventD |
[hide private]
[frames] | no frames]

# Class ZenEventD

source code

                  object --+
                           |
    ZenUtils.CmdBase.CmdBase --+
                               |
    ZenUtils.ZenDaemon.ZenDaemon --+
                                   |
          ZenUtils.ZCmdBase.ZCmdBase --+
                                       |
                                      ZenEventD

Instance Methods | [hide private]
__init__(self, *args, **kwargs) Initializer that takes care of basic daemon options. | source code
sigTerm(self, signum=None, frame=None) Signal handler for the SIGTERM signal. | source code
run(self) | source code
sighandler_USR1(self, signum, frame) Switch to debug level if signaled by the user, and to default when signaled again. | source code
buildOptions(self) basic options setup sub classes can add more options here | source code
Inherited from `ZenUtils.ZCmdBase.ZCmdBase`: `closeAll`, `closedb`, `findDevice`, `getConnection`, `getContext`, `getDataRoot`, `getDmdObj`, `login`, `logout`, `opendb`, `syncdb`, `zodbConnect` Inherited from `ZenUtils.ZenDaemon.ZenDaemon`: `audit`, `becomeDaemon`, `becomeWatchdog`, `changeUser`, `convertSocketOption`, `logname`, `niceDoggie`, `openPrivilegedPort`, `setupLogging`, `watchdogCycleTime`, `watchdogMaxRestartTime`, `watchdogStartTimeout`, `writePidFile` Inherited from `ZenUtils.ZenDaemon.ZenDaemon` (private): `_sigUSR1_called` 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`

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

Method Details | [hide private]

### __init__(self, *args, **kwargs) (Constructor) | source code
Initializer that takes care of basic daemon options. Creates a PID file. Overrides: ZenUtils.CmdBase.CmdBase.__init__

### sigTerm(self, signum=None, frame=None) | source code
Signal handler for the SIGTERM signal. Overrides: ZenUtils.ZenDaemon.ZenDaemon.sigTerm (inherited documentation)

### sighandler_USR1(self, signum, frame) | source code
Switch to debug level if signaled by the user, and to default when signaled again. Overrides: ZenUtils.ZenDaemon.ZenDaemon.sighandler_USR1 (inherited documentation)

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