update
This commit is contained in:
1 parent
0690285147
commit
5618cd2738
154 files changed
+5021
-3161
No files matched your search
@@ -260,7 +260,7 @@ func snmpMetricLabel(name, index string) string {
|
||||
"h3c_fan_speed": "H3C 风扇", "hw_fan_speed": "华为 风扇",
|
||||
"ruijie_fan_speed": "锐捷 风扇", "dell_fan_speed": "Dell 风扇", "inspur_fan_speed": "浪潮 风扇",
|
||||
"ent_sensor_value": "实体传感器",
|
||||
"if_in_octets": "入方向流量", "if_out_octets": "出方向流量",
|
||||
"if_in_octets": "入方向流量", "if_out_octets": "出方向流量",
|
||||
}
|
||||
label := labels[name]
|
||||
if label == "" {
|
||||
@@ -270,4 +270,4 @@ func snmpMetricLabel(name, index string) string {
|
||||
label += " #" + index
|
||||
}
|
||||
return label
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user