Changeset 18331


Ignore:
Timestamp:
01/27/12 14:39:41 (17 months ago)
Author:
BrainSlayer
Message:

export interface name to snmp list

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/router/others/wl_snmpd_ath.sh

    r12016 r18331  
    1818      getnext_13614120212553541332126="$place.3.54.1.3.32.1.26.1" 
    1919      getnext_13614120212553541332127="$place.3.54.1.3.32.1.27.1" 
     20      getnext_13614120212553541332128="$place.3.54.1.3.32.1.28.1" 
    2021    else 
    2122      eval getnext_1361412021255354133211${lastid}="$place.3.54.1.3.32.1.1.$id" 
     
    2425      eval getnext_13614120212553541332126${lastid}="$place.3.54.1.3.32.1.26.$id" 
    2526      eval getnext_13614120212553541332127${lastid}="$place.3.54.1.3.32.1.27.$id" 
     27      eval getnext_13614120212553541332128${lastid}="$place.3.54.1.3.32.1.28.$id" 
    2628    fi 
    2729   
     
    2931    noise_reference=$(wl_atheros noise $mac | cut -d" " -f3) 
    3032    uptime=$(wl_atheros uptime $mac | cut -d" " -f3) 
     33    ifname=$(wl_atheros ifname $mac | cut -d" " -f3) 
    3134    if test $rssi -eq 0 
    3235    then 
     
    4750    eval value_13614120212553541332127${id}=$uptime; 
    4851    eval type_13614120212553541332127${id}='integer'; 
     52    eval value_13614120212553541332128${id}=$ifname; 
     53    eval type_13614120212553541332128${id}='octet'; 
    4954 
    5055    lastid=$id 
     
    6065    eval getnext_13614120212553541332126${lastid}="$place.3.54.1.3.32.1.27.1" 
    6166    eval getnext_13614120212553541332127${lastid}="NONE" 
     67    eval getnext_13614120212553541332128${lastid}="NONE" 
    6268  fi 
    6369}  
Note: See TracChangeset for help on using the changeset viewer.