diff options
author | jwansek <eddie.atten.ea29@gmail.com> | 2025-05-18 22:41:07 +0100 |
---|---|---|
committer | jwansek <eddie.atten.ea29@gmail.com> | 2025-05-18 22:41:07 +0100 |
commit | eaff8b05c20b19c59e32e2646ca17d7bc75250aa (patch) | |
tree | 8ee8f65107674f641f6225d16a35ef4843d98ae0 /switch-snmp/switches.py | |
parent | 069e1484918fefdf409da09e88550251e919db4f (diff) | |
download | power.eda.gay-eaff8b05c20b19c59e32e2646ca17d7bc75250aa.tar.gz power.eda.gay-eaff8b05c20b19c59e32e2646ca17d7bc75250aa.zip |
Added fetching mikrotik POE usage to InfluxDB too
Diffstat (limited to 'switch-snmp/switches.py')
-rw-r--r-- | switch-snmp/switches.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/switch-snmp/switches.py b/switch-snmp/switches.py new file mode 100644 index 0000000..52be19a --- /dev/null +++ b/switch-snmp/switches.py @@ -0,0 +1,7 @@ +import snmpOmada +import mikrotik + +if __name__ == "__main__": + points = snmpOmada.get_points() + mikrotik.get_points() + print(points) + mikrotik.append(points)
\ No newline at end of file |