git clone https://github.com/aliaydemir80/lldpq.git
cd lldpq
install nginx, copy files, edit 4 files, then run
sudo apt install nginx
sudo systemctl enable --now nginx
sudo cp -r etc/* /etc
sudo cp -r html/* /var/www/html/
sudo cp bin/* /usr/local/bin/
cp -r cable-check ~/cable-check
sudo nano /etc/ip_list
edit the end of the nccm.yml
sudo nano /etc/nccm.yml
nano ~/cable-check/devices.sh
nano ~/cable-check/topology.dot
sudo systemctl restart nginx
echo "0 * * * * $(whoami) /usr/local/bin/lldpq" | sudo tee -a /etc/crontab
echo "*/15 * * * * $(whoami) /usr/local/bin/monitor" | sudo tee -a /etc/crontab
echo "0 */12 * * * $(whoami) /usr/local/bin/get-conf" | sudo tee -a /etc/crontab
Before running lldpq
or zzh
, ssh-copy-id
must be done on all devices.
And run sudo
without password.
lldpq
get-conf
monitor
zzh
pping