Help for this page

Select Code to Download


  1. or download this
    while (<SNMP>) {
        next if /^#|^\s*$/;
    ...
    
  2. or download this
    while (<DATA>) {
        print "$1\n" if /^snmpmanager\s+(\d+\.\d+\.\d+\.\d+)\s+;\s+communi
    +tyname/;
    }
    ...
    #example:
    snmpmanager 10.52.37.99 ; communityname public