There was an error while loading. Please reload this page.
2 parents 404ce57 + 39bb5df commit 5b44024Copy full SHA for 5b44024
mamonsu/plugins/system/linux/net.py
@@ -26,7 +26,7 @@ def run(self, zbx):
26
if item[0] == idx:
27
key = '{0}[{1}]'.format(item[1], iface)
28
zbx.send(key, float(value), self.DELTA_SPEED)
29
- devices.append(iface)
+ devices.append({'{#NETDEVICE}': iface})
30
zbx.send('system.net.discovery[]', zbx.json({'data': devices}))
31
32
def discovery_rules(self, template):
0 commit comments