Line 1... |
Line 1... |
1 |
---
|
1 |
---
|
- |
|
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'
|
2 |
# You must include at least one router.
|
10 |
# You must include at least one router.
|
3 |
# this will be queried to resolve IP's to MAC
|
11 |
# this will be queried to resolve IP's to MAC
|
4 |
# using its arp table
|
12 |
# using its arp table
|
5 |
# put IP and community name into the hash
|
13 |
# put IP and community name into the hash
|
6 |
routers:
|
14 |
routers:
|
Line 20... |
Line 28... |
20 |
- ignore
|
28 |
- ignore
|
21 |
# this is entire optional, but if it exists, it will be used to supplement or override MAC to IP to DNS lookup.
|
29 |
# this is entire optional, but if it exists, it will be used to supplement or override MAC to IP to DNS lookup.
|
22 |
# Each entry is optional
|
30 |
# Each entry is optional
|
23 |
# MAC is the hexidecimal mac address, with no delimiters and all lower case. Example is:
|
31 |
# MAC is the hexidecimal mac address, with no delimiters and all lower case. Example is:
|
24 |
# 402cf4e9ae9b CORRECT
|
32 |
# 402cf4e9ae9b CORRECT
|
25 |
# 40:2c:f4:e9:ae:9b WRONG, has delimiters (the colons)
|
33 |
# 40:2c:f4:e9:ae:9b CORRECT, colons will be removed
|
26 |
# 402CF4E9AE9B WRONG, alphas are upper case
|
34 |
# 402CF4E9AE9B CORRECT, alphas will be lc'd
|
- |
|
35 |
# 402-cf4-e9a-e9b CORRECT, dashes will be removed
|
27 |
# ip: if this is entered, will be used as IP for the mac address, otherwise it is looked up in the routers arp table.
|
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.
|
28 |
# default is to get IP from router's arp table
|
37 |
# default is to get IP from router's arp table
|
29 |
# hostname: If this is entered, will be used for hostname, otherwise done via reverse DNS entry from router. Default is
|
38 |
# hostname: If this is entered, will be used for hostname, otherwise done via reverse DNS entry from router. Default is
|
30 |
# to look up via rdns
|
39 |
# to look up via rdns
|
31 |
# override: If false, ip/hostname only be used if no value returned from arp/rdns. If true, ip/hostname are not even
|
40 |
# override: If false, ip/hostname only be used if no value returned from arp/rdns. If true, ip/hostname are not even
|