Skip to content
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 - Support for Textual-convention. #1151

Closed
framiere opened this issue May 4, 2016 · 3 comments
Closed

SNMP - Support for Textual-convention. #1151

framiere opened this issue May 4, 2016 · 3 comments

Comments

@framiere
Copy link
Contributor

framiere commented May 4, 2016

Hi,

Right now include_instances is supported which is great.
However some metrics are expressed using textual-convention.
Here is an example of such a convention

FgHaLBSchedule ::= TEXTUAL-CONVENTION
    STATUS      current
    DESCRIPTION 
        "enumerated type for HA load-balancing schedules"
    SYNTAX      INTEGER { none(1), hub(2), leastConnections(3), 
                    roundRobin(4), weightedRoundRobin(5), random(6), 
                    ipBased(7), ipPortBased(8) }

I am thinking about adding support for this feature.
Any idea/recommandation on how the configuration should look like ?

Cheers

@framiere framiere changed the title SNMP - Support SNMP - Support for Textual-convention. May 4, 2016
@sparrc
Copy link
Contributor

sparrc commented May 4, 2016

Sounds great, I don't have any opinions on how it should look because I'm not very advanced SNMP user, but if you could post some examples of a few different options you're thinking of, that would be helpful.

@phemmer phemmer mentioned this issue Jun 20, 2016
3 tasks
sparrc added a commit that referenced this issue Jul 28, 2016
closes #1371
closes #808
closes #1361
closes #1151
closes #997
closes #1163
closes #856
closes #1043
closes #961
closes #1389
sparrc added a commit that referenced this issue Jul 28, 2016
closes #1371
closes #808
closes #1361
closes #1151
closes #997
closes #1163
closes #856
closes #1043
closes #961
closes #1389
sparrc added a commit that referenced this issue Jul 28, 2016
closes #1371
closes #808
closes #1361
closes #1151
closes #997
closes #1163
closes #856
closes #1043
closes #961
closes #1389
sparrc added a commit that referenced this issue Jul 28, 2016
closes #1371
closes #808
closes #1361
closes #1151
closes #997
closes #1163
closes #856
closes #1043
closes #961
closes #1389
sparrc added a commit that referenced this issue Aug 3, 2016
closes #1371
closes #808
closes #1361
closes #1151
closes #997
closes #1163
closes #856
closes #1043
closes #961
closes #1389
@phemmer
Copy link
Contributor

phemmer commented Aug 22, 2016

Just fyi, with #1389 merged, the new snmp plugin supports conversion of a few different formats (see "conversion" parameter of https://github.com/influxdata/telegraf/tree/master/plugins/inputs/snmp#field-parameters).

It doesn't support all textual convention formats, as full textual convention support would be insanely complex. So I just added the most common use cases. It would be easy to add more if your use case isn't covered.

@sparrc
Copy link
Contributor

sparrc commented Aug 23, 2016

this is now available in 1.0 RC 1 with the new SNMP plugin, please see here to download the latest version: https://github.com/influxdata/telegraf#linux-deb-and-rpm-packages, and the changelog for details on the new SNMP plugin.

@sparrc sparrc closed this as completed Aug 23, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants