From 4da7129db9c05d890b770d6892fad17ebcb3f5ea Mon Sep 17 00:00:00 2001 From: polyfloyd Date: Wed, 13 Sep 2023 19:33:48 +0200 Subject: [PATCH] Get SNMP credentials from env --- access_points/aruba_instant.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/access_points/aruba_instant.php b/access_points/aruba_instant.php index ae6bad4..12f4d22 100755 --- a/access_points/aruba_instant.php +++ b/access_points/aruba_instant.php @@ -19,8 +19,8 @@ try { // "802.11g/n (IAP)", // "802.11a/n (IAP)", //]; -$ip = "IP"; -$snmp = "SNMP"; // Keep this secret :) +$ip = getenv("ARUBA_INSTANT_IP"); +$snmp = getenv("ARUBA_INSTANT_PASSWORD"); $ssid = array();