Random Project

modify

You can use:
“-Oqv”

and replace
value=`snmpwalk $1 -v1 -c $2 .1.3.6.1.2.1.25.1.5.0 | cut -d “:” -f2 | cut -d ” ” -f2`

with :
value=`snmpwalk $1 -v1 -c $2 -Oqv .1.3.6.1.2.1.25.1.5.0 `