Subversion Repositories sysadmin_scripts

Rev

Rev 128 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 128 Rev 136
Line 62... Line 62...
62
            'ip' => '1.1.1.2',
62
            'ip' => '1.1.1.2',
63
            'hostname' => 'some other host name',
63
            'hostname' => 'some other host name',
64
            'override' => 1
64
            'override' => 1
65
         }
65
         }
66
      },
66
      },
-
 
67
      # Optional files to be processed for items which were not in the router
-
 
68
      # these are assumed to be tab delimited files which contain the column
-
 
69
      # headers 'hostname', 'mac' and 'ip', with values below
-
 
70
      # this can be done via staticmaps (above), but is set up as an alternative
-
 
71
      # here for very large files, say from database dumps
67
      
72
      # files are assumed to be in the script directory
68
      'nonrouter' => (
73
      'nonrouter' => (
69
         'filename1',
74
         'filename1',
70
         'filename2'
75
         'filename2'
71
      )
76
      ),
-
 
77
      # instead of doing all of the snmp walks, if refresh is set, it will only check the
-
 
78
      # switch ports to see if they have changed MAC addresses. Once every 'refresh' time
-
 
79
      # a full rescan of port names, switch names, and rdns look ups will occur
-
 
80
      # using this cuts the time to run by about 1/3      
-
 
81
      'refresh' => 'seconds',
-
 
82
      # If set, entries which have not been seen for this period of time
-
 
83
      # are removed. Modifiers are h, d, w, m, y (hours, days, weeks, months, years)
-
 
84
      'ttl' => 'seconds'
72
      
85
      
73
          
86
          
74
      
87
      
75
   );
88
   );
76
 
89