Package Products :: Package ZenRRD :: Module SnmpDaemon :: Class SnmpDaemon |
[hide private]
[frames] | no frames]

# Class SnmpDaemon

source code

                     object --+
                              |
       ZenUtils.CmdBase.CmdBase --+
                                  |
       ZenUtils.ZenDaemon.ZenDaemon --+
                                      |
    twisted.spread.pb.Referenceable --+
                                      |
               ZenHub.PBDaemon.PBDaemon --+
                                          |
                        RRDDaemon.RRDDaemon --+
                                              |
                                             SnmpDaemon

Instance Methods | [hide private]
__init__(self, name, noopts=False) Initializer for common SNMP daemon classes | source code
setPropertyItems(self, items) Set all of the specified zProperties. | source code
Inherited from `RRDDaemon.RRDDaemon`: `buildOptions`, `error`, `errorStop`, `getDevicePingIssues`, `logError`, `model`, `remote_setPropertyItems`, `remote_updateDeviceList`, `sendThresholdEvent` Inherited from `ZenHub.PBDaemon.PBDaemon`: `connect`, `connectTimeout`, `connected`, `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`, `convertSocketOption`, `logname`, `niceDoggie`, `openPrivilegedPort`, `setupLogging`, `sighandler_USR1`, `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]
| snmpCycleInterval = `5* 60`
| heartbeatTimeout = `snmpCycleInterval* 3`
| properties = `RRDDaemon.properties+('snmpCycleInterval',)`
Inherited from `RRDDaemon.RRDDaemon`: `configCycleInterval`, `rrd`, `shutdown`, `thresholds` Inherited from `ZenHub.PBDaemon.PBDaemon`: `heartbeatEvent`, `initialServices`, `name` Inherited from `ZenHub.PBDaemon.PBDaemon` (private): `_customexitcode`, `_sendingEvents` Inherited from `ZenUtils.ZenDaemon.ZenDaemon`: `pidfile` Inherited from `ZenUtils.CmdBase.CmdBase`: `doesLogging`

Method Details | [hide private]

### __init__(self, name, noopts=False) (Constructor) | source code
Initializer for common SNMP daemon classes Parameters: `name` (string) - name of the daemon `noopts` (boolean) - process command-line arguments? Overrides: ZenUtils.CmdBase.CmdBase.__init__

### setPropertyItems(self, items) | source code
Set all of the specified zProperties. Parameters: `items` (list) - kwargs Overrides: RRDDaemon.RRDDaemon.setPropertyItems