aboutsummaryrefslogtreecommitdiffstats
path: root/switch-snmp/entrypoint.sh
diff options
context:
space:
mode:
authorjwansek <eddie.atten.ea29@gmail.com>2023-12-24 14:46:04 +0000
committerjwansek <eddie.atten.ea29@gmail.com>2023-12-24 14:46:04 +0000
commita1e03826c0a904b93d60bd8d44f14cc6ba087314 (patch)
tree4a01fb95a428b0d88cb79a4c5ad82b1334b3f714 /switch-snmp/entrypoint.sh
parentf9da9ab448f59580180a46d2a9efc099ff09beb3 (diff)
downloadpower.eda.gay-a1e03826c0a904b93d60bd8d44f14cc6ba087314.tar.gz
power.eda.gay-a1e03826c0a904b93d60bd8d44f14cc6ba087314.zip
Added SNMP client for monitoring omada switches
Diffstat (limited to 'switch-snmp/entrypoint.sh')
-rw-r--r--switch-snmp/entrypoint.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/switch-snmp/entrypoint.sh b/switch-snmp/entrypoint.sh
new file mode 100644
index 0000000..610bf84
--- /dev/null
+++ b/switch-snmp/entrypoint.sh
@@ -0,0 +1,4 @@
+# https://stackoverflow.com/questions/27771781/how-can-i-access-docker-set-environment-variables-from-a-cron-job/35088810#35088810
+printenv | grep -v "no_proxy" >> /etc/environment
+
+cron -f \ No newline at end of file