| 5 | 
           rodolico | 
           1 | 
           ---
  | 
        
        
           | 136 | 
           rodolico | 
           2 | 
           # optional. If set, entries which have not been seen for this period of time
  | 
        
        
            | 
            | 
           3 | 
           # are removed. Modifiers are h, d, w, m, y (hours, days, weeks, months, years)
  | 
        
        
            | 
            | 
           4 | 
           ttl: '1d'
  | 
        
        
            | 
            | 
           5 | 
           # instead of doing all of the snmp walks, if refresh is set, it will only check the
  | 
        
        
            | 
            | 
           6 | 
           # switch ports to see if they have changed MAC addresses. Once every 'refresh' time
  | 
        
        
            | 
            | 
           7 | 
           # a full rescan of port names, switch names, and rdns look ups will occur
  | 
        
        
            | 
            | 
           8 | 
           # using this cuts the time to run by about 1/3
  | 
        
        
            | 
            | 
           9 | 
           refresh: '12h'
  | 
        
        
           | 69 | 
           rodolico | 
           10 | 
           # You must include at least one router.
  | 
        
        
            | 
            | 
           11 | 
           # this will be queried to resolve IP's to MAC 
  | 
        
        
            | 
            | 
           12 | 
           # using its arp table
  | 
        
        
            | 
            | 
           13 | 
           # put IP and community name into the hash
  | 
        
        
           | 5 | 
           rodolico | 
           14 | 
           routers:
  | 
        
        
           | 69 | 
           rodolico | 
           15 | 
             'DNS or IP':
  | 
        
        
            | 
            | 
           16 | 
               community: 'snmp community name'
  | 
        
        
            | 
            | 
           17 | 
           # one or more switches and their corresponding
  | 
        
        
            | 
            | 
           18 | 
           # community name. Use v1 snmp only
  | 
        
        
           | 5 | 
           rodolico | 
           19 | 
           switches:
  | 
        
        
           | 69 | 
           rodolico | 
           20 | 
             'DNS or IP':
  | 
        
        
            | 
            | 
           21 | 
               community: 'snmp community name'
  | 
        
        
            | 
            | 
           22 | 
           # the following list can be used to ignore ports on this switch. Note that these are the port numbers
  | 
        
        
            | 
            | 
           23 | 
           # returned by OID iso.3.6.1.2.1.2.2.1.8
  | 
        
        
           | 5 | 
           rodolico | 
           24 | 
               portsToIgnore:
  | 
        
        
           | 69 | 
           rodolico | 
           25 | 
                 - port
  | 
        
        
            | 
            | 
           26 | 
                 - numbers
  | 
        
        
            | 
            | 
           27 | 
                 - to
  | 
        
        
            | 
            | 
           28 | 
                 - ignore
  | 
        
        
            | 
            | 
           29 | 
           # this is entire optional, but if it exists, it will be used to supplement or override MAC to IP to DNS lookup.
  | 
        
        
            | 
            | 
           30 | 
           # Each entry is optional
  | 
        
        
            | 
            | 
           31 | 
           # MAC is the hexidecimal mac address, with no delimiters and all lower case. Example is: 
  | 
        
        
            | 
            | 
           32 | 
           #    402cf4e9ae9b      CORRECT
  | 
        
        
           | 136 | 
           rodolico | 
           33 | 
           #    40:2c:f4:e9:ae:9b CORRECT, colons will be removed
  | 
        
        
            | 
            | 
           34 | 
           #    402CF4E9AE9B      CORRECT, alphas will be lc'd
  | 
        
        
            | 
            | 
           35 | 
           #    402-cf4-e9a-e9b   CORRECT, dashes will be removed
  | 
        
        
           | 69 | 
           rodolico | 
           36 | 
           # ip:       if this is entered, will be used as IP for the mac address, otherwise it is looked up in the routers arp table.
  | 
        
        
            | 
            | 
           37 | 
           #           default is to get IP from router's arp table
  | 
        
        
            | 
            | 
           38 | 
           # hostname: If this is entered, will be used for hostname, otherwise done via reverse DNS entry from router. Default is
  | 
        
        
            | 
            | 
           39 | 
           #           to look up via rdns
  | 
        
        
            | 
            | 
           40 | 
           # override: If false, ip/hostname only be used if no value returned from arp/rdns. If true, ip/hostname are not even
  | 
        
        
            | 
            | 
           41 | 
           #           attempted, ie this will override anything in those services. Default is false, only use if you can not find
  | 
        
        
            | 
            | 
           42 | 
           #           it.
  | 
        
        
            | 
            | 
           43 | 
           staticmaps:
  | 
        
        
            | 
            | 
           44 | 
             MAC1:
  | 
        
        
            | 
            | 
           45 | 
               hostname: some.host.name
  | 
        
        
            | 
            | 
           46 | 
               ip: 1.1.1.1
  | 
        
        
            | 
            | 
           47 | 
               override: 0
  | 
        
        
            | 
            | 
           48 | 
             MAC2:
  | 
        
        
            | 
            | 
           49 | 
               hostname: 'some other host name'
  | 
        
        
            | 
            | 
           50 | 
               ip: 1.1.1.2
  | 
        
        
            | 
            | 
           51 | 
               override: 1
  | 
        
        
           | 128 | 
           rodolico | 
           52 | 
              | 
        
        
            | 
            | 
           53 | 
           # Optional files to be processed for items which were not in the router
  | 
        
        
            | 
            | 
           54 | 
           # these are assumed to be tab delimited files which contain the column
  | 
        
        
            | 
            | 
           55 | 
           # headers hostname, mac and ip, with values below
  | 
        
        
            | 
            | 
           56 | 
           # this can be done via staticmaps (above), but is set up as an alternative
  | 
        
        
            | 
            | 
           57 | 
           # here for very large files, say from database dumps
  | 
        
        
            | 
            | 
           58 | 
           nonrouter:
  | 
        
        
            | 
            | 
           59 | 
             - filename
  | 
        
        
            | 
            | 
           60 | 
             - filename
  |