File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3434 # priv_protocol = ""
3535 # # Privacy password used for encrypted messages.
3636 # priv_password = ""
37+
38+ # # -----------------------------------------------------------------------
39+ # # Metric Aggregation and Mapping
40+ # # -----------------------------------------------------------------------
41+
42+ # # Global Fields To Labels (Optional)
43+ # # Promotes translated varbinds matching these names into labels for the core metric
44+ # # and all dispersed metrics.
45+ # fields_to_labels = ["ifIndex", "ifAdminStatus", "ifOperStatus"]
46+
47+ # # Global Varbind Mapping (Optional)
48+ # # Replaces or renames varbinds matching the numeric OID prefix.
49+ # [instances.varbind_mapping]
50+ # ".1.3.6.1.2.1.2.2.1.1" = "ifIndex"
51+ # ".1.3.6.1.2.1.2.2.1.7" = "ifAdminStatus"
52+
53+ # # Trap Specific Mappings (Optional)
54+ # # Defines rules for specific traps. Takes precedence over global
55+ # # configurations for matched varbinds; unmatched varbinds still
56+ # # fall back to varbind_mapping and fields_to_labels.
57+ # [[instances.trap_mapping]]
58+ # oid = ".1.3.6.1.6.3.1.1.5.3"
59+ # name = "link_down"
60+ # value = ".1.3.6.1.2.1.1.3"
61+ #
62+ # [[instances.trap_mapping.varbind]]
63+ # oid = ".1.3.6.1.2.1.2.2.1.1"
64+ # name = "ifIndex"
Original file line number Diff line number Diff line change @@ -89,17 +89,17 @@ details.
8989 # # Metric Aggregation and Mapping
9090 # # -----------------------------------------------------------------------
9191
92+ # # Global Fields To Labels (Optional)
93+ # # Promotes translated varbinds matching these names into labels for the core metric
94+ # # and all dispersed metrics.
95+ # fields_to_labels = ["ifIndex", "ifAdminStatus", "ifOperStatus"]
96+
9297 # # Global Varbind Mapping (Optional)
9398 # # Replaces or renames varbinds matching the numeric OID prefix.
9499 # [instances.varbind_mapping]
95100 # ".1.3.6.1.2.1.2.2.1.1" = "ifIndex"
96101 # ".1.3.6.1.2.1.2.2.1.7" = "ifAdminStatus"
97102
98- # # Global Fields To Labels (Optional)
99- # # Promotes translated varbinds matching these names into labels for the core metric
100- # # and all dispersed metrics.
101- # fields_to_labels = ["ifIndex", "ifAdminStatus", "ifOperStatus"]
102-
103103 # # Trap Specific Mappings (Optional)
104104 # # Defines rules for specific traps. Takes precedence over global
105105 # # configurations for matched varbinds; unmatched varbinds still
You can’t perform that action at this time.
0 commit comments