-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SNMP plugin needs a new schema #2636
Labels
Comments
we should probably add support for metadata to snmp |
We can allow to override reported All this allow to unify metrics from |
This feature was implemented. If you still interested, you can do tests. |
nmdayton
pushed a commit
to Stackdriver/collectd
that referenced
this issue
Jan 17, 2019
Added new options `PluginInstance`, `TypeInstance`, `TypeInstanceOID` and `PluginInstanceOID`. These allows flexible configuration of reported metrics. Existing `Instance` option marked as deprecated. Closes: collectd#2636
nmdayton
pushed a commit
to Stackdriver/collectd
that referenced
this issue
Jan 18, 2019
Added new options `PluginInstance`, `TypeInstance`, `TypeInstanceOID` and `PluginInstanceOID`. These allows flexible configuration of reported metrics. Existing `Instance` option marked as deprecated. Closes: collectd#2636
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Sometimes it is possible to collect interface statistics using SNMP, in other instances it is done with collectd. Unfortunately the two methods do not present statistics in an aligned name space. To fix this, the SNMP plugin needs to be updated.
In the SNMP configuration, we can setup collecting octet counters like this:
What actually happens is that the SNMP plugin applies the "Instance" name to the "type_instance" field rather than the "instance" field.
What I'd like to suggest is the addition of a new per-Data boolean option "NewSchema" that when set to true, causes collectd to use "instance" rather than "type_instance", will cause "InstancePrefix" to be ignored and add a new configuration option, "TypeInstance" that allows the "type_instance" field to be set.
The goal here is to make it easier to re-use queries and graphs between interface and SNMP statistics. The "type_instance" change is to introduce another 'variable' to use with grafana when doing "GROUP BY".
The text was updated successfully, but these errors were encountered: