refresh just single switch with param
authorDobrica Pavlinusic <dpavlin@rot13.org>
Wed, 16 Mar 2022 09:07:07 +0000 (10:07 +0100)
committerDobrica Pavlinusic <dpavlin@rot13.org>
Sun, 20 Mar 2022 11:21:08 +0000 (12:21 +0100)
snmp-mac-port

index 8ddf043..5ea2faf 100755 (executable)
@@ -31,6 +31,12 @@ if [ ! -z "$1" ] ; then
 fi
 
 #( ls -d $log.last/* | sed 's/^.*\///' ; ./ips ) | sort -u | while read ip
+
+if [ ! -z "$1" ] ; then
+       snmp_walk $1
+fi
+
+
 ./sw-names | while read ip
 do
        echo "## $ip"