Skip to content

User error: snmpa_trap: Invalid value: wrongType #41

Open
@ates

Description

@ates

How to reproduce:

1> application:ensure_all_started(snmp).
{ok,[snmp]}
2> application:ensure_all_started(exometer).
{ok,[syntax_tools,compiler,goldrush,lager,exometer]}
3> exometer:new([foo, bar], histogram, [{snmp, [{min, 1000}, {mean, 1000}]}]).
ok

Got in shell:

18:17:16.226 [error] ** User error: snmpa_trap: Invalid value: wrongType
   Oid:  [1,3,6,1,4,1,40076,1,3,0]
   Val:  {value,0}
   Type: {asn1_type,'OCTET STRING',0,64,[],true,'OCTET STRING',false,undefined}

Exometer configuration:

{exometer, [
        {report, [
            {reporters, [
                {exometer_report_snmp, [
                    {mib_template, "priv/mibs/APP-METRICS-MIB.mib"},
                    {mib_dir, "tmp/exometer"}
                ]}
            ]}
        ]}
    ]}

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions