X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=sw-snmpbulkwalk.sh;h=4d1284ca70c562bca3c43086a584f2c2075a486c;hb=cdc08ca0e7eea45a4788a2ec37c61eb07a6bf577;hp=2520233f7d1a62abdc78493e5b842ccbc7d81fac;hpb=8d5c2a0714cfabbc9f12ea846ed0680a44ec9183;p=dell-switch diff --git a/sw-snmpbulkwalk.sh b/sw-snmpbulkwalk.sh index 2520233..4d1284c 100755 --- a/sw-snmpbulkwalk.sh +++ b/sw-snmpbulkwalk.sh @@ -14,5 +14,5 @@ if [ ! -z "$2" ] ; then fi ( test ! -z "$1" && echo $1 || ./sw-names ) | xargs -i sh -c \ -"snmpbulkwalk -OX -v2c -Cc -c $COMMUNITY {} $2 | tee $dir/$ext{} && cd $dir && git add $dir/$ext{} && git commit -m $2 $dir/$ext{}" #| parallel +"snmpbulkwalk -OX -v2c -Cc -c $COMMUNITY {} $2 | tee $dir/$ext{} && test -z "$ext" && cd $dir && git add $dir/$ext{} && git commit -m {} $dir/$ext{}" #| parallel