projects
/
dell-switch
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
document solution
[dell-switch]
/
snmp-port-status.sh
diff --git
a/snmp-port-status.sh
b/snmp-port-status.sh
index
ec64ff5
..
4ebea74
100755
(executable)
--- a/
snmp-port-status.sh
+++ b/
snmp-port-status.sh
@@
-18,6
+18,8
@@
shift # rest of arguments are IfEntry SEQUENCE
extra=$*
snmpwalk="snmpwalk -Oqs -v2c -Cc -c $COMMUNITY $sw"
+fping $sw 2>>/dev/shm/dead
+
:> $log/$sw
for oid in ifName ifHighSpeed ifOperStatus $extra ifType ifAlias