Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

[b44b3b]: walk_all Maximize Restore History

Download this file

walk_all    16 lines (13 with data), 398 Bytes

#!/bin/sh
# walk_all
#   takes same syntax as snmpwalkmib, but finds all the mibs for you.

if [ "$1" = "" ]; then
    echo "walk_all - run snmpwalkmib on all mibs."
    echo "           Pass same arguments as snmpwalkmib, except don't specify the mib."
    echo ""
    ./snmpwalkmib -h
    exit
fi

for f in `cat mib_index.txt | cut -f 1 -d ' ' | grep -v .index` ; do
    ./snmpwalkmib $* $f
done