declarative snmp metrics

Registered by Lianhao Lu

Currently, we use a generic snmp hardware inspector and a python dict which defines the mapping between snmp oid/operations and the value the caller want. On top of that generic snmp inspector, we still have separate hardware pollsters doing things like setting other fields in Sample object. It's ok to add a dozen of new metrics. But if want to add hundreds of new metrics, we need to simplify more.

We need to have a generic snmp pollster with a declarative YAML definition which contains the mapping between snmp oid/operations and the final sample object field. In this way, we can add new snmp metrics in a declarative way.

Blueprint information

Status:
Complete
Approver:
Chris Dent
Priority:
Medium
Drafter:
Lianhao Lu
Direction:
Approved
Assignee:
Lianhao Lu
Definition:
Approved
Series goal:
Accepted for liberty
Implementation:
Implemented
Milestone target:
milestone icon 5.0.0
Started by
gordon chung
Completed by
gordon chung

Related branches

Sprints

Whiteboard

Gerrit topic: https://review.openstack.org/#q,topic:bp/declarative-snmp-metrics,n,z

Addressed by: https://review.openstack.org/178057
    Declarative snmp metric pollster

Addressed by: https://review.openstack.org/217667
    Added snmp declarative hardware pollster

Addressed by: https://review.openstack.org/218163
    Added support of pollsters giving multiple meters

Addressed by: https://review.openstack.org/218164
    Migrate the old snmp pollsters to new declarative pollster

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.