Home Directory

Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me

Directory Tree

Directory

Pereira

Reviews(1)
byPereira, September 1, 2014
check_dhcp_all_pools.sh
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.