Package Products :: Package DataCollector :: Module SnmpClient :: Class SnmpClient |
[hide private]
[frames] | no frames]

# Class SnmpClient

source code

               object --+
                        |
    BaseClient.BaseClient --+
                            |
                           SnmpClient

Instance Methods | [hide private]
__init__(self, hostname, ipaddr, options=None, device=None, datacollector=None, plugins=[]) Initializer | source code
run(self) Start snmp collection. | source code
checkCiscoChange(self, driver) Check to see if a cisco box has changed. | source code
doRun(self, driver) | source code
collect(self, driver) | source code
list of results |
getResults(self) Return data for this client in the form ((plugin, (getdata, tabledata),) getdata = {'.1.2.4.5':"value",} tabledata = {tableMap : {'.1.2.3.4' : {'.1.2.3.4.1': "value",... | source code
clientFinished(self, result) | source code
stop(self) Stopping condition for the collector. | source code

Method Details | [hide private]

### __init__(self, hostname, ipaddr, options=None, device=None, datacollector=None, plugins=[]) (Constructor) | source code
Initializer Parameters: `device` - remote device to use the datacollector `datacollector` - performance data collector object Overrides: BaseClient.BaseClient.__init__ (inherited documentation)

### run(self) | source code
Start snmp collection. Overrides: BaseClient.BaseClient.run

### getResults(self) | source code
Return data for this client in the form ((plugin, (getdata, tabledata),) getdata = {'.1.2.4.5':"value",} tabledata = {tableMap : {'.1.2.3.4' : {'.1.2.3.4.1': "value",...}}} Returns: list of results list of results Overrides: BaseClient.BaseClient.getResults

### stop(self) | source code
Stopping condition for the collector. To be implemented by child classes Overrides: BaseClient.BaseClient.stop (inherited documentation)