Install & Setup Netdot
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install ntp
Set hostname in /etc/hostname
Setup network in /etc/network/interfaces
auto eth0
iface eth0 inet static
address 192.168.1.2
netmask 255.255.255.0
gateway 192.168.1.1
network 192.168.1.0
broadcast 192.168.1.255
Setup DNS in /etc/resolv.conf
nameserver 192.168.1.1
nameserver 192.168.1.2
nameserver 192.168.1.3
domain example.com
sudo service networking restart
Set NTP server in /etc/ntp.conf
server 192.168.1.1
sudo service ntp restart
Set localtime
sudo dpkg-reconfigure tzdata
Set root alias in /etc/apache2/sites-available/netdot
Alias / "/usr/local/netdot/htdocs/"
PerlSetVar NetdotPath "/"
PerlSetVar NetdotLoginScript /login.html
<Location /NetdotLogin>
sudo service apache2 restart
Setup CRON jobs
sudo cp /usr/local/src/netdot/netdot.cron /etc/cron.d/netdot
sudo vi /usr/local/netdot/etc/Site.conf
NETDOTNAME
FETCH_DEVICE_INFO_VIA_CLI -> ERROR - Device::CLI::_get_arp_from_cli:
DEVICE_CLI_CREDENTIALS
NMS_DEVICE
DEFAULT_DNSDOMAIN
sudo service apache2 restart
sudo ln -s /usr/local/netdot/bin/updatedevices.pl /usr/bin
sudo updatedevices.pl -H <device-name> -I -c <community>
sudo updatedevices.pl -B 192.168.1.0/24 -I -c <community>
sudo updatedevices.pl -E <text-file> -I
device1 community1
device2 community1
...
sudo updatedevices.pl -DIFAT
See Manual https://osl.uoregon.edu/redmine/projects/netdot/files