Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
Directory
Pereira
byPereira, September 1, 2014
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.
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.