-
Notifications
You must be signed in to change notification settings - Fork 105
Open
Description
Hi! I faced with this error when trying to create very basic example of using of exometer with snmp integration.
(agent@cabal)2> 17:20:30.877 [info] MIB /tmp/exometer/EXOMETER-METRICS-MIB unloaded
17:20:30.877 [error] Error {error,{'load aborted at',"/tmp/exometer/EXOMETER-METRICS-MIB",oid_conflict}} when loading MIB /tmp/exometer/EXOMETER-METRICS-MIB
17:20:30.877 [error] CRASH REPORT Process exometer_report_snmp with 0 neighbours crashed with reason: no match of right hand value {error,{'load aborted at',"/tmp/exometer/EXOMETER-METRICS-MIB",oid_conflict}} in exometer_report_snmp:enable_metric/2 line 219
17:20:30.877 [info] exometer_report_snmp([{mib_template,"priv/EXOMETER-METRICS-MIB.mib"},{mib_dir,"/tmp/exometer"}]): Starting
17:20:30.879 [info] MIB /tmp/exometer/EXOMETER-METRICS-MIB loaded
17:20:30.886 [info] MIB /tmp/exometer/EXOMETER-METRICS-MIB unloaded
17:20:30.887 [error] Error {error,{'load aborted at',"/tmp/exometer/EXOMETER-METRICS-MIB",oid_conflict}} when loading MIB /tmp/exometer/EXOMETER-METRICS-MIB
17:20:30.887 [error] CRASH REPORT Process exometer_report_snmp with 0 neighbours crashed with reason: no match of right hand value {error,{'load aborted at',"/tmp/exometer/EXOMETER-METRICS-MIB",oid_conflict}} in exometer_report_snmp:enable_metric/2 line 219
17:20:30.887 [info] exometer_report_snmp([{mib_template,"priv/EXOMETER-METRICS-MIB.mib"},{mib_dir,"/tmp/exometer"}]): Starting
17:20:30.889 [info] MIB /tmp/exometer/EXOMETER-METRICS-MIB loaded
17:20:30.895 [info] MIB /tmp/exometer/EXOMETER-METRICS-MIB unloaded
17:20:30.895 [error] Error {error,{'load aborted at',"/tmp/exometer/EXOMETER-METRICS-MIB",oid_conflict}} when loading MIB /tmp/exometer/EXOMETER-METRICS-MIB
17:20:30.895 [error] CRASH REPORT Process exometer_report_snmp with 0 neighbours crashed with reason: no match of right hand value {error,{'load aborted at',"/tmp/exometer/EXOMETER-METRICS-MIB",oid_conflict}} in exometer_report_snmp:enable_metric/2 line 219
My example configuration:
https://github.com/IgorKarymov/exometer/tree/oid_conflict_error
Steps to reproduce:
-
make
-
make devnode_snmp_agent (note: start command and configuration file was changed by me)
- exometer:update_or_create([api, opiwa1], 3000, histogram, [{snmp, []}])
Also looks like, that changes of dynamically created MIB was stopped after this error occurred (you can introduce new metrics, but file still be the same, however calls will returns 'ok')
Metadata
Metadata
Assignees
Labels
No labels