Build precise queries to find exactly what you need
Press ESC to close
@Pereira
Favorites0
Views
Projects0
Only two correction for this, using v1: in line: TEMP=($( snmpwalk -c $COMMUNITY $IP .1.3.6.1.4.1.311.1.3.2.1.1.1 | cut -d " " -f4 )) To: TEMP=($( snmpwalk $IP -v1 -c $COMMUNITY .1.3.6.1.4.1.311.1.3.2.1.1.1 | cut -d " " -f4 )) And in line:76 an 79 From: SNMP_RESULT=`snmpget -v 2c -c $COMMUNITY $IP $USEDOID` To:SNMP_RESULT=`snmpget -v1 -c $COMMUNITY $IP $USEDOID` Thanks.
Reviewed 11 years ago