From a1e03826c0a904b93d60bd8d44f14cc6ba087314 Mon Sep 17 00:00:00 2001 From: jwansek Date: Sun, 24 Dec 2023 14:46:04 +0000 Subject: Added SNMP client for monitoring omada switches --- switch-snmp/entrypoint.sh | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 switch-snmp/entrypoint.sh (limited to 'switch-snmp/entrypoint.sh') 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 -- cgit v1.2.3