Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ===== Create a /opt/netdb/data/devicelist.csv file
- This file contains all of your switches and routers, and scraper options on
- each device. It is in csv format, so you can easily build your own parser from
- another list of devices you already have. We use big brother here and store all
- the netdb options in that file, which is parsed in to this file.
- Note: All of your devices must be listed by host name (no IPs here) and be in
- DNS. NetDB uses the hostname as the switchname for all reports, and not the
- local name on the device. You can add a search domain to your /etc/resolv.conf
- file if you don't want to use FQDNs here. If you have a small network, you
- could add local host entries to /etc/hosts for all of your devices.
- In short, IPs will not work here, you must have your switches defined with some
- sort of hostname locally via /etc/hosts or via your DNS servers.
- Device file format (each device on a line):
- hostname[,arp,vrf-VRFNAME,nomac,forcessh,ipv6]
- Note:
- - SSH is enabled and telnet is disabled by default in the netdb.conf config
- file. You can override those settings on a per device basis with forcetelnet
- and forcessh.
- - By default, NetDB will try to pull the mac table from all devices in the file
- - If ,arp is appended, then NetDB will pull the arp table on a router
- - If ,vrf-VRFNAME is appended with arp, NetDB will pull the arp table
- from the vrf named VRFNAME
- - If ipv6 is appended, NetDB will pull the IPv6 Neighbor Table
- - If ,nomac is appended, NetDB will not try to pull the mac or int status
- data from the device (usefule for non-switching routers)
- - If you do not want to use FQDNs here, make sure the domain name for your devices
- is in your DNS search domain or use the local /etc/hosts file.
- - If your device is not a cisco device, you need to append devtype=XXX or change the
- default devtype setting in netdb.conf (see README for more info)
- Sample devicelist.csv:
- L2switch.yourdomain.com
- L3Switch.yourdomain.com,arp,forcessh
- L3SwitchWithVrfs.yourdomain.com,arp,vrf-perim,vrf-guest
- :
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement