Changeset 146


Ignore:
Timestamp:
Jan 10, 2016, 12:00:38 AM (9 years ago)
Author:
g7moreau
Message:
  • Add ifName OID and a small printf bug
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/klask

    r145 r146  
    148148   vlanName        => '1.3.6.1.2.1.17.7.1.4.3.1.1',   # string
    149149   hpicfReset      => '1.3.6.1.4.1.11.2.14.11.1.4.1', # HP reboot switch
     150   ifName          => '1.3.6.1.2.1.31.1.1.1.1',       # Interface name (give port number)
    150151   );
    151152
     
    728729      next LOOP_ON_COMPUTER if $where{switch_description} eq 'unknow' or $resol_arp{hostname_fq} eq 'unknow' or $resol_arp{mac_address} eq 'unknow';
    729730
    730       printf '%-22s %2i %-30s %-15s %18s',
     731      printf '%-22s %2s %-30s %-15s %18s',
    731732         $where{switch_hostname},
    732733         $where{switch_port},
Note: See TracChangeset for help on using the changeset viewer.