Skip to content

aliaydemir80/lldpq

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🚀️ LLDPq

[00] git clone

git clone https://github.com/aliaydemir80/lldpq.git

cd lldpq

install nginx, copy files, edit 4 files, then run

[01] install and runn "nginx"

sudo apt install nginx

sudo systemctl enable --now nginx

[02] copy files (cd lldpq/)

sudo cp -r etc/* /etc

sudo cp -r html/* /var/www/html/

sudo cp bin/* /usr/local/bin/

cp -r cable-check ~/cable-check 

[03] edit necesary files

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

[04] restart nginx service

sudo systemctl restart nginx

[05] add cron job

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

run the LLDPq 🚀️

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published