Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
#!/bin/bash
filename='ip.txt'
while read line; do
ip=`echo $line`
model=`snmpget -v 2c -c avaya "$ip" 1.3.6.1.4.1.6889.2.69.1.1.2.0|sed 's/SNMPv2-SMI::enterprises.6889.2.69.1.1.2.0 = STRING: //g'| sed 's/://g'`
comcode=`snmpget -v 2c -c avaya "$ip" 1.3.6.1.4.1.6889.2.69.1.1.7.0|sed 's/SNMPv2-SMI::enterprises.6889.2.69.1.1.7.0 = STRING: //g'| sed 's/://g'`
serial=`snmpget -v 2c -c avaya "$ip" 1.3.6.1.4.1.6889.2.69.1.1.8.0|sed 's/SNMPv2-SMI::enterprises.6889.2.69.1.1.8.0 = STRING: //g'| sed 's/://g'
echo $model,$comcode,$serial >> "$old46xx.csv"
done<$filename