@@ -220,16 +220,16 @@ def writeResult(self):
220
220
result += '# UNIT prosafe_max_mtu bytes\n '
221
221
for status in self .status :
222
222
result += 'prosafe_max_mtu{hostname="' + self .hostname + '", port="' + status [0 ]+ '"} ' + str (status [3 ]) + '\n '
223
- result += '\n # HELP prosafe_prosafe_receive_bytes_total Received bytes at port\n '
224
- result += '# TYPE prosafe_prosafe_receive_bytes_total counter\n '
225
- result += '# UNIT prosafe_prosafe_receive_bytes_total bytes\n '
223
+ result += '\n # HELP prosafe_receive_bytes_total Received bytes at port\n '
224
+ result += '# TYPE prosafe_receive_bytes_total counter\n '
225
+ result += '# UNIT prosafe_receive_bytes_total bytes\n '
226
226
for port , statistic in enumerate (self .statistics , start = 1 ):
227
- result += 'prosafe_prosafe_receive_bytes_total {hostname="' + self .hostname + '", port="' + str (port )+ '"} ' + str (statistic [0 ]) + '\n '
228
- result += '\n # HELP prosafe_prosafe_transmit_bytes_total Transmitted bytes at port\n '
229
- result += '# TYPE prosafe_prosafe_transmit_bytes_total counter\n '
230
- result += '# UNIT prosafe_prosafe_transmit_bytes_total bytes\n '
227
+ result += 'prosafe_receive_bytes_total {hostname="' + self .hostname + '", port="' + str (port )+ '"} ' + str (statistic [0 ]) + '\n '
228
+ result += '\n # HELP prosafe_transmit_bytes_total Transmitted bytes at port\n '
229
+ result += '# TYPE prosafe_transmit_bytes_total counter\n '
230
+ result += '# UNIT prosafe_transmit_bytes_total bytes\n '
231
231
for port , statistic in enumerate (self .statistics , start = 1 ):
232
- result += 'prosafe_prosafe_transmit_bytes_total {hostname="' + self .hostname + '", port="' + str (port )+ '"} ' + str (statistic [1 ]) + '\n '
232
+ result += 'prosafe_transmit_bytes_total {hostname="' + self .hostname + '", port="' + str (port )+ '"} ' + str (statistic [1 ]) + '\n '
233
233
result += '\n # HELP prosafe_error_packets_total Error bytes at port\n '
234
234
result += '# TYPE prosafe_error_packets_total counter\n '
235
235
result += '# UNIT prosafe_error_packets_total bytes\n '
0 commit comments