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
Inherited from `BaseClient.BaseClient`: `stop` Inherited from `object`: `__delattr__`, `__getattribute__`, `__hash__`, `__new__`, `__reduce__`, `__reduce_ex__`, `__repr__`, `__setattr__`, `__str__`

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

Method Details | [hide private]

### __init__(self, hostname, ipaddr, options=None, device=None, datacollector=None, plugins=[]) (Constructor) | source code
Initializer 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