Build precise queries to find exactly what you need
Press ESC to close
Nagios World Conference 2026: Sept. 14-17 in St. Paul, MN | Learn More
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.