ceilometer.hardware.inspector.snmp
Module¶Inspector for collecting data over SNMP
ceilometer.hardware.inspector.snmp.
SNMPInspector
[source]¶Bases: ceilometer.hardware.inspector.base.Inspector
inspect_generic
(host, cache, extra_metadata, param)[source]¶A generic inspect function.
Parameters: |
|
---|---|
Returns: | an iterator of (value, metadata, extra) containing the sample value, metadata dict to construct sample’s metadata, and extra dict of extra metadata to help constructing sample |
ceilometer.hardware.inspector.snmp.
parse_snmp_return
(ret, is_bulk=False)[source]¶Check the return value of snmp operations
Parameters: |
|
---|---|
Returns: | a tuple of (err, data) err: True if error found, or False if no error found data: a string of error description if error found, or the
|
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.